4#include "game/nodes/SpatialNode.h"
5#include "game/camera/CameraProperties.h"
7#include "CameraNode.generated.h"
9namespace ne RNAMESPACE() {
42 void setCameraMode(CameraMode mode);
54 void setOrbitalTargetLocation(
const glm::vec3& targetPointLocation);
63 void clearOrbitalTargetLocation();
75 void setOrbitalRotation(
float phi,
float theta);
86 void setOrbitalDistanceToTarget(
float distanceToTarget);
97 glm::vec3 getOrbitalTargetLocation();
115 virtual void onWorldLocationRotationScaleChanged()
override;
126 virtual void onDespawning()
override;
130 void updateCameraProperties();
136 std::optional<glm::vec3> orbitalCameraTargetInWorldSpace = {};
139 glm::vec3 localSpaceOriginInWorldSpace = glm::vec3(0.0F, 0.0F, 0.0F);
149 static inline constexpr float rotationDelta = 0.0001F;
151 ne_CameraNode_GENERATED
155File_CameraNode_GENERATED
Definition: CameraManager.h:16
Definition: CameraNode.h:11
std::pair< std::recursive_mutex, bool > mtxIsActive
Definition: CameraNode.h:146
CameraProperties cameraProperties
Definition: CameraNode.h:133
Definition: CameraProperties.h:22
Definition: GuidProperty.h:30
Definition: SpatialNode.h:12