MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ModelRenderParams Class Reference
+ Inheritance diagram for mrmeshpy.ModelRenderParams:

Public Member Functions

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
 

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__ ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.ModelBaseRenderParams.

Member Function Documentation

◆ 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 )

Member Data Documentation

◆ _offsetof_allowAlphaSort

typing mrmeshpy.ModelRenderParams._offsetof_allowAlphaSort = 84
staticprotected

◆ _offsetof_lightPos

typing mrmeshpy.ModelRenderParams._offsetof_lightPos = 72
staticprotected

◆ _offsetof_normMatrixPtr

typing mrmeshpy.ModelRenderParams._offsetof_normMatrixPtr = 64
staticprotected

◆ _offsetof_passMask

typing mrmeshpy.ModelRenderParams._offsetof_passMask = 88
staticprotected

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