Difference between revisions of "DOMMaterialSpecular"
From Virtual World Web Wiki
(Documentation for the DOMMaterialSpecular class) |
(Documentation for the DOMMaterialSpecular class) |
||
Line 6: | Line 6: | ||
===Properties=== | ===Properties=== | ||
+ | :{{CSharp|float Glossiness {get; set;} }} | ||
+ | :: | ||
+ | ::The glossiness (shininess) of the material | ||
+ | |||
:{{CSharp|Color32 SpecColor {get; set;} }} | :{{CSharp|Color32 SpecColor {get; set;} }} | ||
:: | :: |
Revision as of 13:28, 15 August 2018
Represents a specular variant of a material based on the Unity Standard Shader
- Inherits class: DOMMaterialStandard
Remarks [edit]
Properties
- float Glossiness {get; set;}
- The glossiness (shininess) of the material
- 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(DOMObject[] children)
- Constructs a new DOMMaterialSpecular, adding children at the same time
- DOMMaterialSpecular(string title, DOMObject[] children)
- Constructs a new DOMMaterialSpecular, setting a title and adding children at the same time