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.

Methods

ProcessHitPoint ( hitPoint )
Tells this IReticleData the position of the most recent hit point; the IReticleData should use this hit point as the basis for its rendering.
Signature
Vector3 Oculus.Interaction.DistanceReticles.IReticleData.ProcessHitPoint(Vector3 hitPoint)
Parameters
hitPoint: Vector3  The most recent position relative to which the reticle should render
Returns
Vector3  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).