API reference
API reference
Select your platform
No SDKs available
No versions available

ConecastResultComparer Class

Extends IComparer< ConecastHit >

Properties

ComparerType : ConecastComparerType
[Get][Set]
Sets the default comparer used to score interactables.
Signature
ConecastComparerType Oculus.Interaction.ConecastResultComparer.ComparerType
EqualAngleThreshold : float
[Get][Set]
(Degrees, World) The threshold below which angular offsets from the gaze ray are treated as equal for the purposes of ranking.
Signature
float Oculus.Interaction.ConecastResultComparer.EqualAngleThreshold
EqualDistanceThreshold : float
[Get][Set]
(Meters, World) The threshold below which distances to a surface are treated as equal for the purposes of ranking.
Signature
float Oculus.Interaction.ConecastResultComparer.EqualDistanceThreshold

Methods

Compare ( x , y )
Signature
int Oculus.Interaction.ConecastResultComparer.Compare(ConecastHit x, ConecastHit y)
Parameters
Returns
int