![]() |
Home · All Classes · All Functions · Overviews |
A vector3d is specified as "x,y,z".
Rotation { angle: 60; axis: "0,1,0" }
or with the Qt.vector3d() helper function:
Rotation { angle: 60; axis: Qt.vector3d(0, 1, 0) }
or as separate x, y, and z components:
Rotation { angle: 60; axis.x: 0; axis.y: 1; axis.z: 0 }
See also QML Basic Types.
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.7.0 |