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