Class VFXPropertyBindingAttribute
A ClassAttribute for use with ExposedProperty in order to specify the compatible type of a bound property.
Inherited Members
Namespace: UnityEngine .VFX.Utility
Assembly: Unity.VisualEffectGraph.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public class VFXPropertyBindingAttribute : PropertyAttribute
Constructors
VFXPropertyBindingAttribute(params string[])
Specify the compatible type of a bound property.
Declaration
public VFXPropertyBindingAttribute(params string[] editorTypes)
Parameters
Type | Name | Description |
---|---|---|
string[] | editorTypes | The array of compatible editor types, expressed as string including namespace. For instance, the value returned by |
Fields
EditorTypes
The array of compatible editor types, expressed as string including namespace.
For instance, the value returned by typeof(float).FullName
(System.Single).
Declaration
public string[] EditorTypes
Field Value
Type | Description |
---|---|
string[] |