Skip to content

ComponentDef

Defined in: component.ts:157

T

readonly _builtin: false

Defined in: component.ts:161


readonly _default: T

Defined in: component.ts:160


readonly _id: symbol

Defined in: component.ts:158


readonly _name: string

Defined in: component.ts:159


readonly animatableFields: readonly string[]

Defined in: component.ts:166


readonly assetFields: readonly AssetFieldMeta[]

Defined in: component.ts:162


readonly colorKeys: readonly string[]

Defined in: component.ts:165


readonly optional discoverAssets?: (data) => AssetRef[]

Defined in: component.ts:172

Record<string, unknown>

AssetRef[]


readonly entityFields: readonly string[]

Defined in: component.ts:164


readonly fieldMeta: Readonly<Record<string, FieldMeta>>

Defined in: component.ts:171


readonly readonlyFields: readonly string[]

Defined in: component.ts:170

Engine-computed output fields the editor must never write back. See ComponentMetadata.readonlyFields.


readonly replicatedFields: readonly string[]

Defined in: component.ts:168

Fields the replication layer syncs; empty = never replicates. See ComponentMetadata.replicatedFields.


readonly optional spineFields?: SpineFieldMeta

Defined in: component.ts:163


readonly transient: boolean

Defined in: component.ts:174

Runtime-only: omitted from scene serialization. See ComponentMetadata.transient.

create(data?): T

Defined in: component.ts:175

Partial<T>

T