ClassInput & Controls@public
FlxVirtualStickRenderHandle
Pixi projection for a texture-free virtual analog stick.
ts
export declare class FlxVirtualStickRenderHandle implements FlxRenderHandleConstructors
ts
constructor(owner: FlxVirtualStick, onDestroy?: () => void)Constructs a new instance of the FlxVirtualStickRenderHandle class
| Parameter | Type | Description |
|---|---|---|
owner | FlxVirtualStick | - |
onDestroy | () => void | - |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
base | readonly | Graphics | - |
destroyed | readonly | boolean | - |
knob | 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