Class VFXPropertyBinder
A Behaviour that controls binding between Visual Effect Properties, and other scene values, through the use of VFXBinderBase
Inherited Members
Namespace: UnityEngine.VFX.Utility
Assembly: Unity.VisualEffectGraph.Runtime.dll
Syntax
[RequireComponent(typeof(VisualEffect))]
[DefaultExecutionOrder(1)]
[DisallowMultipleComponent]
[ExecuteInEditMode]
public class VFXPropertyBinder : MonoBehaviour
Fields
| Name | Description |
|---|---|
| m_Bindings | The list of all Bindings attached to the binder, these bindings are managed by the VFXPropertyBinder and should be managed using the AddPropertyBinder, ClearPropertyBinders, RemovePropertyBinder, RemovePropertyBinders, and GetPropertyBinders. |
| m_ExecuteInEditor | Whether the bindings should be executed in editor (as preview) |
| m_VisualEffect | The Visual Effect component attached to the VFXPropertyBinder |
Methods
| Name | Description |
|---|---|
| AddParameterBinder<T>() | Adds a new PropertyBinder |
| AddPropertyBinder<T>() | Adds a new PropertyBinder |
| ClearParameterBinders() | Clears all the Property Binders |
| ClearPropertyBinders() | Clears all the Property Binders |
| GetParameterBinders<T>() | Gets all VFXBinderBase of Given Type, attached to this VFXPropertyBinder |
| GetPropertyBinders<T>() | Gets all VFXBinderBase of Given Type, attached to this VFXPropertyBinder |
| RemoveParameterBinder(VFXBinderBase) | Removes specified Property Binder |
| RemoveParameterBinders<T>() | Remove all Property Binders of Given Type |
| RemovePropertyBinder(VFXBinderBase) | Removes specified Property Binder |
| RemovePropertyBinders<T>() | Remove all Property Binders of Given Type |