RotationOrder.kl¶
Types¶
RotationOrder (struct)¶
The Rotationorder
type represents the order in which rotations should be accumulated for a Euler rotation. Rotationorder
can be constructed from order indices or strings.
注釈
Before version 2.4.0, rotation order “XYZ” was actually applying order “ZYX”. This has been fixed, but and to minimize behavior changes, order indices still map to the same behavior (eg: order=4 was ZYX and is now XYZ).
参考
/*
** Example: RotationOrder
*/
RotationOrder ro1(0);
RotationOrder ro2('xyz');
Members¶
Integer | order |
Methods¶
RotationOrder ( in Integer order ) | |
RotationOrder ( in RotationOrder other ) | |
RotationOrder ( in String order ) | |
RotationOrder () | |
RotationOrder | clone ? () |
UInt32 | hash ? () |
Boolean | isReversed ? () |
Boolean | isXYZ ? () |
Boolean | isXZY ? () |
Boolean | isYXZ ? () |
Boolean | isYZX ? () |
Boolean | isZXY ? () |
Boolean | isZYX ? () |
setXYZ ! () | |
setXZY ! () | |
setYXZ ! () | |
setYZX ! () | |
setZXY ! () | |
setZYX ! () |