Class Rotation

Represents a 3D rotation. Use angleAxis, x, y, z, or euler to create Rotations, and combine them using mul. Apply a rotation to a Vector3 using rotate.

Hierarchy

  • Rotation

Properties

IDENTITY: Rotation = ...

Describes no rotation.

Accessors

  • get euler(): {
        x: number;
        y: number;
        z: number;
    }
  • Returns {
        x: number;
        y: number;
        z: number;
    }

    • x: number
    • y: number
    • z: number
  • get isIdentity(): boolean
  • Returns boolean

  • get quaternion(): {
        w: number;
        x: number;
        y: number;
        z: number;
    }
  • Returns {
        w: number;
        x: number;
        y: number;
        z: number;
    }

    • w: number
    • x: number
    • y: number
    • z: number

Methods

  • Parameters

    • x: number
    • y: number
    • z: number

    Returns Rotation

  • Parameters

    • w: number
    • x: number
    • y: number
    • z: number

    Returns Rotation

Generated using TypeDoc