babylon.quarks - v1.0.0
    Preparing search index...

    Class AxisAngleGenerator

    A rotation about a fixed axis by an angle from a number generator (radians, or radians per second over a particle's life).

    Implements

    Index
    type: "rotation"

    Always 'rotation'.

    • get axis(): Vector3

      The axis. Any length: it is normalised when used, and a zero axis is read as +z. Set it from any Vector3Like, such as a Babylon Vector3; the value is copied.

      Returns Vector3

    • set axis(value: Vector3Like): void

      The axis. Any length: it is normalised when used, and a zero axis is read as +z. Set it from any Vector3Like, such as a Babylon Vector3; the value is copied.

      Parameters

      Returns void

    • Writes into quat the rotation about the axis by the angle at t times delta.

      Parameters

      Returns Quaternion

      quat.