API reference
API reference
Select your platform
No SDKs available
No versions available

FingerFeatureStateProvider Class

Interprets finger feature values using FingerShapes and uses the given FingerFeatureStateThresholds to quantize these values into states.
Oculus::Interaction::PoseDetection::FingerFeatureStateProvider extends MonoBehaviour.
Oculus::Interaction::PoseDetection::FingerFeatureStateProvider extends Oculus.Interaction.PoseDetection.IFingerFeatureStateProvider.
Oculus::Interaction::PoseDetection::FingerFeatureStateProvider extends Oculus.Interaction.ITimeConsumer.

Overview

Properties

Object Data

bool

Public Member Functions

void
SetTimeProvider
( Func< float > timeProvider )
Sets a function that returns the current time in seconds.
bool
GetCurrentState
( HandFinger finger,
FingerFeature fingerFeature,
out string currentState )
float?
GetFeatureValue
( HandFinger finger,
FingerFeature fingerFeature )
Returns the current value of the feature.
GetValueProvider
( HandFinger finger )
bool
IsStateActive
( HandFinger finger,
FingerFeature feature,
FeatureStateActiveMode mode,
string stateId )
void
InjectAllFingerFeatureStateProvider
( IHand hand,
List< FingerStateThresholds > fingerStateThresholds,
FingerShapes fingerShapes,
bool disableProactiveEvaluation )
void
InjectHand
( IHand hand )
void
InjectFingerStateThresholds
( List< FingerStateThresholds > fingerStateThresholds )
void
void
InjectDisableProactiveEvaluation
( bool disableProactiveEvaluation )
void
InjectOptionalTimeProvider
( Func< float > timeProvider )

Object Data

void
Awake ( )
void
Start ( )
void
void

Details

Detailed Description

To avoid rapid fluctuations at the edges of two states, this class uses the calculated feature state from the previous frame and the given state thresholds to apply a buffer between state transition edges.

Properties

IHand Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.Hand
No description available.
FingerShapes Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.DefaultFingerShapes
No description available.

Object Data

bool Oculus.Interaction.PoseDetection.FingerFeatureStateProvider._started
No description available.

Member Functions

void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.SetTimeProvider
( Func< float > timeProvider )
Sets a function that returns the current time in seconds.
bool Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.GetCurrentState
( HandFinger finger,
FingerFeature fingerFeature,
out string currentState )
No description available.
float? Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.GetFeatureValue
( HandFinger finger,
FingerFeature fingerFeature )
Returns the current value of the feature.
If the finger joints are not populated with valid data (for instance, due to a disconnected hand), the method will return NaN.
FingerShapes Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.GetValueProvider
( HandFinger finger )
No description available.
bool Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.IsStateActive
( HandFinger finger,
FingerFeature feature,
FeatureStateActiveMode mode,
string stateId )
No description available.
void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.InjectAllFingerFeatureStateProvider
( IHand hand,
List< FingerStateThresholds > fingerStateThresholds,
FingerShapes fingerShapes,
bool disableProactiveEvaluation )
No description available.
void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.InjectHand
( IHand hand )
No description available.
void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.InjectFingerStateThresholds
( List< FingerStateThresholds > fingerStateThresholds )
No description available.
void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.InjectFingerShapes
( FingerShapes fingerShapes )
No description available.
void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.InjectDisableProactiveEvaluation
( bool disableProactiveEvaluation )
No description available.
void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.InjectOptionalTimeProvider
( Func< float > timeProvider )
No description available.

Object Data

virtual void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.Awake ( )
No description available.
virtual void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.Start ( )
No description available.
virtual void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.OnEnable ( )
No description available.
virtual void Oculus.Interaction.PoseDetection.FingerFeatureStateProvider.OnDisable ( )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon