Skip to content
ClassInput & Controls@public

FlxVirtualStickRenderHandle

Pixi projection for a texture-free virtual analog stick.

ts
export declare class FlxVirtualStickRenderHandle implements FlxRenderHandle

Constructors

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

Constructs a new instance of the FlxVirtualStickRenderHandle class

ParameterTypeDescription
ownerFlxVirtualStick-
onDestroy() => void-

Properties

PropertyModifiersTypeDescription
basereadonlyGraphics-
destroyedreadonlyboolean-
knobreadonlyGraphics-
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.