Strata - v1.4.10
    Preparing search index...

    Interface InputControlEvents

    Event callbacks for input controls.

    interface InputControlEvents {
        onActivate?: (event: InputEvent) => void;
        onAxisChange?: (axis: InputAxis, worldPosition: Vector3) => void;
        onDeactivate?: (event: InputEvent) => void;
        onPress?: (event: InputEvent) => void;
        onRelease?: (event: InputEvent) => void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    onActivate?: (event: InputEvent) => void

    Fired when the control is first pressed or activated.

    onAxisChange?: (axis: InputAxis, worldPosition: Vector3) => void

    Fired continuously as axis values change.

    onDeactivate?: (event: InputEvent) => void

    Fired when the control is released or deactivated.

    onPress?: (event: InputEvent) => void

    Fired on initial interaction start.

    onRelease?: (event: InputEvent) => void

    Fired when interaction ends.