DOMTerrain

From Virtual World Web Wiki
Jump to: navigation, search

Represents a block of terrain rendered by the client's terrain engine. Work in progress.

Remarks [edit]

Properties

Byte[] Terrain {get; set;}
Stores terrain data

Constructors

DOMTerrain()
Constructs a new DOMTerrain with default settings
DOMTerrain(DOMObject[] children)
Constructs a new DOMTerrain, adding children at the same time
DOMTerrain(string title, DOMObject[] children)
Constructs a new DOMTerrain, 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.