enum | NormalFacing { } Used for interaction with flat surfaces, and acts in much the same way as Unity’s Plane. |
Facing[Get] | |
bool | DoubleSided[Get] |
Vector3 | Normal[Get] |
Transform | Transform[Get] A transform for the surface. |
Bounds | Bounds[Get] The world space axis-aligned bounding box (AABB) |
bool | Find nearest point to surface. |
bool | Raycast to the surface with an optional maximum distance value. |
Plane | GetPlane ( ) |
void | |
void | InjectNormalFacing ( NormalFacing facing ) |
void | InjectDoubleSided ( bool doubleSided ) |
Backward | Normal faces along the transform's negative Z axis. |
Forward | Normal faces along the transform's positive Z axis. |
NormalFacing Oculus.Interaction.Surfaces.PlaneSurface.Facing |
---|
No description available.
|
bool Oculus.Interaction.Surfaces.PlaneSurface.DoubleSided |
---|
No description available.
|
Vector3 Oculus.Interaction.Surfaces.PlaneSurface.Normal |
---|
No description available.
|
Transform Oculus.Interaction.Surfaces.PlaneSurface.Transform |
---|
A transform for the surface. |
Bounds Oculus.Interaction.Surfaces.PlaneSurface.Bounds |
---|
The world space axis-aligned bounding box (AABB) |
bool Oculus.Interaction.Surfaces.PlaneSurface.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 |
bool Oculus.Interaction.Surfaces.PlaneSurface.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 |
Plane Oculus.Interaction.Surfaces.PlaneSurface.GetPlane ( ) |
---|
No description available.
|
void Oculus.Interaction.Surfaces.PlaneSurface.InjectAllPlaneSurface ( NormalFacing facing, bool doubleSided ) |
---|
No description available.
|
void Oculus.Interaction.Surfaces.PlaneSurface.InjectNormalFacing ( NormalFacing facing ) |
---|
No description available.
|
void Oculus.Interaction.Surfaces.PlaneSurface.InjectDoubleSided ( bool doubleSided ) |
---|
No description available.
|