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
Property | Modifier | Type | Description |
---|---|---|---|
change_source | readonly | "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_components | readonly | keyof ComponentsRecord [] | The names of the components that were added. |
updated_components | readonly | keyof ComponentsRecord [] | The names of the components that were updated. |
deleted_components | readonly | keyof 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
Parameter | Type |
---|---|
__namedParameters | { components : keyof ComponentsRecord []; } |
__namedParameters.components | keyof ComponentsRecord [] |
Returns
boolean