EyeonTips:Script/Reference/Applications/Fuse/Classes/ScriptOperator

From VFXPedia

Jump to: navigation, search

The ScriptOperator object of a fuse is usually accessed via "self" from within your fuse.

Additional Methods:

:FindInput(id)

This method can be used to get the reference to an input if all you know is its ID. This is hardly useful if you have created your inputs in Create() and you have stored them in global variables (like in all Fuse examples on this site). But if you have created inputs dynamically in OnAddToFlow() or OnConnected() this is the only way to access them in Process()

Additional Members:

.Name

Contains the tool's name. Useful for printing error messages to the console.