Quaternion — Aspose.3D FOSS for .NET

Example

Quaternion 表示用于 3D 旋转的单位四元数。它被 Transform.Rotation 用于在不产生万向锁的情况下定义节点的局部旋转。.

var identity = new Quaternion(0, 0, 0, 1);
node.Transform.Rotation = identity;

Example

ExampleExampleExample
Wdouble标量分量
XdoubleX 分量
YdoubleY 分量
ZdoubleZ 分量

另见

 中文