trigger.library.optimization
Collection of methods aiming to optimize the scene and rig itself
Functions
|
Limit the deformer influence to the given vertex ids. |
|
Create visibility and nodeState connections between controllers and nodes. |
Module Contents
- set_deformer_influence(deformer, vertex_ids)
Limit the deformer influence to the given vertex ids.
- switch_connections(switch, override_switch, kill_nodes, switch_on_visibles, switch_on_invisibles)
Create visibility and nodeState connections between controllers and nodes.
- Args:
switch: (String) Attribute which will act as the on off switch. e.g. ‘pref_cont.faceProxyMode’ override_switch: (String) Attribute which will globally override the switch.
This will make every defined node visible on both switch_on_visibles and switch_on_invisibles lists and switch the nodestates into ‘normal’ state no matter what
kill_nodes: (List) nodes which will be turned off when the switch turned on switch_on_visibles: (List) nodes which their visibilities will turned on when the switch is on.
These will be always visible if the override_switch is on
- switch_on_invisibles: (List) nodes which will be invisible when the switch is on.
These will be always visible if the override_switch is on
Returns: None