docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ShaderConversion

    Class to convert CustomMaterials

    Inheritance
    object
    ShaderConversion
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Pixyz.UnitySDK
    Assembly: Unity.Pixyz.UnitySDK.Editor.dll
    Syntax
    [Serializable]
    public class ShaderConversion

    Constructors

    ShaderConversion(string, string)

    Constructor

    Declaration
    public ShaderConversion(string shaderName, string targetShaderName)
    Parameters
    Type Name Description
    string shaderName

    Shader name

    string targetShaderName

    Target Shader name

    Properties

    PropertyBinding

    Property binding

    Declaration
    public Dictionary<string, string> PropertyBinding { get; }
    Property Value
    Type Description
    Dictionary<string, string>

    ShaderName

    Shader

    Declaration
    public string ShaderName { get; }
    Property Value
    Type Description
    string

    TargetShaderName

    Target shader

    Declaration
    public string TargetShaderName { get; set; }
    Property Value
    Type Description
    string

    Methods

    Clone()

    Clone

    Declaration
    public ShaderConversion Clone()
    Returns
    Type Description
    ShaderConversion

    Returned value

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)