![]() |
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 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, fltp08 > | bounds = Constant<Bounds<3, fltp08>>::Invalid |
| fltp08 | bounds_center_tolerance = 1.0 |
| fltp08 | bounds_edge_tolerance_mult = 0.25 |
| bool | clear_animations = true |
| Angle< fltp08 > | grip_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< UUID > | targets |
| Vector< 3, fltp08 > | transformed_offsets = Vector<3, fltp08>(0.0) |
| bool | use_true_extents = true |
| Vector< 3, fltp08 > | worldspace_offsets = Vector<3, fltp08>(0.0) |
| fltp08 | zoom_bounds_expansion = 0.0 |
Logic for automatically zooming a Camera or Viewport to a certain location or having certain objects in focus of the frame.
|
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 |