vrdBrushOrientation¶
-
class
vrdBrushOrientation
¶
(Inherits vrdSceneObject
)
This class is used for all brush orientation properties of vrdBrushedMetalMaterial.
Summary¶
- Functions:
- getBrushAxis() → vrdBrushOrientation.BrushAxis
- getCenter() → QVector3D
- getOrientation() → QVector3D
- getStructureScaleU() → float
- getStructureScaleV() → float
- getTriplanarRotate() → QVector3D
- setBrushAxis(m)
- setCenter(v)
- setCenterFromObject()
- setOrientation(v)
- setStructureScaleU(v)
- setStructureScaleV(v)
- setTriplanarRotate(v)
Functions¶
-
vrdBrushOrientation.
getBrushAxis
()¶ Query brush orientation.
Returns: Current brush orientation Return type: vrdBrushOrientation.BrushAxis
-
vrdBrushOrientation.
getCenter
()¶ Gets the projection planes center of the radial brushes.
Returns: Current projection planes center of the radial brushes Return type: QVector3D
-
vrdBrushOrientation.
getOrientation
()¶ Gets the projection planes orientation.
Returns: Current projection planes orientation Return type: QVector3D
-
vrdBrushOrientation.
getStructureScaleU
()¶ Gets the brush size on the U-axis.
Returns: Current brush size on the U-axis Return type: float
-
vrdBrushOrientation.
getStructureScaleV
()¶ Gets the brush size on the V-axis.
Returns: Current brush size on the V-axis Return type: float
-
vrdBrushOrientation.
getTriplanarRotate
()¶ Gets the projection planes rotation on the X/Y/Z-axis.
Returns: Current projection planes rotation on the X/Y/Z-axis Return type: QVector3D
-
vrdBrushOrientation.
setBrushAxis
(m)¶ Allows you to choose between a range of possible brush orientations, for example, metal brushed in one direction or metal with radial brushes. For example, Brush Mapping Radial XY simulates radial brushes within the xy-plane. The projection planes are defined relative to the object coordinate system of the object the material is assigned to.
Parameters: m (vrdBrushOrientation.BrushAxis) – New brush orientation
-
vrdBrushOrientation.
setCenter
(v)¶ Sets the projection planes center of the radial brushes.
Parameters: v (QVector3D) – New projection planes center of the radial brushes
-
vrdBrushOrientation.
setCenterFromObject
()¶ Sets the radial projection plane center to the center of the selected object from scene graph.
-
vrdBrushOrientation.
setOrientation
(v)¶ Sets the projection planes orientation.
Parameters: v (QVector3D) – New projection planes orientation
-
vrdBrushOrientation.
setStructureScaleU
(v)¶ Defines the brush size on the U-axis.
Parameters: v (float) – New brushs size on the U-axis
-
vrdBrushOrientation.
setStructureScaleV
(v)¶ Defines the brush size on the V-axis.
Parameters: v (float) – New brush size on the V-axis
-
vrdBrushOrientation.
setTriplanarRotate
(v)¶ Sets the projection planes rotation on the X/Y/Z-axis.
Parameters: v (QVector3D) – New projection planes rotation on the X/Y/Z-axis