CameraSnapshot Struct
Declaration
struct helios::imgui::widgets::CameraWidget::CameraSnapshot { ... }
Public Member Attributes Index
| bool | valid = false |
| bool | hasPosition = false |
| bool | hasRotation = false |
| bool | hasPerspective = false |
| helios::math::vec3f | position {0.0f, 0.0f, 1.0f} |
| helios::math::vec3f | rotation {0.0f, 0.0f, 0.0f} |
|
First-person control state in radians. More... | |
| float | fovYDegrees = 90.0f |
| float | aspectRatio = 16.0f / 9.0f |
| float | zNear = 0.1f |
| float | zFar = 1000.0f |
Definition at line 68 of file CameraWidget.ixx.
Public Member Attributes
aspectRatio
|
Definition at line 87 of file CameraWidget.ixx.
87 float aspectRatio = 16.0f / 9.0f;
fovYDegrees
|
Definition at line 86 of file CameraWidget.ixx.
86 float fovYDegrees = 90.0f;
hasPerspective
|
Definition at line 72 of file CameraWidget.ixx.
72 bool hasPerspective = false;
hasPosition
|
Definition at line 70 of file CameraWidget.ixx.
70 bool hasPosition = false;
hasRotation
|
Definition at line 71 of file CameraWidget.ixx.
71 bool hasRotation = false;
position
|
Definition at line 74 of file CameraWidget.ixx.
74 helios::math::vec3f position{0.0f, 0.0f, 1.0f};
rotation
|
First-person control state in radians.
Stored as:
- x: yaw
- y: pitch
- z: roll
Definition at line 84 of file CameraWidget.ixx.
84 helios::math::vec3f rotation{0.0f, 0.0f, 0.0f};
valid
|
Definition at line 69 of file CameraWidget.ixx.
69 bool valid = false;
zFar
|
Definition at line 89 of file CameraWidget.ixx.
89 float zFar = 1000.0f;
zNear
|
Definition at line 88 of file CameraWidget.ixx.
88 float zNear = 0.1f;
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.