pub struct FramingResult {
pub pose: Pose3,
pub distance: f32,
pub required_distance: f32,
pub limit: FramingLimit,
}Expand description
A perspective framing solution, before damping, obstruction and shake.
The host must use the same aspect and vertical FOV, a near clip plane no
larger than the requested near, and a sufficiently distant far clip plane.
Floating-point projection retains ordinary f32 rounding error.
Fields§
§pose: Pose3Looks at the center of the group’s world-space enclosing box.
distance: f32Selected boom length after applying the configured distance limits.
required_distance: f32Unclamped distance needed for the margins and near plane, rounded upward
to f32. It may exceed distance when the maximum prevents a complete fit.
limit: FramingLimitTrait Implementations§
Source§impl Clone for FramingResult
impl Clone for FramingResult
Source§fn clone(&self) -> FramingResult
fn clone(&self) -> FramingResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FramingResult
impl Debug for FramingResult
Source§impl PartialEq for FramingResult
impl PartialEq for FramingResult
impl Copy for FramingResult
impl StructuralPartialEq for FramingResult
Auto Trait Implementations§
impl Freeze for FramingResult
impl RefUnwindSafe for FramingResult
impl Send for FramingResult
impl Sync for FramingResult
impl Unpin for FramingResult
impl UnwindSafe for FramingResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more