Class ShaderConversion
Class to convert CustomMaterials
Inherited Members
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 |