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