Skip to main content

EntityResponse

@3dverse/livelink v0.8.10


@3dverse/livelink / EntityResponse

Type Alias: EntityResponse

EntityResponse: object

Defined in: node_modules/@3dverse/livelink.core/dist/sources/EntityUtils.d.ts:83

The response to a find entity query.

Type declaration

components

components: EntityCore

The components of the entity.

ancestors?

optional ancestors: EntityResponse[]

The ancestors of the entity.

If undefined, the ancestors were not requested, and it should not be assumed that the entity has no ancestors.

It defined and empty, the entity has no ancestors.

Otherwise, it contains the ancestors of the entity starting with the topmost ancestor (the one that has no parent) going all the way down to the direct parent of the entity.