Interface IProvidesDetectGazeDivergence
Gives decorated class ability to detect gaze divergence above a defined threshold, for a given transform's forward vector
Syntax
public interface IProvidesDetectGazeDivergence : IFunctionalityProvider
Methods
Declaration
bool IsAboveDivergenceThreshold(Transform transformToTest, float divergenceThreshold, bool disregardTemporalStability = true)
Parameters
Type |
Name |
Description |
Transform |
transformToTest |
|
Single |
divergenceThreshold |
|
Boolean |
disregardTemporalStability |
|
Returns
SetDivergenceRecoverySpeed(Single)
Declaration
void SetDivergenceRecoverySpeed(float rateAtWhichGazeVelocityReturnsToStableThreshold)
Parameters
Type |
Name |
Description |
Single |
rateAtWhichGazeVelocityReturnsToStableThreshold |
|