SpinComponent.ixx File
Component for applying continuous spin rotation to an entity. More...
Included Headers
#include <helios.math>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | modules |
|
Domain-specific components and systems. More... | |
| namespace | effects |
|
Visual effects module for game entities. More... | |
| namespace | gfx |
|
Visual effects components and systems. More... | |
| namespace | components |
|
Visual effects components. More... | |
Classes Index
| class | SpinComponent |
|
Component that defines spin properties for an entity. More... | |
Description
Component for applying continuous spin rotation to an entity.
File Listing
The file content with the documentation metadata removed is:
17export namespace helios::engine::modules::effects::gfx::components {
27 class SpinComponent {
37 helios::math::vec3f rotationAxis_ = helios::math::Z_AXISf;
80 explicit SpinComponent(
81 const float rotationSpeed, const helios::math::vec3f rotationAxis
90 SpinComponent(const SpinComponent& other)
94 SpinComponent& operator=(const SpinComponent&) = default;
95 SpinComponent(SpinComponent&&) noexcept = default;
96 SpinComponent& operator=(SpinComponent&&) noexcept = default;
130 void setRotation(float currentRotation) {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.