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 基本類型 .