vrdBillboardNode¶
-
class
vrdBillboardNode¶
(Inherits vrdNode)
This class provides access to a billboard node.
Summary¶
Functions¶
-
vrdBillboardNode.getAlignToScreen()¶ Returns: True, if screen alignment is enabled Return type: bool
-
vrdBillboardNode.getAxisOfRotation()¶ Returns: The axis of rotation Return type: QVector3D
-
vrdBillboardNode.getFocusOnCamera()¶ Returns: True, if focus on camera is enabled Return type: bool
-
vrdBillboardNode.getMaxAngle()¶ Returns: The maximum rotation angle Return type: float
-
vrdBillboardNode.getMinAngle()¶ Returns: The minimum rotation angle Return type: float
-
vrdBillboardNode.setAlignToScreen(value)¶ Enable or disabled screen alignment.
Parameters: value (bool) – True, if screen alignment should be enabled
-
vrdBillboardNode.setAxisOfRotation(value)¶ Changes the axis of rotation.
Parameters: value (QVector3D) – A vector describing the rotation axis
-
vrdBillboardNode.setFocusOnCamera(value)¶ Enable or disabled focus on camera.
Parameters: value (bool) – True, if focus on camera should be enabled
-
vrdBillboardNode.setMaxAngle(value)¶ Restrict rotation to a maximum angle.
Parameters: value (float) – The new maximum angle
-
vrdBillboardNode.setMinAngle(value)¶ Restrict rotation to a minimum angle.
Parameters: value (float) – The new minimum angle