Surface[Get] | |
MovementProvider[Get] | |
int | TiebreakerScore[Get] |
bool | Called when the interactor has a set of interactables and is calculating which one is closest. |
Generates movement to move the <cref="RayInteractable" /> from its current position to the target position. | |
void | InjectAllRayInteractable ( ISurface surface ) Sets all required values for a <cref="RayInteractable" /> on a dynamically instantiated GameObject. |
void | InjectSurface ( ISurface surface ) Sets a surface for a dynamically instantiated GameObject. |
void | InjectOptionalSelectSurface ( ISurface surface ) Sets a select surface for a dynamically instantiated GameObject. |
void | InjectOptionalMovementProvider ( IMovementProvider provider ) Sets a movement provider for a dynamically instantiated GameObject. |
ISurface Oculus.Interaction.RayInteractable.Surface |
---|
No description available.
|
IMovementProvider Oculus.Interaction.RayInteractable.MovementProvider |
---|
No description available.
|
int Oculus.Interaction.RayInteractable.TiebreakerScore |
---|
No description available.
|
override void Oculus.Interaction.RayInteractable.Awake ( ) |
---|
No description available.
|
override void Oculus.Interaction.RayInteractable.Start ( ) |
---|
No description available.
|
bool Oculus.Interaction.RayInteractable.Raycast ( Ray ray, out SurfaceHit hit, in float maxDistance, bool selectSurface ) |
---|
Called when the interactor has a set of interactables and is calculating which one is closest. Parameters ray The position and direction of the ray. hitThe location, normal, and distance of the ray hit. maxDistanceThe maximum ray length. selectSurfaceTrue if the raycast has hit the selectable part of the <cref="RayInteractable" />, otherwise false. Returns Returns true if hit. |
IMovement Oculus.Interaction.RayInteractable.GenerateMovement ( in Pose to, in Pose source ) |
---|
Generates movement to move the <cref="RayInteractable" /> from its current position to the target position. Parameters to The target position. sourceThe current position. Returns Returns the movement that will be applied to the interactable. |
void Oculus.Interaction.RayInteractable.InjectAllRayInteractable ( ISurface surface ) |
---|
Sets all required values for a <cref="RayInteractable" /> on a dynamically instantiated GameObject. |
void Oculus.Interaction.RayInteractable.InjectSurface ( ISurface surface ) |
---|
Sets a surface for a dynamically instantiated GameObject. |
void Oculus.Interaction.RayInteractable.InjectOptionalSelectSurface ( ISurface surface ) |
---|
Sets a select surface for a dynamically instantiated GameObject. |
void Oculus.Interaction.RayInteractable.InjectOptionalMovementProvider ( IMovementProvider provider ) |
---|
Sets a movement provider for a dynamically instantiated GameObject. |