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
|