Method IsAboveDivergenceThreshold
IsAboveDivergenceThreshold(Transform, float, bool)
Check if gaze direction is above the divergence threshold
Declaration
bool IsAboveDivergenceThreshold(Transform transformToTest, float divergenceThreshold, bool disregardTemporalStability = true)
Parameters
Type | Name | Description |
---|---|---|
Transform | transformToTest | The transform representing gaze direction |
float | divergenceThreshold | The threshold angle value to test |
bool | disregardTemporalStability | Whether to disregard temporal stability |
Returns
Type | Description |
---|---|
bool | True if the angle between the gaze and target is above the divergence threshold |