Difference between revisions of "DOMMaterialSpecular"
From Virtual World Web Wiki
(Documentation for the DOMMaterialSpecular class) |
(Documentation for the DOMMaterialSpecular class) |
||
Line 17: | Line 17: | ||
===Constructors=== | ===Constructors=== | ||
:{{CSharp|DOMMaterialSpecular()}} | :{{CSharp|DOMMaterialSpecular()}} | ||
+ | :: | ||
+ | ::Constructs a new DOMMaterialSpecular with default settings | ||
+ | |||
+ | :{{CSharp|DOMMaterialSpecular(string title)}} | ||
+ | :: | ||
+ | ::Constructs a new DOMMaterialSpecular, setting a title and adding children at the same time | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 12:38, 6 September 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()
- Constructs a new DOMMaterialSpecular with default settings
- DOMMaterialSpecular(string title)
- Constructs a new DOMMaterialSpecular, setting a title and adding children at the same time