Class StandardShaderSample
Inheritance
StandardShaderSample
Syntax
[Serializable]
[UsdSchema("Shader")]
public class StandardShaderSample : ShaderSample
Constructors
StandardShaderSample()
Declaration
public StandardShaderSample()
Fields
albedo
Declaration
[InputParameter("_Color")]
public Connectable<Color> albedo
Field Value
albedoMap
Declaration
[InputTexture("_MainTex")]
public Connectable<Color> albedoMap
Field Value
cutoff
Declaration
[InputParameter("_Cutoff")]
public Connectable<float> cutoff
Field Value
detailAlbedoMap
Declaration
[InputTexture("_DetailAlbedoMap")]
[RequireShaderKeywords("_DETAIL_MULX2")]
public Connectable<Color> detailAlbedoMap
Field Value
detailMask
Declaration
[InputTexture("_DetailMask")]
public Connectable<Color> detailMask
Field Value
detailNormalMap
Declaration
[InputTexture("_DetailNormalMap")]
[RequireShaderKeywords("_DETAIL_MULX2")]
public Connectable<Color> detailNormalMap
Field Value
detailNormalMapScale
Declaration
[InputParameter("_DetailNormalMapScale")]
public Connectable<float> detailNormalMapScale
Field Value
dstBlend
Declaration
[InputParameter("_DstBlend")]
public Connectable<float> dstBlend
Field Value
emission
Declaration
[InputParameter("_EmissionColor")]
public Connectable<Color> emission
Field Value
emissionMap
Declaration
[InputTexture("_EmissionMap")]
[RequireShaderKeywords("_EMISSION")]
public Connectable<Color> emissionMap
Field Value
enableGlossyReflections
Declaration
[InputParameter("_GlossyReflections")]
public Connectable<bool> enableGlossyReflections
Field Value
enableGpuInstancing
Declaration
[UsdNamespace("info")]
public bool enableGpuInstancing
Field Value
enableSpecularHighlights
Declaration
[InputParameter("_SpecularHighlights")]
public Connectable<bool> enableSpecularHighlights
Field Value
Declaration
[InputTexture("_MetallicGlossMap")]
[RequireShaderKeywords("_METALLICGLOSSMAP")]
public Connectable<float> metallicMap
Field Value
Declaration
[InputParameter("_Metallic")]
public Connectable<float> metallicScale
Field Value
normalMap
Declaration
[InputTexture("_BumpMap")]
[RequireShaderKeywords("_NORMALMAP")]
public Connectable<Color> normalMap
Field Value
normalMapScale
Declaration
[InputParameter("_BumpScale")]
public Connectable<float> normalMapScale
Field Value
occlusionMap
Declaration
[InputTexture("_OcclusionMap")]
public Connectable<float> occlusionMap
Field Value
occlusionMapScale
Declaration
[InputParameter("_OcclusionStrength")]
public Connectable<float> occlusionMapScale
Field Value
parallaxMap
Declaration
[InputTexture("_ParallaxMap")]
[RequireShaderKeywords("_PARALLAXMAP")]
public Connectable<Color> parallaxMap
Field Value
parallaxMapScale
Declaration
[InputParameter("_Parallax")]
public Connectable<float> parallaxMapScale
Field Value
renderingMode
Declaration
[InputParameter("_Mode")]
public Connectable<float> renderingMode
Field Value
smoothness
Declaration
[InputParameter("_Glossiness")]
public Connectable<float> smoothness
Field Value
smoothnessScale
Declaration
[InputParameter("_GlossMapScale")]
public Connectable<float> smoothnessScale
Field Value
smoothnessTextureChannel
Declaration
[InputParameter("_SmoothnessTextureChannel")]
public Connectable<float> smoothnessTextureChannel
Field Value
srcBlend
Declaration
[InputParameter("_SrcBlend")]
public Connectable<float> srcBlend
Field Value
uvSetForSecondaryTextures
Declaration
[InputParameter("_UVSec")]
public Connectable<float> uvSetForSecondaryTextures
Field Value
zwrite
Declaration
[InputParameter("_ZWrite")]
public Connectable<float> zwrite
Field Value
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.