QuaternionComponent Class Template
Generic quaternion component with domain tagging and dirty tracking. More...
Declaration
Public Member Typedefs Index
template < ... > | |
| using | Value_type = helios::math::quat< TNumericType > |
template < ... > | |
| using | Handle_type = THandle |
Public Member Functions Index
template < ... > | |
| const Value_type & | value () const noexcept |
|
Returns the current quaternion value. More... | |
template < ... > | |
| void | setValue (const Value_type &value) noexcept |
|
Updates the quaternion value and marks the component as dirty. More... | |
Private Member Attributes Index
template < ... > | |
| helios::math::quat< TNumericType > | quat = helios::math::quat<TNumericType>::identity() |
Description
Generic quaternion component with domain tagging and dirty tracking.
- Template Parameters
-
TDomainTag Domain tag type used for semantic component grouping.
TNumericType Floating-point scalar type used by helios::math::quat.
Args Additional template arguments (e.g. owner handle, tags).
Definition at line 26 of file QuaternionComponent.ixx.
Public Member Typedefs
Handle_type
|
Definition at line 33 of file QuaternionComponent.ixx.
Value_type
|
Definition at line 32 of file QuaternionComponent.ixx.
Public Member Functions
setValue()
| inline noexcept |
Updates the quaternion value and marks the component as dirty.
- Parameters
-
value New quaternion value.
Definition at line 49 of file QuaternionComponent.ixx.
value()
| inline noexcept |
Returns the current quaternion value.
- Returns
Const reference to the stored quaternion.
Definition at line 40 of file QuaternionComponent.ixx.
Referenced by helios::engine::core::components::QuaternionComponent< TDomainTag, TNumericType, THandle, Args >::setValue.
Private Member Attributes
quat
|
Definition at line 28 of file QuaternionComponent.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.