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

GazeInteractable Class

Properties

SelectionSurface : ISurface
[Get]
Signature
ISurface Oculus.Interaction.GazeInteractable.SelectionSurface
Surface : ISurface
[Get]
Signature
ISurface Oculus.Interaction.GazeInteractable.Surface
TiebreakerScore : float
[Get][Set]
Signature
float Oculus.Interaction.GazeInteractable.TiebreakerScore

Protected Methods

Awake ()
Signature
override void Oculus.Interaction.GazeInteractable.Awake()
Returns
override void
Start ()
Signature
override void Oculus.Interaction.GazeInteractable.Start()
Returns
override void

Methods

GenerateMovement ( from , to )
Generates movement to move the GazeInteractable from its current position to the target position.
Signature
IMovement Oculus.Interaction.GazeInteractable.GenerateMovement(in Pose from, in Pose to)
Parameters
from: in Pose  The current position.
to: in Pose  The target position.
Returns
IMovement  Returns the created movement.
InjectAllGazeInteractable ( surface )
Signature
void Oculus.Interaction.GazeInteractable.InjectAllGazeInteractable(ISurface surface)
Parameters
surface: ISurface
Returns
void
InjectOptionalMovementProvider ( provider )
Sets a movement provider for a dynamically instantiated GameObject.
Signature
void Oculus.Interaction.GazeInteractable.InjectOptionalMovementProvider(IMovementProvider provider)
Parameters
Returns
void
InjectSurface ( surface )
Signature
void Oculus.Interaction.GazeInteractable.InjectSurface(ISurface surface)
Parameters
surface: ISurface
Returns
void