ClassGame Objects & Sprites@public
FlxGraphicsRenderHandle
Camera-local Pixi materialization of stable vector commands.
ts
export declare class FlxGraphicsRenderHandle implements FlxRenderHandleConstructors
ts
constructor(owner: FlxGraphics, onDestroy?: () => void)Constructs a new instance of the FlxGraphicsRenderHandle class
| Parameter | Type | Description |
|---|---|---|
owner | FlxGraphics | - |
onDestroy | () => void | - |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
destroyed | readonly | boolean | - |
graphics | readonly | Graphics | - |
view | readonly | Container<import("pixi.js").ContainerChild> | - |
Methods
destroy()
ts
destroy(): voidReturns: void
sync()
ts
sync(camera?: FlxCamera, interpolationAlpha?: number): voidParameters:
| Parameter | Type | Description |
|---|---|---|
camera | FlxCamera | - |
interpolationAlpha | number | - |
Returns: void