stf.prefab

A prefab represents a hierarchy of nodes. It’s always the root resource of an STF asset.

Implementations

Blender

bpy.types.Collection

Resource

Unity

GameObject/Prefab

Resource
Default Processor

Godot

The root-node of a scene

Resource

Properties

Key

Required

Type

Description

root_nodes

Yes

List

IDs of the root nodes within this prefab

animations

No

List

Animations which originate from this prefab’s root

The only allowed type for nodes in root_nodes is stf.node.

Json Example

"a6452f90-3edb-4fcd-bfe5-f7860a1ea665": {
	"type": "stf.prefab",
	"name": "Collection",
	"root_nodes": [
		0,
		1,
		2
	],
	"animations": [
		3
	],
	"referenced_resources": [
		"00058dcb-4e27-4067-9163-3f9ef959faf1",
		"b12620eb-5c3a-433c-a93c-4c5d6d158f2b",
		"1fe7444e-7090-495b-90e7-ca3cbc167930",
		"44ce3d6f-ccaf-48c1-ba59-155bb58d6a40"
	]
}