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

SurfaceHitCache Class

Overview

Public Member Functions

bool
GetPatchHit
( PokeInteractable interactable,
out SurfaceHit hit )
Detects where the surface was hit.
bool
GetBackingHit
( PokeInteractable interactable,
out SurfaceHit hit )
Detects where the backstop was hit.
Caches hit information for surfaces that are poked.
void
Reset
( Vector3 origin )
Clears the hit caches.

Details

Member Functions

bool Oculus.Interaction.PokeInteractor.SurfaceHitCache.GetPatchHit
( PokeInteractable interactable,
out SurfaceHit hit )
Detects where the surface was hit.
bool Oculus.Interaction.PokeInteractor.SurfaceHitCache.GetBackingHit
( PokeInteractable interactable,
out SurfaceHit hit )
Detects where the backstop was hit.
Oculus.Interaction.PokeInteractor.SurfaceHitCache.SurfaceHitCache ( )
Caches hit information for surfaces that are poked.
void Oculus.Interaction.PokeInteractor.SurfaceHitCache.Reset
( Vector3 origin )
Clears the hit caches.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon