ControlRig¶
Wraps a UControlRigBlueprint for inspecting and building rig hierarchies.
Import¶
Loading a Control Rig¶
Finding Control Rigs¶
Properties¶
| Property | Type | Description |
|---|---|---|
name |
str | Asset name |
path |
str | Full Content Browser path |
controls |
list[Control] | All controls in the hierarchy |
bones |
list[Bone] | All bones (read-only, from skeleton) |
nulls |
list[Null] | All null/space/group elements |
Methods¶
add_control(name, parent=None, shape='Circle', color=None, location=None, rotation=None, scale=None)¶
Add a control to the hierarchy.
Color presets: 'red', 'green', 'blue', 'yellow', 'cyan',
'magenta', 'white', 'orange', 'purple'. Also accepts (r, g, b)
or (r, g, b, a) tuples (0-1 range).
add_null(name, parent=None, location=None, rotation=None)¶
Add a null (space/group) to the hierarchy.
get_control(name)¶
Get an existing control by name.