Quaternion — Aspose.3D FOSS for .NET

Overview

Quaternion represents a unit quaternion for 3D rotations. It is used by Transform.Rotation to define a node’s local rotation without gimbal lock.

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

Fields

NameTypeDescription
WdoubleScalar component
XdoubleX component
YdoubleY component
ZdoubleZ component

See Also