PyMaterialXRender.GeometryHandler

class GeometryHandler

Bases: pybind11_object

Class which holds a set of geometry loaders.

Each loader is associated with a given set of file extensions.

See:

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

Methods

__init__(self)

addLoader(self, arg0)

clearGeometry(self)

create()

findParentMesh(self, arg0)

getGeometry(self, arg0, arg1)

getMaximumBounds(self)

getMeshes(self)

getMinimumBounds(self)

hasGeometry(self, arg0)

loadGeometry(self, arg0, arg1)

Methods

__init__(self: GeometryHandler) None
addLoader(self: GeometryHandler, arg0: GeometryLoader) None
clearGeometry(self: GeometryHandler) None
static create() GeometryHandler
findParentMesh(self: GeometryHandler, arg0: MeshPartition) Mesh
getGeometry(self: GeometryHandler, arg0: list[Mesh], arg1: str) None
getMaximumBounds(self: GeometryHandler) Vector3
getMeshes(self: GeometryHandler) list[Mesh]
getMinimumBounds(self: GeometryHandler) Vector3
hasGeometry(self: GeometryHandler, arg0: str) bool
loadGeometry(self: GeometryHandler, arg0: FilePath, arg1: bool) bool