Spatial.rotation

Rotation part of the local transformation in radians, specified in terms of YXZ-Euler angles in the format (X angle, Y angle, Z angle). Note: In the mathematical sense, rotation is a matrix and not a vector. The three Euler angles, which are the three independent parameters of the Euler-angle parametrization of the rotation matrix, are stored in a Vector3 data structure not because the rotation is a vector, but only because Vector3 exists as a convenient data-structure to store 3 floating-point numbers. Therefore, applying affine operations on the rotation "vector" is not meaningful.

  1. Vector3 rotation [@property getter]
  2. Vector3 rotation [@property setter]
    struct Spatial
    @nogc nothrow @property
    void
    rotation
    (
    Vector3 v
    )

Meta