YawPitchRollComponent Struct Template
Stores Euler-style camera/control angles in radians. More...
Declaration
Public Member Typedefs Index
template <typename THandle> | |
| using | Value_type = helios::math::vec3f |
template <typename THandle> | |
| using | Handle_type = THandle |
Public Member Functions Index
template <typename THandle> | |
| void | setValue (const Value_type value) noexcept |
Public Member Attributes Index
template <typename THandle> | |
| float | yaw = 0 |
|
Rotation around up axis in radians. More... | |
template <typename THandle> | |
| float | pitch = 0 |
|
Rotation around right axis in radians. More... | |
template <typename THandle> | |
| float | roll = 0 |
|
Rotation around forward axis in radians. More... | |
Description
Stores Euler-style camera/control angles in radians.
- Template Parameters
-
THandle Owning entity handle type.
Definition at line 23 of file YawPitchRollComponent.ixx.
Public Member Typedefs
Handle_type
|
Definition at line 27 of file YawPitchRollComponent.ixx.
Value_type
|
Definition at line 25 of file YawPitchRollComponent.ixx.
Public Member Functions
setValue()
| inline noexcept |
Definition at line 38 of file YawPitchRollComponent.ixx.
References helios::engine::spatial::components::YawPitchRollComponent< THandle >::pitch, helios::engine::spatial::components::YawPitchRollComponent< THandle >::roll and helios::engine::spatial::components::YawPitchRollComponent< THandle >::yaw.
Public Member Attributes
pitch
|
Rotation around right axis in radians.
Definition at line 33 of file YawPitchRollComponent.ixx.
Referenced by helios::engine::spatial::components::YawPitchRollComponent< THandle >::setValue.
roll
|
Rotation around forward axis in radians.
Definition at line 36 of file YawPitchRollComponent.ixx.
Referenced by helios::engine::spatial::components::YawPitchRollComponent< THandle >::setValue.
yaw
|
Rotation around up axis in radians.
Definition at line 30 of file YawPitchRollComponent.ixx.
Referenced by helios::engine::spatial::components::YawPitchRollComponent< THandle >::setValue.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.