Enumeration ContextEvent

The various events that can be dispatched by a Needle Engine IContext instance

Enumeration Members

ContextCleared

Called after the context has been cleared (all objects in the scene have been destroyed and state has been reset)

ContextClearing

Called before the context is being cleared (all objects in the scene are being destroyed and state is reset)

ContextCreated

Called when the context has been created, before the first frame

ContextCreationStart

called before the first glb is loaded, can be used to initialize physics engine, is awaited

ContextDestroyed

Called when the context has been destroyed

ContextDestroying

Called before the context gets destroyed

ContextFirstFrameRendered

Called after the first frame has been rendered after creation

ContextRegistered

called when the context is registered to the registry, the context is not fully initialized at this point

MissingCamera

Called when the context could not find a camera during creation