Class Vector2ShaderProperty
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 Vector2ShaderProperty : VectorShaderProperty, IShaderProperty
Constructors
Vector2ShaderProperty()
Declaration
public Vector2ShaderProperty()
Properties
defaultValue
Declaration
public override Vector4 defaultValue { get; }
Property Value
| Type | Description |
|---|---|
| Vector4 |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<Vector4>.defaultValue
isBatchable
Declaration
public override bool isBatchable { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<Vector4>.isBatchable
propertyType
Declaration
public override PropertyType propertyType { get; }
Property Value
| Type | Description |
|---|---|
| PropertyType |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<Vector4>.propertyType
Methods
Copy()
Declaration
public override IShaderProperty Copy()
Returns
| Type | Description |
|---|---|
| IShaderProperty |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<Vector4>.Copy()
GetPreviewMaterialProperty()
Declaration
public override PreviewProperty GetPreviewMaterialProperty()
Returns
| Type | Description |
|---|---|
| PreviewProperty |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<Vector4>.GetPreviewMaterialProperty()
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<Vector4>.GetPropertyDeclarationString(System.String)
ToConcreteNode()
Declaration
public override INode ToConcreteNode()
Returns
| Type | Description |
|---|---|
| INode |
Overrides
UnityEditor.ShaderGraph.AbstractShaderProperty<Vector4>.ToConcreteNode()