API Documentation
Loading...
Searching...
No Matches
AutoZoomFocus Struct Reference

Logic for automatically zooming a Camera or Viewport to a certain location or having certain objects in focus of the frame. More...

#include <ViewportAutoZoomFocus.h>

Collaboration diagram for AutoZoomFocus:
[legend]

Public Member Functions

 AutoZoomFocus ()
 
 AutoZoomFocus (const Buffer< UUID > &models)
 
 AutoZoomFocus (const UUID &model)
 
 AutoZoomFocus (SnapLocation focus)
 
 AutoZoomFocus (SnapLocation focus, const Buffer< UUID > &models)
 
 AutoZoomFocus (SnapLocation focus, const UUID &model)
 
void clear ()
 
bool operator!= (const AutoZoomFocus &layout) const
 
bool operator== (const AutoZoomFocus &layout) const
 

Public Attributes

Vector< 3, Angle< fltp08 > > angle_offsets = Vector<3, Angle<fltp08>>(Angle<fltp08>(0))
 
Bounds< 3, fltp08bounds = Constant<Bounds<3, fltp08>>::Invalid
 
fltp08 bounds_center_tolerance = 1.0
 
fltp08 bounds_edge_tolerance_mult = 0.25
 
bool clear_animations = true
 
Angle< fltp08grip_tolerance = Angle<fltp08>(DEGREES, 0.5)
 
TimeSpan lag_time = TimeSpan(1.0)
 
bool override_camera_lock_invisible = false
 
bool override_camera_lock_visible = true
 
bool override_default_snap = true
 
SnapLocation snap = SnapLocation::e_no_snap
 
Buffer< UUIDtargets
 
Vector< 3, fltp08transformed_offsets = Vector<3, fltp08>(0.0)
 
bool use_true_extents = true
 
Vector< 3, fltp08worldspace_offsets = Vector<3, fltp08>(0.0)
 
fltp08 zoom_bounds_expansion = 0.0
 

Detailed Description

Logic for automatically zooming a Camera or Viewport to a certain location or having certain objects in focus of the frame.


Constructor & Destructor Documentation

◆ AutoZoomFocus() [1/6]

AutoZoomFocus ( )
inline

◆ AutoZoomFocus() [2/6]

AutoZoomFocus ( const UUID & model)
inline

◆ AutoZoomFocus() [3/6]

AutoZoomFocus ( const Buffer< UUID > & models)
inline

◆ AutoZoomFocus() [4/6]

AutoZoomFocus ( SnapLocation focus)
inline

◆ AutoZoomFocus() [5/6]

AutoZoomFocus ( SnapLocation focus,
const Buffer< UUID > & models )
inline

◆ AutoZoomFocus() [6/6]

AutoZoomFocus ( SnapLocation focus,
const UUID & model )
inline

Member Function Documentation

◆ clear()

void clear ( )
inline

◆ operator!=()

bool operator!= ( const AutoZoomFocus & layout) const
inline

◆ operator==()

bool operator== ( const AutoZoomFocus & layout) const
inline

Member Data Documentation

◆ angle_offsets

Vector<3, Angle<fltp08> > angle_offsets = Vector<3, Angle<fltp08>>(Angle<fltp08>(0))

◆ bounds

◆ bounds_center_tolerance

fltp08 bounds_center_tolerance = 1.0

◆ bounds_edge_tolerance_mult

fltp08 bounds_edge_tolerance_mult = 0.25

◆ clear_animations

bool clear_animations = true

◆ grip_tolerance

Angle<fltp08> grip_tolerance = Angle<fltp08>(DEGREES, 0.5)

◆ lag_time

TimeSpan lag_time = TimeSpan(1.0)

◆ override_camera_lock_invisible

bool override_camera_lock_invisible = false

◆ override_camera_lock_visible

bool override_camera_lock_visible = true

◆ override_default_snap

bool override_default_snap = true

◆ snap

◆ targets

Buffer<UUID> targets

◆ transformed_offsets

Vector<3, fltp08> transformed_offsets = Vector<3, fltp08>(0.0)

◆ use_true_extents

bool use_true_extents = true

◆ worldspace_offsets

Vector<3, fltp08> worldspace_offsets = Vector<3, fltp08>(0.0)

◆ zoom_bounds_expansion

fltp08 zoom_bounds_expansion = 0.0

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