Difference between revisions of "DOMMaterialSpecular"
From Virtual World Web Wiki
(Documentation for the DOMMaterialSpecular class) |
(Documentation for the DOMMaterialSpecular class) |
||
Line 2: | Line 2: | ||
*'''Inherits class: [[DOMMaterialStandard]]''' | *'''Inherits class: [[DOMMaterialStandard]]''' | ||
− | |||
===Remarks <nowiki>[</nowiki>[{{fullurl:DOMMaterialSpecular Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ===Remarks <nowiki>[</nowiki>[{{fullurl:DOMMaterialSpecular Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ||
{{#ifexist:DOMMaterialSpecular Remarks|{{:DOMMaterialSpecular Remarks}}|}} | {{#ifexist:DOMMaterialSpecular Remarks|{{:DOMMaterialSpecular Remarks}}|}} | ||
Line 20: | Line 19: | ||
::Constructs a new DOMMaterialSpecular with default settings | ::Constructs a new DOMMaterialSpecular with default settings | ||
− | :{{CSharp|DOMMaterialSpecular(string title)}} | + | :{{CSharp|DOMMaterialSpecular(DOMObject[] children)}} |
+ | :: | ||
+ | ::Constructs a new DOMMaterialSpecular, adding children at the same time | ||
+ | |||
+ | :{{CSharp|DOMMaterialSpecular(string title, DOMObject[] children)}} | ||
:: | :: | ||
::Constructs a new DOMMaterialSpecular, setting a title and adding children at the same time | ::Constructs a new DOMMaterialSpecular, setting a title and adding children at the same time | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 12:30, 23 May 2018
Represents a specular variant of a material based on the Unity Standard Shader
- Inherits class: DOMMaterialStandard
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(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