@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / components / ParentId
Class: ParentId
Defined in: components/ParentId.ts:11
Records the parent entity id for hierarchical scene graphs. null means the entity is at the world root. The ObjectManagementSystem reconciles scene-graph parenting from this component each frame.
Extends
Constructors
Constructor
ts
new ParentId(value?): ParentId;Defined in: components/ParentId.ts:15
Parameters
| Parameter | Type | Default value |
|---|---|---|
value | number | null | null |
Returns
ParentId
Overrides
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
value | number | null | Parent entity id, or null for root-level entities. | components/ParentId.ts:13 |

