DOMMaterialMetallic

From Virtual World Web Wiki
Revision as of 12:30, 23 May 2018 by Spark5 (Talk | contribs) (Documentation for the DOMMaterialMetallic class)

Jump to: navigation, search

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

Remarks [edit]

Properties

bool DoubleSided {get; set;}
True if a double-sided shader variant should be used
float Metallic {get; set;}
A value indicating how metalic the material should appear
ResourceValue MetallicGlossMap {get; set;}
A JPG or PNG resource that makes up the Metallic Gloss Map

Constructors

DOMMaterialMetallic()
Constructs a new DOMMaterialMetallic with default settings
DOMMaterialMetallic(DOMObject[] children)
Constructs a new DOMMaterialMetallic, adding children at the same time
DOMMaterialMetallic(string title, DOMObject[] children)
Constructs a new DOMMaterialMetallic, setting a title and adding children at the same time