Difference between revisions of "DOMMaterialStandard"
From Virtual World Web Wiki
(Documentation for the DOMMaterialStandard class) |
(Documentation for the DOMMaterialStandard class) |
||
Line 1: | Line 1: | ||
+ | Represents a material based on the Unity Standard Shader | ||
+ | |||
*'''Inherits class: [[DOMMaterial]]''' | *'''Inherits class: [[DOMMaterial]]''' | ||
* 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|ResourceValue BumpMap {get; set;} }} | :{{CSharp|ResourceValue BumpMap {get; set;} }} | ||
+ | :: | ||
+ | ::A JPG or PNG resource that makes up the Normal (bump) Map | ||
:{{CSharp|float BumpScale {get; set;} }} | :{{CSharp|float BumpScale {get; set;} }} | ||
+ | :: | ||
+ | ::The normal map scale | ||
:{{CSharp|Color32 Color {get; set;} }} | :{{CSharp|Color32 Color {get; set;} }} | ||
+ | :: | ||
+ | ::The main color of the material | ||
:{{CSharp|float Cutoff {get; set;} }} | :{{CSharp|float Cutoff {get; set;} }} | ||
+ | :: | ||
+ | ::The albedo alpha cutoff of the material | ||
:{{CSharp|ResourceValue DetailAlbedoMap {get; set;} }} | :{{CSharp|ResourceValue DetailAlbedoMap {get; set;} }} | ||
+ | :: | ||
+ | ::A JPG or PNG resource that makes up the Aetail Albedo Map | ||
:{{CSharp|ResourceValue DetailMask {get; set;} }} | :{{CSharp|ResourceValue DetailMask {get; set;} }} | ||
+ | :: | ||
+ | ::A JPG or PNG resource that makes up the Detail Mask | ||
:{{CSharp|ResourceValue DetailNormalMap {get; set;} }} | :{{CSharp|ResourceValue DetailNormalMap {get; set;} }} | ||
+ | :: | ||
+ | ::A JPG or PNG resource that makes up the Detail Normal Map | ||
:{{CSharp|float DetailNormalMapScale {get; set;} }} | :{{CSharp|float DetailNormalMapScale {get; set;} }} | ||
+ | :: | ||
+ | ::The detail normal map scale of the material | ||
:{{CSharp|Color32 EmissionColor {get; set;} }} | :{{CSharp|Color32 EmissionColor {get; set;} }} | ||
+ | :: | ||
+ | ::The emission color of the material | ||
:{{CSharp|ResourceValue EmissionMap {get; set;} }} | :{{CSharp|ResourceValue EmissionMap {get; set;} }} | ||
+ | :: | ||
+ | ::A JPG or PNG resource that makes up the Emission Map | ||
:{{CSharp|float EmissionStrength {get; set;} }} | :{{CSharp|float EmissionStrength {get; set;} }} | ||
+ | :: | ||
+ | ::The emission strength of the material | ||
:{{CSharp|float Glossiness {get; set;} }} | :{{CSharp|float Glossiness {get; set;} }} | ||
+ | :: | ||
+ | ::The glossiness (shininess) of the material | ||
:{{CSharp|ResourceValue MainTex {get; set;} }} | :{{CSharp|ResourceValue MainTex {get; set;} }} | ||
+ | :: | ||
+ | ::A JPG or PNG resource representing the Main Texture of this material | ||
:{{CSharp|ResourceValue OcclusionMap {get; set;} }} | :{{CSharp|ResourceValue OcclusionMap {get; set;} }} | ||
+ | :: | ||
+ | ::A JPG or PNG resource that makes up the Occlusion Map | ||
:{{CSharp|float OcclusionStrength {get; set;} }} | :{{CSharp|float OcclusionStrength {get; set;} }} | ||
+ | :: | ||
+ | ::The occlusion strength of the material | ||
:{{CSharp|float Parallax {get; set;} }} | :{{CSharp|float Parallax {get; set;} }} | ||
+ | :: | ||
+ | ::The strength of the Hight (parallax) Map | ||
:{{CSharp|ResourceValue ParallaxMap {get; set;} }} | :{{CSharp|ResourceValue ParallaxMap {get; set;} }} | ||
+ | :: | ||
+ | ::A JPG or PNG resource that makes up the Hight (parallax) Map | ||
:{{CSharp|RenderMode RenderingMode {get; set;} }} | :{{CSharp|RenderMode RenderingMode {get; set;} }} | ||
:{{CSharp|string Shader {get; set;} }} | :{{CSharp|string Shader {get; set;} }} | ||
− | |||
:{{CSharp|MaterialUVSec UVSec {get; set;} }} | :{{CSharp|MaterialUVSec UVSec {get; set;} }} | ||
Revision as of 19:40, 4 April 2017
Represents a material based on the Unity Standard Shader
- Inherits class: DOMMaterial
- This is a leaf node type. This node type cannot have children.
Remarks [edit]
Properties
- ResourceValue BumpMap {get; set;}
- A JPG or PNG resource that makes up the Normal (bump) Map
- float BumpScale {get; set;}
- The normal map scale
- Color32 Color {get; set;}
- The main color of the material
- float Cutoff {get; set;}
- The albedo alpha cutoff of the material
- ResourceValue DetailAlbedoMap {get; set;}
- A JPG or PNG resource that makes up the Aetail Albedo Map
- ResourceValue DetailMask {get; set;}
- A JPG or PNG resource that makes up the Detail Mask
- ResourceValue DetailNormalMap {get; set;}
- A JPG or PNG resource that makes up the Detail Normal Map
- float DetailNormalMapScale {get; set;}
- The detail normal map scale of the material
- Color32 EmissionColor {get; set;}
- The emission color of the material
- ResourceValue EmissionMap {get; set;}
- A JPG or PNG resource that makes up the Emission Map
- float EmissionStrength {get; set;}
- The emission strength of the material
- float Glossiness {get; set;}
- The glossiness (shininess) of the material
- ResourceValue MainTex {get; set;}
- A JPG or PNG resource representing the Main Texture of this material
- ResourceValue OcclusionMap {get; set;}
- A JPG or PNG resource that makes up the Occlusion Map
- float OcclusionStrength {get; set;}
- The occlusion strength of the material
- float Parallax {get; set;}
- The strength of the Hight (parallax) Map
- ResourceValue ParallaxMap {get; set;}
- A JPG or PNG resource that makes up the Hight (parallax) Map
- RenderMode RenderingMode {get; set;}
- string Shader {get; set;}
- MaterialUVSec UVSec {get; set;}
Constructors
- DOMMaterialStandard()