FeatureStateProvider
(
valueReader
, featureToInt
, timeProvider
)
|
Signature
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 LastUpdatedFrameId |
GetCurrentFeatureState
(
feature
)
|
Signature
TFeatureState GetCurrentFeatureState(TFeature feature) Parameters feature: TFeatureReturns TFeatureState |
InitializeThresholds
(
featureThresholds
)
|
Signature
void InitializeThresholds(IFeatureThresholds< TFeature, TFeatureState > featureThresholds) Parameters featureThresholds: IFeatureThresholds< TFeature, TFeatureState >Returns void |
ReadTouchedFeatureStates
()
|
Signature
void ReadTouchedFeatureStates() Returns void |
ValidateFeatureThresholds
(
featureStateThresholdsList
)
|
Signature
IFeatureStateThresholds< TFeature, TFeatureState >[] ValidateFeatureThresholds(IReadOnlyList< IFeatureStateThresholds< TFeature, TFeatureState > > featureStateThresholdsList) Parameters featureStateThresholdsList: IReadOnlyList< IFeatureStateThresholds< TFeature, TFeatureState > >Returns IFeatureStateThresholds< TFeature, TFeatureState >[] |