Transform | Transform[Get] A transform for the surface. |
bool | Raycast to the surface with an optional maximum distance value. |
bool | Find nearest point to surface. |
Transform Oculus.Interaction.Surfaces.ISurface.Transform |
---|
A transform for the surface. |
bool Oculus.Interaction.Surfaces.ISurface.Raycast ( in Ray ray, out SurfaceHit hit, float maxDistance ) |
---|
Raycast to the surface with an optional maximum distance value. Parameters ray The ray to cast hitThe returned hit data maxDistanceIf greater than zero, maximum distance of raycast Returns true if surface was hit |
bool Oculus.Interaction.Surfaces.ISurface.ClosestSurfacePoint ( in Vector3 point, out SurfaceHit hit, float maxDistance ) |
---|
Find nearest point to surface. Parameters ray Point to check hitThe returned hit data maxDistanceIf greater than zero, maximum distance of check Returns true if nearest point was found |