MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.ModelRenderParams Class Reference
+ Inheritance diagram for meshlib.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 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)
 

Detailed Description

Generated from:  MR::ModelRenderParams

Mesh rendering parameters for primary rendering (as opposed to the picker).

Constructor & Destructor Documentation

◆ __init__()

None meshlib.mrmeshpy.ModelRenderParams.__init__ ( self,
ModelRenderParams arg0 )
Implicit copy constructor.

Reimplemented from meshlib.mrmeshpy.ModelBaseRenderParams.

Member Function Documentation

◆ allowAlphaSort() [1/2]

bool meshlib.mrmeshpy.ModelRenderParams.allowAlphaSort ( self)
if true, the object can use the alpha sorting shader if it wants to

◆ allowAlphaSort() [2/2]

None meshlib.mrmeshpy.ModelRenderParams.allowAlphaSort ( self,
bool arg1 )

◆ lightPos() [1/2]

Vector3f meshlib.mrmeshpy.ModelRenderParams.lightPos ( self)
position of light source

◆ lightPos() [2/2]

None meshlib.mrmeshpy.ModelRenderParams.lightPos ( self,
Vector3f arg1 )

◆ normMatrixPtr() [1/2]

Matrix4f meshlib.mrmeshpy.ModelRenderParams.normMatrixPtr ( self)
normal matrix, only necessary for triangles rendering

◆ normMatrixPtr() [2/2]

None meshlib.mrmeshpy.ModelRenderParams.normMatrixPtr ( self,
Matrix4f arg1 )

◆ passMask() [1/2]

RenderModelPassMask meshlib.mrmeshpy.ModelRenderParams.passMask ( self)
Only perform rendering if `bool( passMask & desiredPass )` is true.

◆ passMask() [2/2]

None meshlib.mrmeshpy.ModelRenderParams.passMask ( self,
RenderModelPassMask arg1 )

The documentation for this class was generated from the following file: