pub struct Arm {
pub offset: Vector3<f32>,
}Expand description
Offsets the camera along a vector, in the coordinate space of the parent.
Fields§
§offset: Vector3<f32>Implementations§
Trait Implementations§
Source§impl<H: Handedness> RigDriver<H> for Arm
impl<H: Handedness> RigDriver<H> for Arm
Source§fn update(&mut self, params: RigUpdateParams<'_, H>) -> Transform<H>
fn update(&mut self, params: RigUpdateParams<'_, H>) -> Transform<H>
Calculates the transform of this driver component based on the parent
provided in
params.Auto Trait Implementations§
impl Freeze for Arm
impl RefUnwindSafe for Arm
impl Send for Arm
impl Sync for Arm
impl Unpin for Arm
impl UnwindSafe for Arm
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