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 1: Line 1:
 +
Represents a metallic variant of a material based on the Unity Standard Shader
 +
 
*'''Inherits class: [[DOMMaterialStandard]]'''
 
*'''Inherits class: [[DOMMaterialStandard]]'''
 
* This is a leaf node type. This node type cannot have children.
 
* This is a leaf node type. This node type cannot have children.
Line 6: Line 8:
 
===Properties===
 
===Properties===
 
:{{CSharp|bool DoubleSided {get; set;} }}
 
:{{CSharp|bool DoubleSided {get; set;} }}
 +
::
 +
::True if a double-sided shader variant should be used
  
 
:{{CSharp|float Metallic {get; set;} }}
 
:{{CSharp|float Metallic {get; set;} }}
 +
::
 +
::A value indicating how metalic the material should appear
  
 
:{{CSharp|ResourceValue MetallicGlossMap {get; set;} }}
 
:{{CSharp|ResourceValue MetallicGlossMap {get; set;} }}
 +
::
 +
::A JPG or PNG resource that makes up the Metallic Gloss Map
  
 
===Constructors===
 
===Constructors===

Revision as of 19:40, 4 April 2017

Represents a metallic 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

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()