static float | The distance above a surface along the closest normal. |
static float | The distance to a surface along the tangent. |
static float | The distance below a surface along the closest normal. |
static float | The distance from the closest point as computed by the proximity field and surface. |
static float Oculus.Interaction.SurfaceUtils.ComputeDistanceAbove ( ISurfacePatch surfacePatch, Vector3 point, float radius ) |
---|
The distance above a surface along the closest normal. Returns 0 for where the sphere touches the surface along the normal. Parameters interactable The PokeInteractable surface to test pointThe origin point to compute distance from the surface radiusThe radius of the sphere positioned at the origin point |
static float Oculus.Interaction.SurfaceUtils.ComputeTangentDistance ( ISurfacePatch surfacePatch, Vector3 point, float radius ) |
---|
The distance to a surface along the tangent. Parameters interactable The PokeInteractable surface to test pointThe origin point to compute distance from the surface radiusThe radius of the sphere positioned at the origin point |
static float Oculus.Interaction.SurfaceUtils.ComputeDepth ( ISurfacePatch surfacePatch, Vector3 point, float radius ) |
---|
The distance below a surface along the closest normal. always positive. Parameters interactable the pokeinteractable surface to test pointthe origin point to compute distance from the surface radiusthe radius of the sphere positioned at the origin point |
static float Oculus.Interaction.SurfaceUtils.ComputeDistanceFrom ( ISurfacePatch surfacePatch, Vector3 point, float radius ) |
---|
The distance from the closest point as computed by the proximity field and surface. Returns the distance to the point without taking into account the surface normal. Parameters interactable the pokeinteractable surface to test pointthe origin point to compute distance from the surface radiusthe radius of the sphere positioned at the origin point |