QGraphicsBillboardTransform ClassThe QGraphicsBillboardTransform class implements a transformation that causes objects to face the camera. More... #include <QGraphicsBillboardTransform> Inherits: QQuickQGraphicsTransform3D. QGraphicsBillboardTransform is instantiated by QML element BillboardTransform This class was introduced in Qt 4.8. Properties
Public Functions
Signals
Additional Inherited Members
Detailed DescriptionThe QGraphicsBillboardTransform class implements a transformation that causes objects to face the camera. Sometimes it can be useful to make an object face towards the camera no matter what orientation the scene is in. The common name for this technique is "billboarding". When applied as a transformation, this class will replace the top-left 3x3 part of the transformation matrix with the identity. This has the effect of removing the rotation and scale components from the current world co-ordinate orientation. Property Documentation
|
bool | preserveUpVector() const |
void | setPreserveUpVector(bool value) |
Notifier signal:
void | preserveUpVectorChanged() |
Construct a billboard transform and attach it to parent.
Destroy this billboard transform.