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

Public Member Functions

None __init__ (self, ConstModelRenderParams arg0)
Vector3f lightPos (self)
None lightPos (self, ConstVector3f arg1)
Matrix4f normMatrixPtr (self)
None normMatrixPtr (self, ConstMatrix4f arg1)
RenderModelPassMask passMask (self)
None passMask (self, RenderModelPassMask arg1)
TransparencyMode transparencyMode (self)
None transparencyMode (self, ConstTransparencyMode arg1)
Public Member Functions inherited from mrmeshpy.ConstModelRenderParams
 __init__ (self, *args, **kwargs)
Public Member Functions inherited from mrmeshpy.ConstModelBaseRenderParams
 __init__ (self, *args, **kwargs)
ConstPlane3f clipPlane (self)
DepthFunction depthFunction (self)
ConstMatrix4f modelMatrix (self)
Public Member Functions inherited from mrmeshpy.ConstBaseRenderParams
 __init__ (self, *args, **kwargs)
ConstMatrix4f projMatrix (self)
ConstMatrix4f viewMatrix (self)
Public Member Functions inherited from mrmeshpy.ModelBaseRenderParams
None __init__ (self, ConstModelBaseRenderParams arg0)
Public Member Functions inherited from mrmeshpy.BaseRenderParams
None __init__ (self, ConstBaseRenderParams arg0)
None __init__ (self, ConstMatrix4f viewMatrix, ConstMatrix4f projMatrix, ConstViewportId viewportId, ConstVector4i viewport)
Vector4i viewport (self)
None viewport (self, ConstVector4i arg1)
ViewportId viewportId (self)
None viewportId (self, ConstViewportId arg1)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ModelBaseRenderParams
None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.BaseRenderParams
None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstModelRenderParams
typing _offsetof_lightPos = 72
typing _offsetof_normMatrixPtr = 64
typing _offsetof_passMask = 100
typing _offsetof_transparencyMode = 84
Static Protected Attributes inherited from mrmeshpy.ConstModelBaseRenderParams
typing _offsetof_clipPlane = 48
typing _offsetof_depthFunction = 56
typing _offsetof_modelMatrix = 40
Static Protected Attributes inherited from mrmeshpy.ConstBaseRenderParams
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__() [1/2]

None mrmeshpy.ModelRenderParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/2]

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

Member Function Documentation

◆ lightPos() [1/2]

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

Reimplemented from mrmeshpy.ConstModelRenderParams.

◆ lightPos() [2/2]

None mrmeshpy.ModelRenderParams.lightPos ( self,
ConstVector3f arg1 )
position of light source

Reimplemented from mrmeshpy.ConstModelRenderParams.

◆ normMatrixPtr() [1/2]

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

Reimplemented from mrmeshpy.ConstModelRenderParams.

◆ normMatrixPtr() [2/2]

None mrmeshpy.ModelRenderParams.normMatrixPtr ( self,
ConstMatrix4f arg1 )
normal matrix, only necessary for triangles rendering

Reimplemented from mrmeshpy.ConstModelRenderParams.

◆ passMask() [1/2]

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

Reimplemented from mrmeshpy.ConstModelRenderParams.

◆ passMask() [2/2]

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

Reimplemented from mrmeshpy.ConstModelRenderParams.

◆ transparencyMode() [1/2]

TransparencyMode mrmeshpy.ModelRenderParams.transparencyMode ( self)
determines how to handle transparent models

Reimplemented from mrmeshpy.ConstModelRenderParams.

◆ transparencyMode() [2/2]

None mrmeshpy.ModelRenderParams.transparencyMode ( self,
ConstTransparencyMode arg1 )
determines how to handle transparent models

Reimplemented from mrmeshpy.ConstModelRenderParams.


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