quaternion QML Basic Type

A quaternion type has scalar, x, y, and z attributes.

A quaternion 类型拥有 scalar , x , y and z 属性。

要创建 quaternion value, specify it as a "scalar,x,y,z" string, or define the components individually, or compose it with the Qt.quaternion() function.

此基本类型的提供是通过 QtQuick 导入。

另请参阅 QML 基本类型 .