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

ConeGraphicRaycaster Class

Extends GraphicRaycaster
GraphicRaycaster that performs gaze cone-casting.
Scores UI Selectables by angle, then distance, to provide stable targeting.

Fields

ConeAngle : float
Gets the effective cone angle from the Interactor if available, otherwise uses default.
Signature
float Oculus.Interaction.ConeGraphicRaycaster.ConeAngle
GazeInteractor : GazeInteractor
Signature
GazeInteractor Oculus.Interaction.ConeGraphicRaycaster.GazeInteractor

Events

WhenConecastPerformed : Action< Ray, UIConecastResult?>
Signature
Action<Ray, UIConecastResult?> Oculus.Interaction.ConeGraphicRaycaster.WhenConecastPerformed

Protected Methods

Awake ()
Signature
override void Oculus.Interaction.ConeGraphicRaycaster.Awake()
Returns
override void

Methods

Raycast ( eventData , resultAppendList )
Signature
override void Oculus.Interaction.ConeGraphicRaycaster.Raycast(PointerEventData eventData, List< RaycastResult > resultAppendList)
Parameters
eventData: PointerEventData
resultAppendList: List< RaycastResult >
Returns
override void