Update

Description

Updates all 2D and 3D objects based on the given time, animation, physics, etc. If time is 0 it uses the last frame time to step the simulation. If you have already called StepPhysics this frame it will not be called again for this frame.

Called automatically by Sync, you may either use Sync or Update(), Render(), Swap() to manually sync. If you wish to have more control you can break this down further by replacing Update with Update2D, Update3D()

Definition

Update( time )

Parameters