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
| Name | Type | Description |
|---|---|---|
W | double | Scalar component |
X | double | X component |
Y | double | Y component |
Z | double | Z component |