Atlas Engine
API Referenceatlasatlas/units

Direction3d

Named directions along the three coordinate axes.

Module: atlas/units

Named directions along the three coordinate axes.

Declaration

export enum Direction3d {
        /**
         * The positive Y direction.
         */
        Up,
        /**
         * The negative Y direction.
         */
        Down,
        /**
         * The negative X direction.
         */
        Left,
        /**
         * The positive X direction.
         */
        Right,
        /**
         * The positive Z direction.
         */
        Forward,
        /**
         * The negative Z direction.
         */
        Backward,
    }

Values

Up

The positive Y direction.

Up

Down

The negative Y direction.

Down

Left

The negative X direction.

Left

The positive X direction.

Right

Forward

The positive Z direction.

Forward

Backward

The negative Z direction.

Backward

On this page