Skip to main content

Updateable

Whether this component should be updated each frame.

Extended by​

Properties​

onAfterUpdate​

onAfterUpdate: Event<any>

Actions that should be executed after updating the component.


onBeforeUpdate​

onBeforeUpdate: Event<any>

Actions that should be executed before updating the component.

Methods​

update()​

update(delta?): void

Function used to update the state of this component each frame. For instance, a renderer component will make a render each frame.

Parameters​

ParameterType
delta?number

Returns​

void