Strata - v1.4.10
    Preparing search index...

    Interface Joystick3DRef

    Ref interface for Joystick3D.

    interface Joystick3DRef {
        addTrauma: (amount: number) => void;
        getAxis: () => InputAxis;
        getWorldPosition: () => Vector3;
        isActive: () => boolean;
        reset: () => void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    addTrauma: (amount: number) => void

    Add a visual/haptic trauma effect to the joystick.

    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.

    reset: () => void

    Reset the control to its neutral state.