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

GazeConecastTarget Class

Determines how a Oculus.Interaction.GazeInteractable can be conecasted against, without it having to implement the IConecastTarget interface.

Properties

GazeInteractable : GazeInteractable
[Get][Set]
Signature
GazeInteractable Oculus.Interaction.GazeConecastTarget.GazeInteractable

Methods

TryGetChildren ( children )
If a successful conecast is performed on this IConecastTarget, where TryConecast returns true, this method will be called to fetch child targets for further conecasting.
Signature
bool Oculus.Interaction.GazeConecastTarget.TryGetChildren(IList< IConecastTarget > children)
Parameters
children: IList< IConecastTarget >  An empty list should be provided here to be populated with child targets, if they exist.
Returns
bool  True if any child targets are added to the list.

Static Methods

GetPooled ()
Signature
static GazeConecastTarget Oculus.Interaction.GazeConecastTarget.GetPooled()
ReleasePooled ( obj )
Signature
static void Oculus.Interaction.GazeConecastTarget.ReleasePooled(GazeConecastTarget obj)
Parameters
Returns
void