API Documentation
Loading...
Searching...
No Matches
ViewportFormat Class Reference

Stores information for how to construct a viewport. More...

#include <ViewportLayout.h>

Collaboration diagram for ViewportFormat:
[legend]

Public Member Functions

void autoSetName ()
 
bool operator!= (const ViewportFormat &layout) const
 
bool operator== (const ViewportFormat &layout) const
 
 ViewportFormat ()
 
 ViewportFormat (bool is_user_camera)
 

Public Attributes

UUID camera_id = Constant<UUID>::Invalid
 
AutoZoomFocus focus
 
bool is_ortho = false
 
bool is_user_camera = true
 
TranslatedString name
 
Vector< 2, fltp08ortho_fov = Constant<Vector<2, fltp08>>::Invalid
 
Vector< 2, Angle< fltp08 > > perspective_fov = Constant<Vector<2, Angle<fltp08>>>::Invalid
 
bool use_reference_size = true
 
Buffer< CameraAnimationviewport_animations
 

Detailed Description

Stores information for how to construct a viewport.


Constructor & Destructor Documentation

◆ ViewportFormat() [1/2]

◆ ViewportFormat() [2/2]

ViewportFormat ( bool is_user_camera)
explicit

Member Function Documentation

◆ autoSetName()

void autoSetName ( )

◆ operator!=()

bool operator!= ( const ViewportFormat & layout) const

◆ operator==()

bool operator== ( const ViewportFormat & layout) const

Member Data Documentation

◆ camera_id

UUID camera_id = Constant<UUID>::Invalid

◆ focus

◆ is_ortho

bool is_ortho = false

◆ is_user_camera

bool is_user_camera = true

◆ name

◆ ortho_fov

◆ perspective_fov

Vector<2, Angle<fltp08> > perspective_fov = Constant<Vector<2, Angle<fltp08>>>::Invalid

◆ use_reference_size

bool use_reference_size = true

◆ viewport_animations

Buffer<CameraAnimation> viewport_animations

The documentation for this class was generated from the following file: