MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ModelRenderParams Class Reference
+ 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 Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::ModelRenderParams

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

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from mrmeshpy.ModelBaseRenderParams.

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.ModelRenderParams._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

Reimplemented from mrmeshpy.ModelBaseRenderParams.

◆ allowAlphaSort() [1/2]

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

◆ allowAlphaSort() [2/2]

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

◆ lightPos() [1/2]

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

◆ lightPos() [2/2]

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

◆ normMatrixPtr() [1/2]

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

◆ normMatrixPtr() [2/2]

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

◆ passMask() [1/2]

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

◆ passMask() [2/2]

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

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