Skip to main content

systems Folder

Files Index

filehelios/engine/modules/effects/gfx/systems/_module.ixx

Module aggregation for helios.engine.modules.effects.gfx.systems. More...

fileSpinSystem.ixx

System for applying continuous spin rotation to entities. More...

Description

helios::engine::modules::effects::gfx::systems

Visual effects systems.

Key Classes

ClassPurpose
SpinSystemApplies rotation from SpinComponent each frame

Usage

 // Add SpinSystem to game loop (Main phase)
 gameLoop.phase(PhaseType::Main).addPass()
  .addSystem<SpinSystem>(&gameWorld);
 
 // SpinSystem reads SpinComponent and writes to RotationStateComponent
 // The rotation is then composed by ComposeTransformSystem


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.