CandidateProperties
: override object |
The ICandidatePosition implementation used to compare interaction candidates.
Signature
override object Oculus.Interaction.GazeInteractor.CandidateProperties |
CandidateProvider
: IGazeCandidateProvider |
Signature
IGazeCandidateProvider Oculus.Interaction.GazeInteractor.CandidateProvider |
MaxRayLength
: float |
Signature
float Oculus.Interaction.GazeInteractor.MaxRayLength |
PointerTransform
: Transform |
Signature
Transform Oculus.Interaction.GazeInteractor.PointerTransform |
Ray
: Ray |
The current gaze ray
Signature
Ray Oculus.Interaction.GazeInteractor.Ray |
CandidateHitNormal
: Vector3
[Get] |
The current normal vector (world space) of the CandidateHitPoint
Signature
Vector3 Oculus.Interaction.GazeInteractor.CandidateHitNormal |
CandidateHitPoint
: Vector3
[Get] |
The current intersection point (world space) of this interactor and its candidate interactable
Effectively the "cursor" position of this interactor.
Signature
Vector3 Oculus.Interaction.GazeInteractor.CandidateHitPoint |
WorldPose
: Pose
[Get] |
The world pose of the gaze origin
Signature
Pose Oculus.Interaction.GazeInteractor.WorldPose |
Awake
()
|
Signature
override void Oculus.Interaction.GazeInteractor.Awake() Returns override void |
ComputeCandidate
()
|
Signature
override GazeInteractable Oculus.Interaction.GazeInteractor.ComputeCandidate() Returns override GazeInteractable |
ComputeCandidateTiebreaker
(
a
, b
)
|
Signature
override int Oculus.Interaction.GazeInteractor.ComputeCandidateTiebreaker(GazeInteractable a, GazeInteractable b) Parameters Returns override int |
ComputePointerPose
()
|
Signature
override Pose Oculus.Interaction.GazeInteractor.ComputePointerPose() Returns override Pose |
DoHoverUpdate
()
|
Signature
override void Oculus.Interaction.GazeInteractor.DoHoverUpdate() Returns override void |
DoNormalUpdate
()
|
Signature
override void Oculus.Interaction.GazeInteractor.DoNormalUpdate() Returns override void |
DoSelectUpdate
()
|
Signature
override void Oculus.Interaction.GazeInteractor.DoSelectUpdate() Returns override void |
InteractableSelected
(
interactable
)
|
Signature
override void Oculus.Interaction.GazeInteractor.InteractableSelected(GazeInteractable interactable) Parameters interactable: GazeInteractableReturns override void |
InteractableUnselected
(
interactable
)
|
Signature
override void Oculus.Interaction.GazeInteractor.InteractableUnselected(GazeInteractable interactable) Parameters interactable: GazeInteractableReturns override void |
Start
()
|
Signature
override void Oculus.Interaction.GazeInteractor.Start() Returns override void |
InjectAllGazeInteractor
(
selector
, relativeOrigin
, hitTester
)
|
Signature
void Oculus.Interaction.GazeInteractor.InjectAllGazeInteractor(ISelector selector, Transform relativeOrigin, IGazeCandidateProvider hitTester) Parameters Returns void |
InjectHitTester
(
hitTester
)
|
Signature
void Oculus.Interaction.GazeInteractor.InjectHitTester(IGazeCandidateProvider hitTester) Parameters hitTester: IGazeCandidateProviderReturns void |
InjectPointerTransform
(
pointerTransform
)
|
Signature
void Oculus.Interaction.GazeInteractor.InjectPointerTransform(Transform pointerTransform) Parameters pointerTransform: TransformReturns void |
InjectSelector
(
selector
)
|
Signature
void Oculus.Interaction.GazeInteractor.InjectSelector(ISelector selector) Parameters selector: ISelectorReturns void |
TryGetCandidate
(
candidate
, eyePoseWorld
, hitPointWorld
, hitNormalWorld
)
|
Provides a GazeInteractable candidate for interaction.
Signature
bool Oculus.Interaction.GazeInteractor.IGazeCandidateProvider.TryGetCandidate(out GazeInteractable candidate, out Pose eyePoseWorld, out Vector3 hitPointWorld, out Vector3 hitNormalWorld) Parameters eyePoseWorld: out Pose
The eye pose in world space at the time of the hit test
hitPointWorld: out Vector3
The hit point of the hit test on the object's surface
hitNormalWorld: out Vector3
The normal of the object's surface at hitPointWorldReturns bool
True if a valid candidate was hit.
|
GazeCandidateProperties
(
candidatePosition
)
|
Signature
Oculus.Interaction.GazeInteractor.GazeCandidateProperties.GazeCandidateProperties(Vector3 candidatePosition) Parameters candidatePosition: Vector3 |
CandidatePosition
: Vector3
[Get] |
Signature
Vector3 Oculus.Interaction.GazeInteractor.GazeCandidateProperties.CandidatePosition |