PyMaterialXCore.GeomPropDef

class GeomPropDef

Bases: TypedElement

An element representing a declaration of geometric property data.

A GeomPropDef element contains a reference to a geometric node and a set of modifiers for that node. For example, a world-space normal can be declared as a reference to the "normal" geometric node with a space setting of "world", or a specific set of texture coordinates can be declared as a reference to the "texcoord" geometric node with an index setting of "1".

See:

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

Methods

__init__(*args, **kwargs)

getGeomProp(*args, **kwargs)

Overloaded function.

getIndex(self)

getSpace(self)

hasGeomProp(*args, **kwargs)

Overloaded function.

hasIndex(self)

hasSpace(self)

setGeomProp(*args, **kwargs)

Overloaded function.

setIndex(self, arg0)

setSpace(self, arg0)

Properties

CATEGORY = 'geompropdef'

Methods

__init__(*args, **kwargs)
getGeomProp(*args, **kwargs)

Overloaded function.

  1. getGeomProp(self: PyMaterialXCore.GeomPropDef) -> str

  2. getGeomProp(self: PyMaterialXCore.GeomPropDef) -> str

getIndex(self: GeomPropDef) str
getSpace(self: GeomPropDef) str
hasGeomProp(*args, **kwargs)

Overloaded function.

  1. hasGeomProp(self: PyMaterialXCore.GeomPropDef) -> bool

  2. hasGeomProp(self: PyMaterialXCore.GeomPropDef) -> bool

hasIndex(self: GeomPropDef) bool
hasSpace(self: GeomPropDef) bool
setGeomProp(*args, **kwargs)

Overloaded function.

  1. setGeomProp(self: PyMaterialXCore.GeomPropDef, arg0: str) -> None

  2. setGeomProp(self: PyMaterialXCore.GeomPropDef, arg0: str) -> None

setIndex(self: GeomPropDef, arg0: str) None
setSpace(self: GeomPropDef, arg0: str) None