Strata - v1.4.10
    Preparing search index...

    Interface WallButtonRef

    Ref interface for WallButton.

    interface WallButtonRef {
        getAxis: () => InputAxis;
        getWorldPosition: () => Vector3;
        isActive: () => boolean;
        press: () => void;
        reset: () => void;
        setActive: (active: boolean) => void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    getAxis: () => InputAxis

    Get current axis values (usually -1 to 1).

    getWorldPosition: () => Vector3

    Get the world position of the control.

    isActive: () => boolean

    Whether the control is currently being interacted with.

    press: () => void

    Programmatically trigger a press event.

    reset: () => void

    Reset the control to its neutral state.

    setActive: (active: boolean) => void

    Manually set the active state.