hkb_editor.gui.dialogs.create_stateinfo_dialog
¶
create_stateinfo_dialog
¶
Bases: DpgItem
Create a new animation slot (StateInfo + CMSG + ClipGenerator).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
behavior
|
HavokBehavior
|
Behavior to modify. |
required |
callback
|
callable
|
Called as |
required |
active_statemachine
|
HkbRecord or str
|
Pre-selected state machine; falls back to the first one found. |
None
|
title
|
str
|
Window title bar label. |
'Create Slot'
|
tag
|
int or str
|
Explicit tag; auto-generated if 0. |
0
|
user_data
|
any
|
Passed through to |
None
|