| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
vrFieldAccess.FieldContainerPtr --+
|
MaterialPtr --+
|
vrMaterialPtr
Most functions of vrMaterialPtr are deprecated, use API v2 vrdMaterial types instead.
A wrapper class for the OpenSG MaterialPtr.
| Instance Methods | |||
|
|||
| bool |
|
||
|
|||
| vrMaterialPtr |
|
||
| vrFieldAccess |
|
||
| unsigned integer |
|
||
| vrChunkPtr |
|
||
| unsigned int (32bit) |
|
||
| unsigned int (32bit) |
|
||
| vrMaterialPtr |
|
||
| string |
|
||
| list of vrNodePtrs |
|
||
| MaterialPtr |
|
||
| vrSHLChunkPtr |
|
||
| list of vrMaterialPtrs |
|
||
| string |
|
||
| bool |
|
||
| bool |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| bool |
|
||
|
|||
|
Inherited from Inherited from |
|||
| Static Methods | |||
|
|||
| Class Variables | |
__instance_size__ = 64
|
|
| Method Details |
The constructor of the MaterialPtr class. There are three valid versions: MaterialPtr() Creates a MaterialPtr object. MaterialPtr(source) Creates a MaterialPtr object from an unsigned int. MaterialPtr(source) Creates a MaterialPtr object from a MaterialPtr.
|
Deprecated. See Adds a chunk to the material.
|
Deprecated: Use Adds a material to a switch material.
|
Deprecated: Use
Returns a copy of the material.
|
Deprecated: Use API v2 material types instead to read and write
material settings, e.g. Returns the field access object to get access to all fields. Take a look at the vrFieldAccess documentation to see how to manipulate the value of the fields.
|
Deprecated: Use Returns the current choice of a switch material.
|
Deprecated. See Returns a chunk.
|
Deprecated. See Returns the chunk count.
|
Return the material id.
|
Deprecated: Use Returns the material of a switch material.
|
Deprecated: Use Returns the name of the material.
|
Deprecated: Use
Returns all nodes that are using this material.
|
Return the OpenSG MaterialPtr.
|
Deprecated. See Returns an opengl shading language chunk (if there is one within the material).
|
Deprecated: Use Returns all sub materials of the material.
|
Deprecated. Returns the OpenSG type of the material.
|
Deprecated: Use Checks if the material is an asset from the Asset Manager.
|
See Return true when the material is valid. Should be called for sanity reasons after searching a material with findMaterial.
|
For every material that is an asset, removes its reference to the Asset Manager. For environment materials it removes the reference to the environment asset. Updates the Material Editor (and Scenegraph, if an environment asset reference is deleted) UI afterwards.
|
Deprecated: Use Sets the choice of a switch material.
|
Deprecated: Use Sets the current choice of the switch to the material with the tag.
|
Deprecated: Use Sets the current choice of the switch to the material with the tags.
|
Deprecated: Use Sets the name of the material.
|
Deprecated: Use
Sets the transparency.
|
Deprecated: Use Removes the material from the material pool.
|
Deprecated. See Subs a chunk from the material.
|
Deprecated: Use Subs a material from a switch material.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Nov 29 09:33:22 2024 | http://epydoc.sourceforge.net |