2#include <NDEVR/Vertex.h>
3#include <NDEVR/Angle.h>
4#include <NDEVR/TimeSpan.h>
Stores an angle in an optimized internal format with support for efficient trigonometric operations.
Stores a time span, or difference between two times, with an optional start time.
A fixed-size array with N dimensions used as the basis for geometric and mathematical types.
A point in N-dimensional space, used primarily for spatial location information.
The primary namespace for the NDEVR SDK.
double fltp08
Defines an alias representing an 8 byte floating-point number.
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Vertex< 3, fltp08 > location
The target camera position in 3D world space.
bool is_active
Whether this animation is currently active and should be processed.
CameraAnimation()
Constructs a CameraAnimation with all values initialized to invalid or default states.
Vector< 3, Angle< fltp08 > > orientation
The camera orientation as pitch, yaw, and roll angles.
fltp08 orthographic_fov
The orthographic field-of-view size. Invalid if not set.
bool operator!=(const CameraAnimation &animation) const
Checks whether two CameraAnimation instances differ in any byte.
Vector< 3, fltp08 > target
The point in 3D world space that the camera looks at.
uint01 is_orthographic
Whether the camera should be orthographic. Uses uint01 with invalid sentinel to represent unset state...
bool operator==(const CameraAnimation &animation) const
Checks whether two CameraAnimation instances are byte-for-byte equal.
fltp08 zoom_extent_mult
A multiplier applied to the zoom extent when framing objects. Invalid if not set.
TimeSpan time
The duration over which the animation should play.
Defines for a given type (such as sint04, fltp08, UUID, etc) a maximum, minimum, and reserved 'invali...