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

PokeInteractor Class

Defines a near-poke interaction that is driven by a near-distance proximity computation and a raycast between the position recorded across two frames against a target surface.
Oculus::Interaction::PokeInteractor extends Oculus.Interaction.PointerInteractor< PokeInteractor, PokeInteractable >.
Oculus::Interaction::PokeInteractor extends Oculus.Interaction.ITimeConsumer.

Overview

Properties

Vector3
Vector3
Vector3
float
Radius[Get]
Vector3
Origin[Get]
bool

Data Fields

Action< bool >

Public Member Functions

void
SetTimeProvider
( Func< float > timeProvider )
Sets a function that returns the current time in seconds.
float
MinPokeDepth
( PokeInteractable interactable )
float
ComputeDepth
( PokeInteractable interactable,
Vector3 point )
void
InjectAllPokeInteractor
( Transform pointTransform,
float radius )
Sets all required values for a poke interactor on a dynamically instantiated GameObject.
void
InjectPointTransform
( Transform pointTransform )
Sets a point transform for a dynamically instantiated GameObject.
void
InjectRadius
( float radius )
Sets a radius for a dynamically instantiated GameObject.
void
InjectOptionalTouchReleaseThreshold
( float touchReleaseThreshold )
Sets a touch release threshold for a dynamically instantiated GameObject.
void
InjectOptionalEqualDistanceThreshold
( float equalDistanceThreshold )
Sets an equal distance threshold for a dynamically instantiated GameObject.
void
InjectOptionalTimeProvider
( Func< float > timeProvider )
Obsolete, replaced by SetTimeProvider().

Object Data

override void
Awake ( )
override void
Start ( )
override void
override void
override bool
override bool
override void
override int
override void
override void
override Pose
bool
bool
ShouldCancel
( PokeInteractable interactable )
bool
ShouldRecoil
( PokeInteractable interactable )
override void

Details

Properties

Vector3 Oculus.Interaction.PokeInteractor.ClosestPoint
No description available.
Vector3 Oculus.Interaction.PokeInteractor.TouchPoint
No description available.
Vector3 Oculus.Interaction.PokeInteractor.TouchNormal
No description available.
float Oculus.Interaction.PokeInteractor.Radius
No description available.
Vector3 Oculus.Interaction.PokeInteractor.Origin
No description available.
bool Oculus.Interaction.PokeInteractor.IsPassedSurface
No description available.

Fields

Action<bool> Oculus.Interaction.PokeInteractor.WhenPassedSurfaceChanged
No description available.

Member Functions

void Oculus.Interaction.PokeInteractor.SetTimeProvider
( Func< float > timeProvider )
Sets a function that returns the current time in seconds.
float Oculus.Interaction.PokeInteractor.MinPokeDepth
( PokeInteractable interactable )
No description available.
float Oculus.Interaction.PokeInteractor.ComputeDepth
( PokeInteractable interactable,
Vector3 point )
No description available.
void Oculus.Interaction.PokeInteractor.InjectAllPokeInteractor
( Transform pointTransform,
float radius )
Sets all required values for a poke interactor on a dynamically instantiated GameObject.
void Oculus.Interaction.PokeInteractor.InjectPointTransform
( Transform pointTransform )
Sets a point transform for a dynamically instantiated GameObject.
void Oculus.Interaction.PokeInteractor.InjectRadius
( float radius )
Sets a radius for a dynamically instantiated GameObject.
void Oculus.Interaction.PokeInteractor.InjectOptionalTouchReleaseThreshold
( float touchReleaseThreshold )
Sets a touch release threshold for a dynamically instantiated GameObject.
void Oculus.Interaction.PokeInteractor.InjectOptionalEqualDistanceThreshold
( float equalDistanceThreshold )
Sets an equal distance threshold for a dynamically instantiated GameObject.
void Oculus.Interaction.PokeInteractor.InjectOptionalTimeProvider
( Func< float > timeProvider )
Obsolete, replaced by SetTimeProvider().

Object Data

override void Oculus.Interaction.PokeInteractor.Awake ( )
No description available.
override void Oculus.Interaction.PokeInteractor.Start ( )
No description available.
override void Oculus.Interaction.PokeInteractor.DoPreprocess ( )
No description available.
override void Oculus.Interaction.PokeInteractor.DoPostprocess ( )
No description available.
override bool Oculus.Interaction.PokeInteractor.ComputeShouldSelect ( )
No description available.
override bool Oculus.Interaction.PokeInteractor.ComputeShouldUnselect ( )
No description available.
override void Oculus.Interaction.PokeInteractor.DoHoverUpdate ( )
No description available.
override PokeInteractable Oculus.Interaction.PokeInteractor.ComputeCandidate ( )
No description available.
override int Oculus.Interaction.PokeInteractor.ComputeCandidateTiebreaker
No description available.
override void Oculus.Interaction.PokeInteractor.InteractableSelected
( PokeInteractable interactable )
No description available.
override void Oculus.Interaction.PokeInteractor.HandleDisabled ( )
No description available.
override Pose Oculus.Interaction.PokeInteractor.ComputePointerPose ( )
No description available.
virtual bool Oculus.Interaction.PokeInteractor.SurfaceUpdate
( PokeInteractable interactable )
No description available.
virtual bool Oculus.Interaction.PokeInteractor.ShouldCancel
( PokeInteractable interactable )
No description available.
virtual bool Oculus.Interaction.PokeInteractor.ShouldRecoil
( PokeInteractable interactable )
No description available.
override void Oculus.Interaction.PokeInteractor.DoSelectUpdate ( )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon