Difference between revisions of "DOMMaterialSpecular"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMMaterialSpecular class)
(Documentation for the DOMMaterialSpecular class)
Line 1: Line 1:
 +
Represents a specular 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|Color32 SpecColor {get; set;} }}
 
:{{CSharp|Color32 SpecColor {get; set;} }}
 +
::
 +
::The specular color
  
 
:{{CSharp|ResourceValue SpecGlossMap {get; set;} }}
 
:{{CSharp|ResourceValue SpecGlossMap {get; set;} }}
 +
::
 +
::A JPG or PNG resource that makes up the Specular Gloss Map
  
 
===Constructors===
 
===Constructors===

Revision as of 19:40, 4 April 2017

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