FeatureStateProvider
(
valueReader
, featureToInt
, timeProvider
)
|
Signature
Oculus.Interaction.PoseDetection.FeatureStateProvider< TFeature, TFeatureState >.FeatureStateProvider(Func< TFeature, float?> valueReader, Func< TFeature, int > featureToInt, Func< float > timeProvider) Parameters valueReader: Func< TFeature, float?>featureToInt: Func< TFeature, int >timeProvider: Func< float > |
LastUpdatedFrameId
: int
[Get][Set] |
This should be updated with current value of the input data frameId.
It is used to determine if values need to be recalculated.
Signature
int Oculus.Interaction.PoseDetection.FeatureStateProvider< TFeature, TFeatureState >.LastUpdatedFrameId |
GetCurrentFeatureState
(
feature
)
|
Signature
TFeatureState Oculus.Interaction.PoseDetection.FeatureStateProvider< TFeature, TFeatureState >.GetCurrentFeatureState(TFeature feature) Parameters feature: TFeatureReturns TFeatureState |
InitializeThresholds
(
featureThresholds
)
|
Signature
void Oculus.Interaction.PoseDetection.FeatureStateProvider< TFeature, TFeatureState >.InitializeThresholds(IFeatureThresholds< TFeature, TFeatureState > featureThresholds) Parameters featureThresholds: IFeatureThresholds< TFeature, TFeatureState >Returns void |
ReadTouchedFeatureStates
()
|
Signature
void Oculus.Interaction.PoseDetection.FeatureStateProvider< TFeature, TFeatureState >.ReadTouchedFeatureStates() Returns void |
ValidateFeatureThresholds
(
featureStateThresholdsList
)
|
Signature
IFeatureStateThresholds< TFeature, TFeatureState >[] Oculus.Interaction.PoseDetection.FeatureStateProvider< TFeature, TFeatureState >.ValidateFeatureThresholds(IReadOnlyList< IFeatureStateThresholds< TFeature, TFeatureState > > featureStateThresholdsList) Parameters featureStateThresholdsList: IReadOnlyList< IFeatureStateThresholds< TFeature, TFeatureState > >Returns IFeatureStateThresholds< TFeature, TFeatureState >[] |