Files
XCEngine/docs/api/scene/scene/update.md
ssdfasd a9d5a68dd6 docs: Add Component, GameObject, TransformComponent and Scene API documentation
- Add Component class documentation with lifecycle methods
- Add GameObject class documentation with component system
- Add TransformComponent documentation with transform methods
- Add Scene class documentation with GameObject management
- Add SceneManager singleton documentation with scene loading
- Update components.md overview with all component classes
- Update main.md navigation with Scene module
2026-03-22 03:33:55 +08:00

400 B

Update

Update all GameObjects in this scene.

Syntax

void Update(float deltaTime);

Parameters

  • deltaTime - The time elapsed since the last frame in seconds.

Remarks

Calls Update on all GameObjects and their components. This is typically called once per frame from the main game loop.

Examples

void Example(Scene* scene) {
    scene->Update(0.016f);
}