Quaternion — Aspose.3D FOSS for .NET

Properties

Quaternion đại diện cho một quaternion đơn vị cho các phép quay 3D. Nó được sử dụng bởi Transform.Rotation để định nghĩa góc quay cục bộ của một nút mà không gặp gimbal lock.

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

Properties

PropertiesPropertiesProperties
WdoubleThành phần vô hướng
XdoubleThành phần X
YdoubleThành phần Y
ZdoubleThành phần Z

Xem thêm

 Tiếng Việt