User guide
51
...
numberOfCubes 23
rotateCubes 1
rotateCubes__hints group attribute (used for UI
widget "checkBox"
resolveIds (optional).
NOTE: The ScenegraphGeneratorSetup node does not run the plug-in's code itself. Figuratively speaking, it
merely loads and aims the cannon, ready for the powder to be lit by a ScenegraphGeneratorResolve node.
ScenegraphGeneratorSetup nodes can be tagged with a resolveId, or multiple resolveIds in a space, or comma
delimited list. As shown above, if a resolveId is entered into a ScenegraphGeneratorSetup node, the resulting pre-
resolve scene graph location contains an Attribute named resolveIds, holding the specified resolveId value. This
value is used at resolve time to select ScenegraphGenerator locations to resolve.
ScenegraphGeneratorResolve
The ScenegraphGeneratorResolve node is used to execute SGG plug-ins in order to create scene graph data. It
traverses Katana's Scene Graph, looks for locations of type scenegraphGenerator and executes the plug-ins that
are described in the attribute data on those locations.
The only parameter to control operation available in a ScenegraphGeneratorResolve node is resolveWithIds, which
can be set to either all or specified. If set to all, the ScenegraphGeneratorResolve node ignores resolveIds and
resolves all locations of type scenegraphGenerator. If set to specified, the resolve traverses the Scene Graph
looking for locations of type scenegraphGenerator, with at least one matching resolveIds.
It is important to note that a ScenegraphGeneratorResolve node set to ignore resolveIDs operates on all locations of
type scenegraphGenerator that it finds in the Katana project, no matter how they were created.
For more on setting, and using resolveIDs in SGG nodes, see the Generating Scene Graph Data with a Plug-in
section in the Katana User Guide.
8 SCENE GRAPH GENERATOR PLUG-INS | RUNNING AN SGG PLUG-IN