GfxEffectsConfig.ixx File
Configuration for visual effects components. More...
Included Headers
#include <helios.math>
#include <helios.engine.modules.spatial.transform.components.RotationStateComponent>
#include <helios.engine.modules.effects.gfx.components.SpinComponent>
#include <helios.engine.ecs.GameObject>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | builder |
|
Fluent builder pattern for constructing GameObjects. More... | |
| namespace | gameObject |
|
Factory and prototype classes for GameObject construction. More... | |
| namespace | builders |
|
Domain-specific builders for configuring different aspects of GameObjects. More... | |
| namespace | configs |
|
Fine-grained configuration classes for component setup. More... | |
Classes Index
| class | GfxEffectsConfig |
|
Fluent configuration for visual effects. More... | |
Description
Configuration for visual effects components.
File Listing
The file content with the documentation metadata removed is:
16export namespace helios::engine::builder::gameObject::builders::configs {
24 class GfxEffectsConfig {
29 helios::engine::ecs::GameObject gameObject_;
38 explicit GfxEffectsConfig(helios::engine::ecs::GameObject gameObject) : gameObject_(gameObject) {}
48 GfxEffectsConfig& spin(const float degreesPerSecond, const helios::math::vec3f spinAxis) {
49 gameObject_.add<helios::engine::modules::effects::gfx::components::SpinComponent>(
52 gameObject_.getOrAdd<helios::engine::modules::spatial::transform::components::RotationStateComponent>();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.