RayCandidateProperties Class
Data type encapsulating information about the candidate selection process.
This can be passed to candidate comparison mechanisms such as ICandidateComparer or be used for visualizations. It also has potential applications for debugging.
The RayInteractable candidate associated with these properties.
The name ClosestInteractable refers to the fact that this interactable is the closest to the interactor out of all the interactables considered.
Vector3 CandidatePosition[Get]
Implementation of ICandidatePosition.CandidatePosition; for details, please refer to the related documentation provided for that interface.
RayCandidatePropertiesVector3 candidatePosition )
Constructor.
ParametersclosestInteractableThe RayInteractable characterized as a candidate in this type
candidatePositionThe position from which closestInteractable 's candidacy should be considered