DOMTexture

From Virtual World Web Wiki
Jump to: navigation, search

Represents a texture that can be composited with other textures to provide input to a DOMMaterial texture channel. The Title of this node also sets which material texture channel this texture is applied to.

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

Remarks [edit]

Properties

bool Enabled {get;}
Always true for Textures
int Index {get; set;}
The material index to map this material to
ResourceValue ResourceUri {get; set;}
The ResourceValue of the renderable model. Generally a Unity3D assetbundle or an OBJ.
bool Visible {get;}
Always true for Textures

Constructors

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