Skip to main content

gfx Folder

Folders Index

foldercomponents
foldersystems

Files Index

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

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

filemodules/effects/gfx/registry.ixx

Component registration for effects GFX module. More...

Description

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

Visual effects components and systems.

Overview

This module provides components and systems for visual effects such as rotation animations. Effects are purely visual and do not affect game logic.

Key Classes

ClassPurpose
SpinComponentStores angular velocity and rotation axis for spinning
SpinSystemApplies spin rotation to entities each frame

Usage

 gameObject_.add<SpinComponent>();
 gameObject_.get<SpinComponent>()->setSpeed(270.0f);
 gameObject_.get<SpinComponent>()->setAxis(helios::math::Z_AXISf);


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.