@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / types / ParentLookup
Type Alias: ParentLookup
ts
type ParentLookup = {
parentIdComponent: ParentId | null;
parent: WorldEntityView | null;
};Defined in: types.ts:132
Result of a parent lookup. parent is null for entities at the root or for entities without a ParentId component.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
parentIdComponent | ParentId | null | The entity's ParentId component, or null if it has none. | types.ts:134 |
parent | WorldEntityView | null | The resolved parent entity view, or null if the entity is at the root. | types.ts:136 |

