Class VFXBinderBase
Base Class to derive in order to Write Visual Effect Binders
Inherited Members
Namespace: UnityEngine .VFX.Utility
Assembly: Unity.VisualEffectGraph.Runtime.dll
Syntax
[ExecuteInEditMode]
[RequireComponent(typeof(VFXPropertyBinder))]
public abstract class VFXBinderBase : MonoBehaviour
Fields
Name | Description |
---|---|
binder | VFXPropertyBinder master behaviour this binder is attached to. |
Methods
Name | Description |
---|---|
Awake() | Awake Message : gets the master VFX Property Binder from this game object. |
Is |
Implement this method to perform validity checks:
|
On |
OnEnable Message : Removes this binding from the VFXPropertyBinder update loop |
On |
OnEnable Message : Adds this binding in the VFXPropertyBinder update loop |
Reset() | Optional method allowing potential manual state reset of binder |
To |
Returns a readable string summary of this Binder. |
Update |
Implement UpdateBinding to perform the actual binding. This method is called by the VFXPropertyBinder if IsValid() returns true; |