Defines the 3D direction vector. Direction must not be a zero vector.

interface IDirection {
    x: number;
    y: number;
    z: number;
}

Properties

x y z

Properties

x: number

X direction.

y: number

Y direction.

z: number

Z direction.