Difference between revisions of "DOMMaterialMetallic"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMMaterialMetallic class)
(Documentation for the DOMMaterialMetallic class)
Line 9: Line 9:
 
::
 
::
 
::True if a double-sided shader variant should be used
 
::True if a double-sided shader variant should be used
 +
 +
:{{CSharp|float Glossiness {get; set;} }}
 +
::
 +
::The glossiness (shininess) of the material
  
 
:{{CSharp|float Metallic {get; set;} }}
 
:{{CSharp|float Metallic {get; set;} }}
Line 17: Line 21:
 
::
 
::
 
::A JPG or PNG resource that makes up the Metallic Gloss Map
 
::A JPG or PNG resource that makes up the Metallic Gloss Map
 +
 +
:{{CSharp|float MetallicGlossMapStrength {get; set;} }}
 +
::
 +
::A value indicating how metalic the material should appear
  
 
===Constructors===
 
===Constructors===

Revision as of 13:28, 15 August 2018

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 Glossiness {get; set;}
The glossiness (shininess) of the material
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
float MetallicGlossMapStrength {get; set;}
A value indicating how metalic the material should appear

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