API Documentation
|
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>
Public Member Functions | |
AutoZoomFocus () | |
AutoZoomFocus (const UUID &model) | |
AutoZoomFocus (const Buffer< UUID > &models) | |
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 | |
Buffer< UUID > | targets |
Bounds< 3, fltp08 > | bounds = Constant<Bounds<3, fltp08>>::NaN |
Vector< 3, Angle< fltp08 > > | angle_offsets = Vector<3, Angle<fltp08>>(Angle<fltp08>(0)) |
Vector< 3, fltp08 > | transformed_offsets = Vector<3, fltp08>(0.0) |
Vector< 3, fltp08 > | worldspace_offsets = Vector<3, fltp08>(0.0) |
SnapLocation | snap = SnapLocation::e_no_snap |
fltp08 | zoom_bounds_expansion = 0.0 |
TimeSpan | lag_time = TimeSpan(1.0) |
Angle< fltp08 > | grip_tolerance = Angle<fltp08>(DEGREES, 0.5) |
fltp08 | bounds_edge_tolerance_mult = 0.25 |
fltp08 | bounds_center_tolerance = 1.0 |
bool | use_true_extents = true |
bool | clear_animations = true |
bool | override_camera_lock_visible = true |
bool | override_camera_lock_invisible = false |
bool | override_default_snap = true |
Logic for automatically zooming a Camera or Viewport to a certain location or having certain objects in focus of the frame.
Class: AutoZoomFocus
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
fltp08 bounds_center_tolerance = 1.0 |
fltp08 bounds_edge_tolerance_mult = 0.25 |
bool clear_animations = true |
bool override_camera_lock_invisible = false |
bool override_camera_lock_visible = true |
bool override_default_snap = true |
bool use_true_extents = true |
fltp08 zoom_bounds_expansion = 0.0 |