Inheritance diagram for mrmeshpy.ModelRenderParams:Public Member Functions | |
| None | __init__ (self, ModelRenderParams arg0) |
| bool | allowAlphaSort (self) |
| None | allowAlphaSort (self, bool arg1) |
| Vector3f | lightPos (self) |
| None | lightPos (self, Vector3f arg1) |
| Matrix4f | normMatrixPtr (self) |
| None | normMatrixPtr (self, Matrix4f arg1) |
| RenderModelPassMask | passMask (self) |
| None | passMask (self, RenderModelPassMask arg1) |
Public Member Functions inherited from mrmeshpy.ModelBaseRenderParams | |
| Plane3f | clipPlane (self) |
| Matrix4f | modelMatrix (self) |
Public Member Functions inherited from mrmeshpy.BaseRenderParams | |
| Matrix4f | projMatrix (self) |
| Matrix4f | viewMatrix (self) |
| Vector4i | viewport (self) |
| None | viewport (self, Vector4i arg1) |
| ViewportId | viewportId (self) |
| None | viewportId (self, ViewportId arg1) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_allowAlphaSort = 84 |
| typing | _offsetof_lightPos = 72 |
| typing | _offsetof_normMatrixPtr = 64 |
| typing | _offsetof_passMask = 88 |
Static Protected Attributes inherited from mrmeshpy.ModelBaseRenderParams | |
| typing | _offsetof_clipPlane = 48 |
| typing | _offsetof_depthFunction = 56 |
| typing | _offsetof_modelMatrix = 40 |
Static Protected Attributes inherited from mrmeshpy.BaseRenderParams | |
| 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).
|
static |
Reimplemented from mrmeshpy.ModelBaseRenderParams.
| None mrmeshpy.ModelRenderParams.__init__ | ( | self, | |
| ModelRenderParams | arg0 ) |
Implicit copy constructor.
Reimplemented from mrmeshpy.ModelBaseRenderParams.
| bool mrmeshpy.ModelRenderParams.allowAlphaSort | ( | self | ) |
if true, the object can use the alpha sorting shader if it wants to
| None mrmeshpy.ModelRenderParams.allowAlphaSort | ( | self, | |
| bool | arg1 ) |
| Vector3f mrmeshpy.ModelRenderParams.lightPos | ( | self | ) |
position of light source
| None mrmeshpy.ModelRenderParams.lightPos | ( | self, | |
| Vector3f | arg1 ) |
| Matrix4f mrmeshpy.ModelRenderParams.normMatrixPtr | ( | self | ) |
normal matrix, only necessary for triangles rendering
| None mrmeshpy.ModelRenderParams.normMatrixPtr | ( | self, | |
| Matrix4f | arg1 ) |
| RenderModelPassMask mrmeshpy.ModelRenderParams.passMask | ( | self | ) |
Only perform rendering if `bool( passMask & desiredPass )` is true.
| None mrmeshpy.ModelRenderParams.passMask | ( | self, | |
| RenderModelPassMask | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |