Skip to main content

EntityResponse

type EntityResponse = {
components: EntityCore;
ancestors: EntityResponse[];
};

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

The response to a find entity query.

Type declaration

NameTypeDescription
componentsEntityCoreThe components of the entity.
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.