Atlas Engine
API Referenceatlasatlas/input

AxisPacket

Axis action sample containing value-based input and motion deltas with flags identifying the available sources.

Module: atlas/input

Axis action sample containing value-based input and motion deltas with flags identifying the available sources.

Declaration

export type AxisPacket = {
        deltaX: number;
        deltaY: number;
        x: number;
        y: number;
        valueX: number;
        valueY: number;
        inputDeltaX: number;
        inputDeltaY: number;
        hasValueInput: boolean;
        hasDeltaInput: boolean;
    };

Properties

deltaX

deltaX: number;

deltaY

deltaY: number;

x

x: number;

y

y: number;

valueX

valueX: number;

valueY

valueY: number;

inputDeltaX

inputDeltaX: number;

inputDeltaY

inputDeltaY: number;

hasValueInput

hasValueInput: boolean;

hasDeltaInput

hasDeltaInput: boolean;

On this page