Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| ConstVector3f | lightPos (self) |
| Matrix4f | normMatrixPtr (self) |
| RenderModelPassMask | passMask (self) |
| ConstTransparencyMode | transparencyMode (self) |
| Public Member Functions inherited from mrmeshpy.ConstModelBaseRenderParams | |
| __init__ (self, *args, **kwargs) | |
| ConstPlane3f | clipPlane (self) |
| DepthFunction | depthFunction (self) |
| ConstMatrix4f | modelMatrix (self) |
| Public Member Functions inherited from mrmeshpy.ConstBaseRenderParams | |
| __init__ (self, *args, **kwargs) | |
| ConstMatrix4f | projMatrix (self) |
| ConstMatrix4f | viewMatrix (self) |
| ConstVector4i | viewport (self) |
| ConstViewportId | viewportId (self) |
Static Protected Attributes | |
| typing | _offsetof_lightPos = 72 |
| typing | _offsetof_normMatrixPtr = 64 |
| typing | _offsetof_passMask = 100 |
| typing | _offsetof_transparencyMode = 84 |
| Static Protected Attributes inherited from mrmeshpy.ConstModelBaseRenderParams | |
| typing | _offsetof_clipPlane = 48 |
| typing | _offsetof_depthFunction = 56 |
| typing | _offsetof_modelMatrix = 40 |
| Static Protected Attributes inherited from mrmeshpy.ConstBaseRenderParams | |
| typing | _offsetof_projMatrix = 8 |
| typing | _offsetof_viewMatrix = 0 |
| typing | _offsetof_viewport = 20 |
| typing | _offsetof_viewportId = 16 |
Generated from: MR::ModelRenderParams Mesh rendering parameters for primary rendering (as opposed to the picker).
| mrmeshpy.ConstModelRenderParams.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstModelRenderParams, arg0: meshlib.mrmeshpy.ConstModelRenderParams) -> None Implicit copy constructor. 2. __init__(self: meshlib.mrmeshpy.ConstModelRenderParams, : meshlib.mrmeshpy.ConstModelRenderParams) -> None
| ConstVector3f mrmeshpy.ConstModelRenderParams.lightPos | ( | self | ) |
position of light source
Reimplemented in mrmeshpy.ModelRenderParams, and mrmeshpy.ModelRenderParams.
| Matrix4f mrmeshpy.ConstModelRenderParams.normMatrixPtr | ( | self | ) |
normal matrix, only necessary for triangles rendering
Reimplemented in mrmeshpy.ModelRenderParams, and mrmeshpy.ModelRenderParams.
| RenderModelPassMask mrmeshpy.ConstModelRenderParams.passMask | ( | self | ) |
Only perform rendering if `bool( passMask & desiredPass )` is true.
Reimplemented in mrmeshpy.ModelRenderParams, and mrmeshpy.ModelRenderParams.
| ConstTransparencyMode mrmeshpy.ConstModelRenderParams.transparencyMode | ( | self | ) |
determines how to handle transparent models
Reimplemented in mrmeshpy.ModelRenderParams, and mrmeshpy.ModelRenderParams.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |