vrdEnvironmentTransformation¶
-
class
vrdEnvironmentTransformation¶
(Inherits vrdSceneObject)
This class is used for all environment transformation properties.
Summary¶
Functions¶
-
vrdEnvironmentTransformation.getCenter()¶ Returns: Current center of virtual sphere Return type: QVector3D
-
vrdEnvironmentTransformation.getEnvironmentSize()¶ Gets environment size.
Returns: Current value of environment size Return type: float
-
vrdEnvironmentTransformation.getManipulate()¶ Returns whether the texture projection manipulator is active or not.
Returns: True if the manipulator is active, False otherwise Return type: bool
-
vrdEnvironmentTransformation.getRotate()¶ Returns: Rotation angles Return type: QVector3D
-
vrdEnvironmentTransformation.getScale()¶ Returns: Scale factors Return type: QVector3D
-
vrdEnvironmentTransformation.setCenter(value)¶ Sets center of the virtual sphere used as reference for environment illumination calculations.
Parameters: value (QVector3D) – New center
-
vrdEnvironmentTransformation.setCenterFromObject()¶ Sets the center of the virtual sphere to the center of the selected object from scene graph.
-
vrdEnvironmentTransformation.setEnvironmentSize(value)¶ Sets the size of the virtual sphere used as reference for environment illumination calculations.
Parameters: value (float) – New value of environment size
-
vrdEnvironmentTransformation.setManipulate(s)¶ Set to True to enable the texture projection manipulator.
Parameters: s (bool) – True enables the texture projection manipulator, False disables it
-
vrdEnvironmentTransformation.setRotate(value)¶ Sets rotation of the virtual sphere.
Parameters: value (QVector3D) – Rotation angles
-
vrdEnvironmentTransformation.setScale(value)¶ Sets scale factors of the virtual sphere.
Parameters: value (QVector3D) – Scale factors