User guide
86
Control (UI) Default Value Function
applyWhen immediate Determines when the script is run:
• immediate - the script runs at the locations specified by the
CEL statement as they are evaluated at this node's point in the
graph.
• during attribute modifier plugin resolve - the script and
its arguments are added as attributes under the Scene
GraphLocationModifers group attribute and run later by the
implicit ScenegraphLocationModifierResolve filter added at
render time.
• during katana look file resolve - the script and its
arguments are added as attributes under the Scene
GraphLocationModifers group attribute and are evaluated by
a LookFileResolve node or by the first implicit resolver if no
LookFileResolve node is present.
Note: Plug-in resolve and look file resolve may be tested either
by enabling Scenegraph Implicit Resolvers in the Scene
Graph tab or with an AttributeModifierResolve or
LookFileResolve node.
• during material resolve - the script and its arguments are
added as attributes under the
material.scenegraphLocationModifers group attribute.
This is primarily intended for material Scene Graph locations.
The material resolve process evaluates the script at the
locations at which the material is assign or applied. This can be
useful for building randomization or procedural control over
shader parameters at the material level without having to
apply materialOverride attributes at the geometry level.
applyWhen: during attribute modifier plugin resolve, during katana look file resolve, or during
material resolve.
recursiveEnable No
initializationScript No Enables an optional setup script to be run before the first
location at which the attribute script evaluates. The user
module is available to store persistent data and retrieve
parameter values
2 NODES A-C | ATTRIBUTESCRIPT