DOMMaterialSpecular

From Virtual World Web Wiki
Revision as of 17:36, 19 September 2018 by Spark5 (Talk | contribs) (Documentation for the DOMMaterialSpecular class)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Remarks [edit]

Properties

float Glossiness {get; set;}
The glossiness (shininess) of the material
float GlossMapScale {get; set;}
A value indicating how metalic the material should appear
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(DOMObject[] children)
Constructs a new DOMMaterialSpecular, adding children at the same time
DOMMaterialSpecular(string title, DOMObject[] children)
Constructs a new DOMMaterialSpecular, setting a title and adding children at the same time