Skip to content
ClassGame Objects & Sprites@public

FlxGraphicsRenderHandle ​

Camera-local Pixi materialization of stable vector commands.

ts
export declare class FlxGraphicsRenderHandle implements FlxRenderHandle

Constructors ​

ts
constructor(owner: FlxGraphics, onDestroy?: () => void)

Constructs a new instance of the FlxGraphicsRenderHandle class

ParameterTypeDescription
ownerFlxGraphics-
onDestroy() => void-

Properties ​

PropertyModifiersTypeDescription
destroyedreadonlyboolean-
graphicsreadonlyGraphics-
viewreadonlyContainer<import("pixi.js").ContainerChild>-

Methods ​

destroy() ​

ts
destroy(): void

Returns: void

sync() ​

ts
sync(camera?: FlxCamera, interpolationAlpha?: number): void

Parameters:

ParameterTypeDescription
cameraFlxCamera-
interpolationAlphanumber-

Returns: void

Released under the MIT License.