Eyeon:Script/Reference/Applications/Fuse/ViewShader/Events/Create
From VFXPedia
ViewShader Reference Manual > Create
Event Function
Contents |
Summary
The Create event function is executed when the ScriptViewShader is selected from the list of LUTs, once LUTs are enabled. Its job is to create any user controls, and to do any once-off setup for anything needed repeatedly later on. All objects created here are automatically destroyed when the ViewShader itself is destroyed.
The Create function does not require or use any arguments and does not return a value.
While all ScriptViewShaders MUST provide a Create event function, that function can be empty.
Adding controls is done with self:AddInput(), in the same fashion as with Fuse tools. Note that ViewShaders have no Output object, so no AddOutput() call is required.
Usage
Create()
Arguments
None
Examples
All ScriptViewShaders have a Create function. See the Example ViewShaders page.