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

IReticleData Interface

Interface for data instances pertaining to reticles visual indications of interactor targeting, such as a pointer highlight to be drawn at the end of a raycast for a RayInteractor which need to process the positions of raycast hits in order to position themselves correctly.

Member Functions

Tells this IReticleData the position of the most recent hit point; the IReticleData should use this hit point as the basis for its rendering.
Parameters
hitPoint
The most recent position relative to which the reticle should render
Returns
A potentially modified hit point, depending on whether the specific IReticleData implementation chooses to render elsewhere from the specified hitPoint (see ReticleDataTeleport.ProcessHitPoint(Vector3) for an example).
Did you find this page helpful?
Thumbs up icon
Thumbs down icon