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 meshlib.mrmeshpy.ModelBaseRenderParams | |
Plane3f | clipPlane (self) |
Matrix4f | modelMatrix (self) |
Public Member Functions inherited from meshlib.mrmeshpy.BaseRenderParams | |
Matrix4f | projMatrix (self) |
Matrix4f | viewMatrix (self) |
Vector4i | viewport (self) |
None | viewport (self, Vector4i arg1) |
ViewportId | viewportId (self) |
None | viewportId (self, ViewportId arg1) |
Generated from: MR::ModelRenderParams Mesh rendering parameters for primary rendering (as opposed to the picker).
None meshlib.mrmeshpy.ModelRenderParams.__init__ | ( | self, | |
ModelRenderParams | arg0 ) |
Implicit copy constructor.
Reimplemented from meshlib.mrmeshpy.ModelBaseRenderParams.
bool meshlib.mrmeshpy.ModelRenderParams.allowAlphaSort | ( | self | ) |
if true, the object can use the alpha sorting shader if it wants to
None meshlib.mrmeshpy.ModelRenderParams.allowAlphaSort | ( | self, | |
bool | arg1 ) |
Vector3f meshlib.mrmeshpy.ModelRenderParams.lightPos | ( | self | ) |
position of light source
None meshlib.mrmeshpy.ModelRenderParams.lightPos | ( | self, | |
Vector3f | arg1 ) |
Matrix4f meshlib.mrmeshpy.ModelRenderParams.normMatrixPtr | ( | self | ) |
normal matrix, only necessary for triangles rendering
None meshlib.mrmeshpy.ModelRenderParams.normMatrixPtr | ( | self, | |
Matrix4f | arg1 ) |
RenderModelPassMask meshlib.mrmeshpy.ModelRenderParams.passMask | ( | self | ) |
Only perform rendering if `bool( passMask & desiredPass )` is true.
None meshlib.mrmeshpy.ModelRenderParams.passMask | ( | self, | |
RenderModelPassMask | arg1 ) |