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

DistantPointDetector Class

This class contains the logic for finding the best candidate among a series of colliders.

Overview

Public Member Functions

bool
ComputeIsPointing
( Collider[] colliders,
bool isSelecting,
out float bestScore,
out Vector3 bestHitPoint )
bool
IsPointingWithoutAid
( Collider[] colliders,
out Vector3 bestHitPoint )
bool
IsWithinDeselectionRange
( Collider[] colliders )

Details

Detailed Description

It uses up to three conical frustums from DistantPointDetectorFrustums for selection and deselection.

Member Functions

Oculus.Interaction.DistantPointDetector.DistantPointDetector
No description available.
bool Oculus.Interaction.DistantPointDetector.ComputeIsPointing
( Collider[] colliders,
bool isSelecting,
out float bestScore,
out Vector3 bestHitPoint )
No description available.
bool Oculus.Interaction.DistantPointDetector.IsPointingWithoutAid
( Collider[] colliders,
out Vector3 bestHitPoint )
No description available.
bool Oculus.Interaction.DistantPointDetector.IsWithinDeselectionRange
( Collider[] colliders )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon