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