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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVector3f lightPos (self)
Matrix4f normMatrixPtr (self)
RenderModelPassMask passMask (self)
ConstTransparencyMode transparencyMode (self)
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)
ConstVector4i viewport (self)
ConstViewportId viewportId (self)

Static Protected Attributes

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__()

mrmeshpy.ConstModelRenderParams.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstModelRenderParams, arg0: meshlib.mrmeshpy.ConstModelRenderParams) -> None

Implicit copy constructor.

2. __init__(self: meshlib.mrmeshpy.ConstModelRenderParams, : meshlib.mrmeshpy.ConstModelRenderParams) -> None

Member Function Documentation

◆ lightPos()

ConstVector3f mrmeshpy.ConstModelRenderParams.lightPos ( self)
position of light source

Reimplemented in mrmeshpy.ModelRenderParams, and mrmeshpy.ModelRenderParams.

◆ normMatrixPtr()

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

Reimplemented in mrmeshpy.ModelRenderParams, and mrmeshpy.ModelRenderParams.

◆ passMask()

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

Reimplemented in mrmeshpy.ModelRenderParams, and mrmeshpy.ModelRenderParams.

◆ transparencyMode()

ConstTransparencyMode mrmeshpy.ConstModelRenderParams.transparencyMode ( self)
determines how to handle transparent models

Reimplemented in mrmeshpy.ModelRenderParams, and mrmeshpy.ModelRenderParams.

Member Data Documentation

◆ _offsetof_lightPos

typing mrmeshpy.ConstModelRenderParams._offsetof_lightPos = 72
staticprotected

◆ _offsetof_normMatrixPtr

typing mrmeshpy.ConstModelRenderParams._offsetof_normMatrixPtr = 64
staticprotected

◆ _offsetof_passMask

typing mrmeshpy.ConstModelRenderParams._offsetof_passMask = 100
staticprotected

◆ _offsetof_transparencyMode

typing mrmeshpy.ConstModelRenderParams._offsetof_transparencyMode = 84
staticprotected

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