Skip to main content

CameraSnapshot Struct

Declaration

struct helios::imgui::widgets::CameraWidget::CameraSnapshot { ... }

Public Member Attributes Index

boolvalid = false
boolhasPosition = false
boolhasRotation = false
boolhasPerspective = false
helios::math::vec3fposition {0.0f, 0.0f, 1.0f}
helios::math::vec3frotation {0.0f, 0.0f, 0.0f}

First-person control state in radians. More...

floatfovYDegrees = 90.0f
floataspectRatio = 16.0f / 9.0f
floatzNear = 0.1f
floatzFar = 1000.0f

Definition at line 68 of file CameraWidget.ixx.

Public Member Attributes

aspectRatio

float helios::imgui::widgets::CameraWidget::CameraSnapshot::aspectRatio = 16.0f / 9.0f

Definition at line 87 of file CameraWidget.ixx.

87 float aspectRatio = 16.0f / 9.0f;

fovYDegrees

float helios::imgui::widgets::CameraWidget::CameraSnapshot::fovYDegrees = 90.0f

Definition at line 86 of file CameraWidget.ixx.

86 float fovYDegrees = 90.0f;

hasPerspective

bool helios::imgui::widgets::CameraWidget::CameraSnapshot::hasPerspective = false

Definition at line 72 of file CameraWidget.ixx.

72 bool hasPerspective = false;

hasPosition

bool helios::imgui::widgets::CameraWidget::CameraSnapshot::hasPosition = false

Definition at line 70 of file CameraWidget.ixx.

70 bool hasPosition = false;

hasRotation

bool helios::imgui::widgets::CameraWidget::CameraSnapshot::hasRotation = false

Definition at line 71 of file CameraWidget.ixx.

71 bool hasRotation = false;

position

helios::math::vec3f helios::imgui::widgets::CameraWidget::CameraSnapshot::position {0.0f, 0.0f, 1.0f}

Definition at line 74 of file CameraWidget.ixx.

74 helios::math::vec3f position{0.0f, 0.0f, 1.0f};

rotation

helios::math::vec3f helios::imgui::widgets::CameraWidget::CameraSnapshot::rotation {0.0f, 0.0f, 0.0f}

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

bool helios::imgui::widgets::CameraWidget::CameraSnapshot::valid = false

Definition at line 69 of file CameraWidget.ixx.

69 bool valid = false;

zFar

float helios::imgui::widgets::CameraWidget::CameraSnapshot::zFar = 1000.0f

Definition at line 89 of file CameraWidget.ixx.

89 float zFar = 1000.0f;

zNear

float helios::imgui::widgets::CameraWidget::CameraSnapshot::zNear = 0.1f

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.