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

DistanceAngleCompare Struct

Extends IComparer< T >
A utility struct which defines the default conecast result compare function (not including the tie-breaking step).
Will score first by distance, then by angle.

Fields

readonly float EqualDistanceThreshold[Get]
readonly float EqualAngleThreshold[Get]

Constructors & Destructors

int Compare
( T x,
T y )
DistanceAngleCompare
( float equalDistanceThreshold,
float equalAngleThreshold )
Did you find this page helpful?