DOMLOD

From Virtual World Web Wiki
Jump to: navigation, search

Placed under a DOMRenderable this node lets you specify different materials for each Level Of Detail (LOD) of a renderable.

Remarks [edit]

Properties

int LOD {get; set;}
The ID of the Level of detail to associate this node with (0-3)

Constructors

DOMLOD()
Constructs a new DOMLOD with default settings
DOMLOD(DOMObject[] children)
Constructs a new DOMLOD, adding children at the same time
DOMLOD(string title, DOMObject[] children)
Constructs a new DOMLOD, setting a title and adding children at the same time

Methods

bool CheckChild(DOMObject parent)
Called on DOMObject derived types just before a child is added to their Children collection to ensure they are acceptable
bool CheckParent(DOMObject parent)
Called on DOMObject derived types just before they are added to the DOM to ensure their parent is appropriate.