Skip to main content

EntityUpdatedEvent

Defined in: livelink.js/sources/scene/EntityEvents.ts:11

The event that is fired when an entity is updated, either by adding, modifying or removing components.

Extends

  • Event

Properties

PropertyModifierTypeDescription
change_sourcereadonly"local" | "external"The source of the change. - "external": The change was made by another user from another instance of the app or even another app. - "internal": The change was made by the current app.
new_componentsreadonlykeyof ComponentsRecord[]The names of the components that were added.
updated_componentsreadonlykeyof ComponentsRecord[]The names of the components that were updated.
deleted_componentsreadonlykeyof ComponentsRecord[]The names of the components that were removed.

Methods

isAnyComponentDirty()

isAnyComponentDirty(__namedParameters: {
components: keyof ComponentsRecord[];
}): boolean

Defined in: livelink.js/sources/scene/EntityEvents.ts:37

Parameters

ParameterType
__namedParameters{ components: keyof ComponentsRecord[]; }
__namedParameters.componentskeyof ComponentsRecord[]

Returns

boolean