stf.instance.armature¶
Instantiates an armature onto a node.
Implementations¶
Blender |
bpy.types.Object with bpy.types.Armature |
|
Unity |
GameObject |
|
Godot |
Skeleton3D |
Properties¶
Key |
Required |
Type |
Description |
|---|---|---|---|
armature |
Yes |
Resource-ID |
ID of the instantiated armature resource, usually |
pose |
No |
Map<Resource-ID, TRS> |
Map of the corresponding bone and TRS. |
added_components |
No |
Map<Resource-ID, List |
A list of component-IDs that are added to bones within this armature instance. |
modified_components |
No |
Map<Resource-ID, Map<Resource-ID, JSON>> |
A reference to bones within the armature instance -> a component on that bone instance -> a JSON object with changes to that component. |
Json Example¶
"14b62a8a-2b3d-408f-aef0-72b3e797318b": {
"type": "stf.instance.armature",
"name": "",
"referenced_resources": [
"7ae076bd-d53f-478e-8b80-73bdaff97f2d"
],
"armature": 0,
"pose": {
"b6f82f9a-b78f-4778-a513-32f4e2342ed0": [
[
0,
0.6796078085899353,
-0.01611711084842682
],
[
0,
0,
0,
1
],
[
1,
1,
1
]
],
"1e803b23-4d6e-4f3e-8194-976fe699a46c": [
[
0,
0.11233383417129517,
0
],
[
0,
0,
0,
1
],
[
1,
1,
1
]
]
}
}