[−][src]Struct leap_sys::_LEAP_PALM
\ingroup Structs Properties associated with the palm of the hand. The Palm is a member of the LEAP_HAND struct. @since 3.0.0
Fields
position: LEAP_VECTORThe center position of the palm in millimeters from the Leap Motion origin. @since 3.0.0
stabilized_position: LEAP_VECTORThe time-filtered and stabilized position of the palm.
Smoothing and stabilization is performed in order to make this value more suitable for interaction with 2D content. The stabilized position lags behind the palm position by a variable amount, depending primarily on the speed of movement. @since 3.0.0
velocity: LEAP_VECTORThe rate of change of the palm position in millimeters per second. @since 3.0.0
normal: LEAP_VECTORThe normal vector to the palm. If your hand is flat, this vector will point downward, or "out" of the front surface of your palm. @since 3.0.0
width: f32The estimated width of the palm when the hand is in a flat position. @since 3.0.0
direction: LEAP_VECTORThe unit direction vector pointing from the palm position toward the fingers. @since 3.0.0
orientation: LEAP_QUATERNIONThe quaternion representing the palm's orientation corresponding to the basis {normal x direction, -normal, -direction} @since 3.1.3
Trait Implementations
impl Clone for _LEAP_PALM[src]
fn clone(&self) -> _LEAP_PALM[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for _LEAP_PALM[src]
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_PALM
impl Send for _LEAP_PALM
impl Sync for _LEAP_PALM
impl Unpin for _LEAP_PALM
impl UnwindSafe for _LEAP_PALM
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,