Class SceneTicking
Scene gameplay updating helper subsystem that boosts the level ticking by providing efficient objects cache.
Inheritance
SceneTicking
Assembly: FlaxEngine.dll
File: Engine/Level/Scene/SceneTicking.h
Syntax
public class SceneTicking
Fields
FixedUpdate
The fixed update tick function.
Declaration
public FixedUpdateTickData FixedUpdate
Field Value
|
FixedUpdateTickData
|
LateFixedUpdate
The late fixed update tick function.
Declaration
public LateFixedUpdateTickData LateFixedUpdate
Field Value
|
LateFixedUpdateTickData
|
LateUpdate
The late update tick function.
Declaration
public LateUpdateTickData LateUpdate
Field Value
|
LateUpdateTickData
|
Update
The update tick function.
Declaration
public UpdateTickData Update
Field Value
|
UpdateTickData
|
Methods
AddScript(Script* obj)
Adds the script to scene ticking system.
Declaration
public void AddScript(Script* obj)
Parameters
|
Script
obj
The object. |
Clear()
Clears this instance data.
Declaration
public void Clear()
RemoveScript(Script* obj)
Removes the script from scene ticking system.
Declaration
public void RemoveScript(Script* obj)
Parameters
|
Script
obj
The object. |
SetTicking(bool enable)
Changes the ability to tick. When disabled, the ticking functions won't be called. Can be called during ticking (eg. when scene is unloaded) to stp performing any more ticks.
Declaration
public void SetTicking(bool enable)
Parameters
|
bool
enable
|