Interface IShaderProperty | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IShaderProperty

    Namespace: UnityEditor.ShaderGraph
    Syntax
    public interface IShaderProperty

    Properties

    defaultValue

    Declaration
    Vector4 defaultValue { get; }
    Property Value
    Type Description
    Vector4

    displayName

    Declaration
    string displayName { get; set; }
    Property Value
    Type Description
    System.String

    generatePropertyBlock

    Declaration
    bool generatePropertyBlock { get; set; }
    Property Value
    Type Description
    System.Boolean

    guid

    Declaration
    Guid guid { get; }
    Property Value
    Type Description
    Guid

    isBatchable

    Declaration
    bool isBatchable { get; }
    Property Value
    Type Description
    System.Boolean

    overrideReferenceName

    Declaration
    string overrideReferenceName { get; set; }
    Property Value
    Type Description
    System.String

    propertyType

    Declaration
    PropertyType propertyType { get; }
    Property Value
    Type Description
    PropertyType

    referenceName

    Declaration
    string referenceName { get; }
    Property Value
    Type Description
    System.String

    Methods

    Copy()

    Declaration
    IShaderProperty Copy()
    Returns
    Type Description
    IShaderProperty

    GetPreviewMaterialProperty()

    Declaration
    PreviewProperty GetPreviewMaterialProperty()
    Returns
    Type Description
    PreviewProperty

    GetPropertyAsArgumentString()

    Declaration
    string GetPropertyAsArgumentString()
    Returns
    Type Description
    System.String

    GetPropertyBlockString()

    Declaration
    string GetPropertyBlockString()
    Returns
    Type Description
    System.String

    GetPropertyDeclarationString(String)

    Declaration
    string GetPropertyDeclarationString(string delimiter = ";")
    Parameters
    Type Name Description
    System.String delimiter
    Returns
    Type Description
    System.String

    ToConcreteNode()

    Declaration
    INode ToConcreteNode()
    Returns
    Type Description
    INode
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 18 October 2023