DOMMaterialSpecular

From Virtual World Web Wiki
Revision as of 12:38, 6 September 2017 by Spark5 (Talk | contribs) (Documentation for the DOMMaterialSpecular class)

Jump to: navigation, search

Represents a specular variant of a material based on the Unity Standard Shader

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

Remarks [edit]

Properties

Color32 SpecColor {get; set;}
The specular color
ResourceValue SpecGlossMap {get; set;}
A JPG or PNG resource that makes up the Specular Gloss Map

Constructors

DOMMaterialSpecular()
Constructs a new DOMMaterialSpecular with default settings
DOMMaterialSpecular(string title)
Constructs a new DOMMaterialSpecular, setting a title and adding children at the same time