Class TextureShaderProperty
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.ShaderGraph
Syntax
public class TextureShaderProperty : AbstractShaderProperty<SerializableTexture>, IShaderProperty
Constructors
TextureShaderProperty()
Declaration
public TextureShaderProperty()
Properties
defaultType
Declaration
public TextureShaderProperty.DefaultType defaultType { get; set; }
Property Value
Type | Description |
---|---|
TextureShaderProperty.DefaultType |
defaultValue
Declaration
public override Vector4 defaultValue { get; }
Property Value
Type | Description |
---|---|
Vector4 |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<UnityEditor.ShaderGraph.SerializableTexture>.defaultValue
isBatchable
Declaration
public override bool isBatchable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<UnityEditor.ShaderGraph.SerializableTexture>.isBatchable
modifiable
Declaration
public bool modifiable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
propertyType
Declaration
public override PropertyType propertyType { get; }
Property Value
Type | Description |
---|---|
PropertyType |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<UnityEditor.ShaderGraph.SerializableTexture>.propertyType
Methods
Copy()
Declaration
public override IShaderProperty Copy()
Returns
Type | Description |
---|---|
IShaderProperty |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<UnityEditor.ShaderGraph.SerializableTexture>.Copy()
GetPreviewMaterialProperty()
Declaration
public override PreviewProperty GetPreviewMaterialProperty()
Returns
Type | Description |
---|---|
PreviewProperty |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<UnityEditor.ShaderGraph.SerializableTexture>.GetPreviewMaterialProperty()
GetPropertyAsArgumentString()
Declaration
public override string GetPropertyAsArgumentString()
Returns
Type | Description |
---|---|
System.String |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<UnityEditor.ShaderGraph.SerializableTexture>.GetPropertyAsArgumentString()
GetPropertyBlockString()
Declaration
public override string GetPropertyBlockString()
Returns
Type | Description |
---|---|
System.String |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<UnityEditor.ShaderGraph.SerializableTexture>.GetPropertyBlockString()
GetPropertyDeclarationString(String)
Declaration
public override string GetPropertyDeclarationString(string delimiter = ";")
Parameters
Type | Name | Description |
---|---|---|
System.String | delimiter |
Returns
Type | Description |
---|---|
System.String |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<UnityEditor.ShaderGraph.SerializableTexture>.GetPropertyDeclarationString(System.String)
ToConcreteNode()
Declaration
public override INode ToConcreteNode()
Returns
Type | Description |
---|---|
INode |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<UnityEditor.ShaderGraph.SerializableTexture>.ToConcreteNode()