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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstMatrix4f projMatrix (self)
ConstMatrix4f viewMatrix (self)
ConstVector4i viewport (self)
ConstViewportId viewportId (self)

Static Protected Attributes

typing _offsetof_projMatrix = 8
typing _offsetof_viewMatrix = 0
typing _offsetof_viewport = 20
typing _offsetof_viewportId = 16

Detailed Description

Generated from:  MR::BaseRenderParams

Common rendering parameters for meshes and UI.

Constructor & Destructor Documentation

◆ __init__()

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

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

Implicit copy constructor.

2. __init__(self: meshlib.mrmeshpy.ConstBaseRenderParams, viewMatrix: meshlib.mrmeshpy.ConstMatrix4f, projMatrix: meshlib.mrmeshpy.ConstMatrix4f, viewportId: meshlib.mrmeshpy.ConstViewportId, viewport: meshlib.mrmeshpy.ConstVector4i) -> None

Implicit aggregate constructor.

3. __init__(self: meshlib.mrmeshpy.ConstBaseRenderParams, : meshlib.mrmeshpy.ConstBaseRenderParams) -> None

Member Function Documentation

◆ projMatrix()

ConstMatrix4f mrmeshpy.ConstBaseRenderParams.projMatrix ( self)

◆ viewMatrix()

ConstMatrix4f mrmeshpy.ConstBaseRenderParams.viewMatrix ( self)

◆ viewport()

ConstVector4i mrmeshpy.ConstBaseRenderParams.viewport ( self)
viewport x0, y0, width, height

Reimplemented in mrmeshpy.BaseRenderParams, and mrmeshpy.BaseRenderParams.

◆ viewportId()

ConstViewportId mrmeshpy.ConstBaseRenderParams.viewportId ( self)
id of the viewport

Reimplemented in mrmeshpy.BaseRenderParams, and mrmeshpy.BaseRenderParams.

Member Data Documentation

◆ _offsetof_projMatrix

typing mrmeshpy.ConstBaseRenderParams._offsetof_projMatrix = 8
staticprotected

◆ _offsetof_viewMatrix

typing mrmeshpy.ConstBaseRenderParams._offsetof_viewMatrix = 0
staticprotected

◆ _offsetof_viewport

typing mrmeshpy.ConstBaseRenderParams._offsetof_viewport = 20
staticprotected

◆ _offsetof_viewportId

typing mrmeshpy.ConstBaseRenderParams._offsetof_viewportId = 16
staticprotected

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