DOMMaterialReference
From Virtual World Web Wiki
Represents a reference to another material under the same DOMController. The title of this node should be set to the Title of the DOMMaterial to be referenced. This is usefull for allowing a clothing attachment to reference a skin material defined by the parent avatar for example.
- Inherits class: DOMObject
- This is a leaf node type. This node type cannot have children.
Remarks [edit]
Properties
- int Index {get; set;}
- The material index to map this material to
- string SubMesh {get; set;}
- Specifies a named sub-mesh to apply this material to
Constructors
- DOMMaterialReference()
- Constructs a new DOMMaterialReference with default settings
- DOMMaterialReference(string title)
- Constructs a new DOMMaterialReference, setting a title and adding children at the same time
Methods
- bool CheckParent(DOMObject parent)
- Called on DOMObject derived types just before they are added to the DOM to ensure their parent is appropriate.