PyMaterialXRender.MeshPartition

class MeshPartition

Bases: pybind11_object

Class that describes a sub-region of a mesh using vertex indexing.

Note that a face is considered to be a triangle.

See:

https://materialx.org/docs/api/class_mesh_partition.html

Methods

__init__(self)

addSourceName(self, arg0)

create()

getFaceCount(self)

getIndices(self)

getName(self)

getSourceNames(self)

resize(self, arg0)

setFaceCount(self, arg0)

setName(self, arg0)

Methods

__init__(self: MeshPartition) None
addSourceName(self: MeshPartition, arg0: str) None
static create() MeshPartition
getFaceCount(self: MeshPartition) int
getIndices(self: MeshPartition) list[int]
getName(self: MeshPartition) str
getSourceNames(self: MeshPartition) set[str]
resize(self: MeshPartition, arg0: int) None
setFaceCount(self: MeshPartition, arg0: int) None
setName(self: MeshPartition, arg0: str) None