Since 1.2Optionalproperties: Partial<{}>Since 1.2equalChecks if two Graphene.Euler are equal.
true if the two Graphene.Euler are equal
Since 1.2freeSince 1.10get_Since 1.10get_Since 1.10get_Since 1.2get_Retrieves the order used to apply the rotations described in the Graphene.Euler structure, when converting to and from other structures, like Graphene.Quaternion and Graphene.Matrix.
This function does not return the Graphene.EulerOrder.DEFAULT enumeration value; it will return the effective order of rotation instead.
the order used to apply the rotations
Since 1.2get_Since 1.2get_Since 1.2get_Since 1.2initInitializes a Graphene.Euler using the given angles.
The order of the rotations is Graphene.EulerOrder.DEFAULT.
rotation angle on the X axis, in degrees
rotation angle on the Y axis, in degrees
rotation angle on the Z axis, in degrees
the initialized Graphene.Euler
Since 1.2init_Initializes a Graphene.Euler using the angles and order of another Graphene.Euler.
If the Graphene.Euler src is null, this function is equivalent
to calling graphene_euler_init() with all angles set to 0.
the initialized Graphene.Euler
Since 1.2init_Initializes a Graphene.Euler using the given rotation matrix.
If the Graphene.Matrix m is null, the Graphene.Euler will
be initialized with all angles set to 0.
a rotation matrix
the order used to apply the rotations
the initialized Graphene.Euler
Since 1.2init_Initializes a Graphene.Euler using the given normalized quaternion.
If the Graphene.Quaternion q is null, the Graphene.Euler will
be initialized with all angles set to 0.
a normalized Graphene.Quaternion
the order used to apply the rotations
the initialized Graphene.Euler
Since 1.10init_Initializes a Graphene.Euler using the given angles and order of rotation.
rotation angle on the X axis, in radians
rotation angle on the Y axis, in radians
rotation angle on the Z axis, in radians
order of rotations
the initialized Graphene.Euler
Since 1.2init_Initializes a Graphene.Euler using the angles contained in a Graphene.Vec3.
If the Graphene.Vec3 v is null, the Graphene.Euler will be
initialized with all angles set to 0.
a Graphene.Vec3 containing the rotation angles in degrees
the order used to apply the rotations
the initialized Graphene.Euler
Since 1.2init_Initializes a Graphene.Euler with the given angles and order.
rotation angle on the X axis, in degrees
rotation angle on the Y axis, in degrees
rotation angle on the Z axis, in degrees
the order used to apply the rotations
the initialized Graphene.Euler
Since 1.2reorderReorders a Graphene.Euler using order.
This function is equivalent to creating a Graphene.Quaternion from the given Graphene.Euler, and then converting the quaternion into another Graphene.Euler.
the new order
Since 1.2to_Converts a Graphene.Euler into a transformation matrix expressing the extrinsic composition of rotations described by the Euler angles.
The rotations are applied over the reference frame axes in the order
associated with the Graphene.Euler; for instance, if the order
used to initialize e is Graphene.EulerOrder.XYZ:
The rotation sign convention is right-handed, to preserve compatibility between Euler-based, quaternion-based, and angle-axis-based rotations.
Since 1.10to_Since 1.2to_Retrieves the angles of a Graphene.Euler and initializes a Graphene.Vec3 with them.
Staticalloc
Describe a rotation using Euler angles.
The contents of the Graphene.Euler structure are private and should never be accessed directly.
Since
1.2