PyMaterialXCore.Visibility

class Visibility

Bases: GeomElement

A visibility element within a Look.

Describes the visibility relationship between two geometries or geometric collections.

Todo:

Add a Look.geomIsVisible() method that computes the visibility between two geometries in the context of a specific Look.

See:

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

Methods

__init__(*args, **kwargs)

getViewerCollection(self)

getViewerGeom(self)

getVisibilityType(self)

getVisible(self)

hasViewerCollection(self)

hasViewerGeom(self)

hasVisibilityType(self)

setViewerCollection(self, arg0)

setViewerGeom(self, arg0)

setVisibilityType(self, arg0)

setVisible(self, arg0)

Properties

CATEGORY = 'visibility'

Methods

__init__(*args, **kwargs)
getViewerCollection(self: Visibility) str
getViewerGeom(self: Visibility) str
getVisibilityType(self: Visibility) str
getVisible(self: Visibility) bool
hasViewerCollection(self: Visibility) bool
hasViewerGeom(self: Visibility) bool
hasVisibilityType(self: Visibility) bool
setViewerCollection(self: Visibility, arg0: str) None
setViewerGeom(self: Visibility, arg0: str) None
setVisibilityType(self: Visibility, arg0: str) None
setVisible(self: Visibility, arg0: bool) None