docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property propertyNameId

    propertyNameId

    Specifies the unique shader property name ID for the material shader texture.

    Declaration
    public int propertyNameId { get; }
    Property Value
    Type Description
    int

    The unique shader property name ID for the material shader texture.

    Remarks

    Use the static method Shader.PropertyToID(string name) to get the unique identifier.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023