docs.unity3d.com
    Show / Hide Table of Contents

    Class StandardShaderSample

    Inheritance
    Object
    SampleBase
    ShaderSample
    StandardShaderSample
    Inherited Members
    ShaderSample.id
    ShaderSample.GetInputParameters()
    ShaderSample.GetInputTextures()
    SampleBase.Free()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: USD.NET.Unity
    Syntax
    [Serializable]
    [UsdSchema("Shader")]
    public class StandardShaderSample : ShaderSample

    Constructors

    StandardShaderSample()

    Declaration
    public StandardShaderSample()

    Fields

    albedo

    Declaration
    [InputParameter("_Color")]
    public Connectable<Color> albedo
    Field Value
    Type Description
    Connectable<Color>

    albedoMap

    Declaration
    [InputTexture("_MainTex")]
    public Connectable<Color> albedoMap
    Field Value
    Type Description
    Connectable<Color>

    cutoff

    Declaration
    [InputParameter("_Cutoff")]
    public Connectable<float> cutoff
    Field Value
    Type Description
    Connectable<Single>

    detailAlbedoMap

    Declaration
    [InputTexture("_DetailAlbedoMap")]
    [RequireShaderKeywords("_DETAIL_MULX2")]
    public Connectable<Color> detailAlbedoMap
    Field Value
    Type Description
    Connectable<Color>

    detailMask

    Declaration
    [InputTexture("_DetailMask")]
    public Connectable<Color> detailMask
    Field Value
    Type Description
    Connectable<Color>

    detailNormalMap

    Declaration
    [InputTexture("_DetailNormalMap")]
    [RequireShaderKeywords("_DETAIL_MULX2")]
    public Connectable<Color> detailNormalMap
    Field Value
    Type Description
    Connectable<Color>

    detailNormalMapScale

    Declaration
    [InputParameter("_DetailNormalMapScale")]
    public Connectable<float> detailNormalMapScale
    Field Value
    Type Description
    Connectable<Single>

    dstBlend

    Declaration
    [InputParameter("_DstBlend")]
    public Connectable<float> dstBlend
    Field Value
    Type Description
    Connectable<Single>

    emission

    Declaration
    [InputParameter("_EmissionColor")]
    public Connectable<Color> emission
    Field Value
    Type Description
    Connectable<Color>

    emissionMap

    Declaration
    [InputTexture("_EmissionMap")]
    [RequireShaderKeywords("_EMISSION")]
    public Connectable<Color> emissionMap
    Field Value
    Type Description
    Connectable<Color>

    enableGlossyReflections

    Declaration
    [InputParameter("_GlossyReflections")]
    public Connectable<bool> enableGlossyReflections
    Field Value
    Type Description
    Connectable<Boolean>

    enableGpuInstancing

    Declaration
    [UsdNamespace("info")]
    public bool enableGpuInstancing
    Field Value
    Type Description
    Boolean

    enableSpecularHighlights

    Declaration
    [InputParameter("_SpecularHighlights")]
    public Connectable<bool> enableSpecularHighlights
    Field Value
    Type Description
    Connectable<Boolean>

    metallicMap

    Declaration
    [InputTexture("_MetallicGlossMap")]
    [RequireShaderKeywords("_METALLICGLOSSMAP")]
    public Connectable<float> metallicMap
    Field Value
    Type Description
    Connectable<Single>

    metallicScale

    Declaration
    [InputParameter("_Metallic")]
    public Connectable<float> metallicScale
    Field Value
    Type Description
    Connectable<Single>

    normalMap

    Declaration
    [InputTexture("_BumpMap")]
    [RequireShaderKeywords("_NORMALMAP")]
    public Connectable<Color> normalMap
    Field Value
    Type Description
    Connectable<Color>

    normalMapScale

    Declaration
    [InputParameter("_BumpScale")]
    public Connectable<float> normalMapScale
    Field Value
    Type Description
    Connectable<Single>

    occlusionMap

    Declaration
    [InputTexture("_OcclusionMap")]
    public Connectable<float> occlusionMap
    Field Value
    Type Description
    Connectable<Single>

    occlusionMapScale

    Declaration
    [InputParameter("_OcclusionStrength")]
    public Connectable<float> occlusionMapScale
    Field Value
    Type Description
    Connectable<Single>

    parallaxMap

    Declaration
    [InputTexture("_ParallaxMap")]
    [RequireShaderKeywords("_PARALLAXMAP")]
    public Connectable<Color> parallaxMap
    Field Value
    Type Description
    Connectable<Color>

    parallaxMapScale

    Declaration
    [InputParameter("_Parallax")]
    public Connectable<float> parallaxMapScale
    Field Value
    Type Description
    Connectable<Single>

    renderingMode

    Declaration
    [InputParameter("_Mode")]
    public Connectable<float> renderingMode
    Field Value
    Type Description
    Connectable<Single>

    smoothness

    Declaration
    [InputParameter("_Glossiness")]
    public Connectable<float> smoothness
    Field Value
    Type Description
    Connectable<Single>

    smoothnessScale

    Declaration
    [InputParameter("_GlossMapScale")]
    public Connectable<float> smoothnessScale
    Field Value
    Type Description
    Connectable<Single>

    smoothnessTextureChannel

    Declaration
    [InputParameter("_SmoothnessTextureChannel")]
    public Connectable<float> smoothnessTextureChannel
    Field Value
    Type Description
    Connectable<Single>

    srcBlend

    Declaration
    [InputParameter("_SrcBlend")]
    public Connectable<float> srcBlend
    Field Value
    Type Description
    Connectable<Single>

    uvSetForSecondaryTextures

    Declaration
    [InputParameter("_UVSec")]
    public Connectable<float> uvSetForSecondaryTextures
    Field Value
    Type Description
    Connectable<Single>

    zwrite

    Declaration
    [InputParameter("_ZWrite")]
    public Connectable<float> zwrite
    Field Value
    Type Description
    Connectable<Single>
    Back to top
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Thursday, October 19, 2023