QGraphicsRotation3D ClassThe QGraphicsRotation3D class supports arbitrary rotation around an axis in 3D space. More... #include <QGraphicsRotation3D> Inherits: QQuickQGraphicsTransform3D. QGraphicsRotation3D is instantiated by QML element Rotation3D This class was introduced in Qt 4.8. Properties
Public Functions
Signals
Additional Inherited Members
Detailed DescriptionThe QGraphicsRotation3D class supports arbitrary rotation around an axis in 3D space. See also QGraphicsTranslation3D and QGraphicsScale3D. Property Documentation
|
qreal | angle() const |
void | setAngle(qreal value) |
Notifier signal:
void | angleChanged() |
This property holds the axis to rotate around.
The default value for this property is (0, 0, 1); i.e. the z-axis.
Access functions:
QVector3D | axis() const |
void | setAxis(const QVector3D & value) |
Notifier signal:
void | axisChanged() |
This property holds the origin about which to rotate.
The default value for this property is (0, 0, 0).
Access functions:
QVector3D | origin() const |
void | setOrigin(const QVector3D & value) |
Notifier signal:
void | originChanged() |
Create a 3D rotation transformation and attach it to parent.
Destroy this 3D rotation transformation.