API reference

IFeatureStateThreshold Interface

Defines the threshold boundaries for transitioning between two feature states in pose and gesture detection.
This interface provides a hysteresis-based state transition system to prevent rapid state flickering.
As seen in Oculus.Interaction.PoseDetection.TransformFeatureStateThreshold, this interface implements a midpoint-width threshold system where:
  • The midpoint defines the primary transition point
  • The width creates a buffer zone to prevent rapid state changes

Properties

FirstState : TFeatureState
[Get]
Retrieves the initial TFeatureState in the transition pair that represents the starting point of the transition process.
Signature
TFeatureState Oculus.Interaction.PoseDetection.IFeatureStateThreshold< TFeatureState >.FirstState
SecondState : TFeatureState
[Get]
Retrieves the secondary TFeatureState in the transition pair that represents the ending point of the transition process.
Signature
TFeatureState Oculus.Interaction.PoseDetection.IFeatureStateThreshold< TFeatureState >.SecondState
ToFirstWhenBelow : float
[Get]
Gets the threshold value below which the feature will transition to the first state.
This creates the lower boundary of the hysteresis band.
Signature
float Oculus.Interaction.PoseDetection.IFeatureStateThreshold< TFeatureState >.ToFirstWhenBelow
ToSecondWhenAbove : float
[Get]
Gets the threshold value above which the feature will transition to the second state.
This creates the upper boundary of the hysteresis band.
Signature
float Oculus.Interaction.PoseDetection.IFeatureStateThreshold< TFeatureState >.ToSecondWhenAbove