A wrapper class for the OpenSG MaterialPtr.
|
__init__(source)
The constructor of the MaterialPtr class. |
|
|
bool
|
|
|
addMaterial(mat)
Deprecated: Use vrdMultiMaterial.materials.append(mat)
in API v2. |
|
|
vrMaterialPtr
|
copy()
Deprecated: Use
vrMaterialService.duplicateMaterials([mat]) in API v2. |
|
|
vrFieldAccess
|
fields()
Deprecated: Use API v2 material types instead to read and write
material settings, e.g. |
|
|
unsigned integer
|
getChoice()
Deprecated: Use vrdSwitchMaterial.getChoice() in API v2. |
|
|
vrChunkPtr
|
|
unsigned int (32bit)
|
|
unsigned int (32bit)
|
getID()
Return the material id. |
|
|
vrMaterialPtr
|
|
string
|
getName()
Deprecated: Use vrdMaterial.getName() in API v2. |
|
|
list of vrNodePtrs
|
getNodes()
Deprecated: Use
vrMaterialService.findNodesWithMaterial(mat) in API v2. |
|
|
MaterialPtr
|
getPtr()
Return the OpenSG MaterialPtr. |
|
|
vrSHLChunkPtr
|
|
list of vrMaterialPtrs
|
getSubMaterials()
Deprecated: Use vrdMultiMaterial.getMaterials() in API
v2. |
|
|
string
|
|
bool
|
isAsset()
Deprecated: Use vrdMaterial.isAsset() in API v2. |
|
|
bool
|
isValid()
See vrdSceneObject.isValid() in API v2. |
|
|
|
setChoice(choice)
Deprecated: Use vrdSwitchMaterial.setChoice(choice) in
API v2. |
|
|
|
|
|
setMaterialChoiceByTags(tags,
matchAllTags)
Deprecated: Use vrMaterialService.setSwitchChoiceByAnyTag or
vrMaterialService.setSwitchChoiceByAllTags in API v2. |
|
|
|
setName(name)
Deprecated: Use vrdMaterial.setName(name) in API v2. |
|
|
|
setTransparency(t)
Deprecated: Use
material.getTransparency().setSeeThrough(QVector3D(t, t,
t)) in API v2. |
|
|
|
sub(update)
Deprecated: Use vrMaterialService.deleteMaterials(mat)
in API v2. |
|
|
bool
|
|
|
subMaterial(mat)
Deprecated: Use vrdMultiMaterial.materials.remove(mat)
in API v2. |
|
|
Inherited from vrFieldAccess.FieldContainerPtr :
__reduce__
Inherited from unreachable.instance :
__new__
|