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

ICandidatePosition Interface

This interface characterizes a type which encapsulates the world space position of an interaction candidate.
This is used to allow generalized spatial comparison operations (such as ICandidateComparer) to operate on different types of candidates such as RayInteractor.RayCandidateProperties.

Properties

The position relative to which this candidate should be evaluated.
Note that this is not necessarily the position of the candidate's transform, but rather the position most relevant to the interaction for which this is a candidate. For example, RayInteractor.RayCandidateProperties set this value to the position of the raycast hit for this interaction.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon