#[repr(u32)]pub enum HandSource {
None = 0,
Simulated = 1,
Articulated = 2,
Overridden = 3,
}
Expand description
This enum provides information about StereoKit’s hand tracking data source. It allows you to distinguish between true hand data such as that provided by a Leap Motion Controller, and simulated data that StereoKit provides when true hand data is not present. https://stereokit.net/Pages/StereoKit/HandSource.html
see also Input::hand_source
Variants§
None = 0
There is currently no source of hand data! This means there are no tracked controllers, or active hand tracking systems. This may happen if the user has hand tracking disabled, and no active controllers.
Simulated = 1
The current hand data is a simulation of hand data rather than true hand data. It is backed by either a controller, or a mouse, and may have a more limited range of motion.
Articulated = 2
This is true hand data which exhibits the full range of motion of a normal hand. It is backed by something like a Leap Motion Controller, or some other optical (or maybe glove?) hand tracking system.
Overridden = 3
This hand data is provided by your use of SK’s override functionality. What properties it exhibits depends on what override data you’re sending to StereoKit!
Trait Implementations§
Source§impl Clone for HandSource
impl Clone for HandSource
Source§fn clone(&self) -> HandSource
fn clone(&self) -> HandSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more