pub enum AnchorResolution {
World {
anchor: Symbol,
transform: Transform3,
},
HeadLocked {
anchor: Symbol,
transform: Transform3,
reason: Symbol,
},
}Expand description
Result of resolving a panel placement against world observations and VIO state.
Variants§
World
Placement remains pinned to a stable world anchor.
Fields
§
transform: Transform3Resolved world-space transform.
HeadLocked
Placement is rendered head locked until world tracking is safe again.
Implementations§
Source§impl AnchorResolution
impl AnchorResolution
Sourcepub fn transform(&self) -> &Transform3
pub fn transform(&self) -> &Transform3
Returns the transform to render.
Sourcepub fn anchor_space(&self) -> AnchorSpace
pub fn anchor_space(&self) -> AnchorSpace
Returns the resolved coordinate space.
Trait Implementations§
Source§impl Clone for AnchorResolution
impl Clone for AnchorResolution
Source§fn clone(&self) -> AnchorResolution
fn clone(&self) -> AnchorResolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnchorResolution
impl Debug for AnchorResolution
Source§impl PartialEq for AnchorResolution
impl PartialEq for AnchorResolution
impl StructuralPartialEq for AnchorResolution
Auto Trait Implementations§
impl Freeze for AnchorResolution
impl RefUnwindSafe for AnchorResolution
impl Send for AnchorResolution
impl Sync for AnchorResolution
impl Unpin for AnchorResolution
impl UnsafeUnpin for AnchorResolution
impl UnwindSafe for AnchorResolution
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