stf.prefab¶
[ Schema | Category: Data ]
Represents an hierarchy of nodes in 3d space.
Implementations¶
Blender |
bpy.types.Collection |
|
Godot |
The root-node of a scene |
|
Unity |
GameObject/Prefab |
|
Three.js |
Object3D |
Properties¶
type¶
required Constant: "stf.prefab"
root_nodes¶
required Type: array<Resource-Ref>
Must have a type of stf.node.
animations¶
optional Type: array<Resource-Ref>
Must import into the respective applications animation data-type.
Json Example:¶
{
"type": "stf.prefab",
"name": "Frank",
"root_nodes": [
0,
1
],
"animations": [
2,
3,
4
],
"referenced_resources": [
"e6ae2ed1-fc53-43ee-ac53-05bf296d5fc1",
"1bef1076-0f2a-402e-8e9f-57d2c7095319",
"2a6749bb-989f-4cbc-a58e-9f62ab621b85",
"d8720816-19b3-4eb7-a597-177acf742631",
"49ebe3d6-b733-4556-91ce-5adc6779f0b3"
],
"components": [
"f4957bbb-007e-4191-8429-8e871412e2f5",
"1985e7e5-a8ac-4d28-b5b0-344abd5f520b"
]
}