DOMTitle

From Virtual World Web Wiki
Jump to: navigation, search

Represents a name tag or title displayed over something. These are useful for avatar titles, as well as naming NPCs, and other objects in a world.

  • Inherits class: DOMObject
  • This is a leaf node type. This node type cannot have children.

Remarks [edit]

Properties

Color32 Color {get; set;}
The color to use for the font of the title
int Index {get; set;}
When more than one title is present on an object, they are sorted by their Indicies
DOMTitleOcclusion Occlusion {get; set;}
Specifies how the title is rendered when it's occluded (hidden behind something)

Constructors

DOMTitle()
Constructs a new DOMTitle with default settings
DOMTitle(string title)
Constructs a new DOMTitle, 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.