BackingSurface
: ISurface |
Implementation of ISurfacePatch.BackingSurface; for details, please refer to the related documentation provided for that property.
Signature
ISurface Oculus.Interaction.Surfaces.ClippedPlaneSurface.BackingSurface |
Transform
: Transform |
Implementation of ISurface.Transform; for details, please refer to the related documentation provided for that property.
Signature
Transform Oculus.Interaction.Surfaces.ClippedPlaneSurface.Transform |
Awake
()
|
Signature
virtual void Oculus.Interaction.Surfaces.ClippedPlaneSurface.Awake() Returns void |
Start
()
|
Signature
virtual void Oculus.Interaction.Surfaces.ClippedPlaneSurface.Start() Returns void |
ClipBounds
(
bounds
, clipped
)
|
Clip a provided Bounds using the ClippedPlaneSurface's IBoundsClippers.
Comparable to applying the logical AND of the input bounds with all the clippers returned by GetClippers.
Signature
bool Oculus.Interaction.Surfaces.ClippedPlaneSurface.ClipBounds(in Bounds bounds, out Bounds clipped) Parameters bounds: in Bounds
The Bounds to clip
clipped: out Bounds
The clipped result
Returns bool
True if resulting bounds are contain any space, false if the clipped bounds have no volume
|
ClosestSurfacePoint
(
point
, hit
, maxDistance
)
|
Implementation of ISurface.ClosestSurfacePoint(in Vector3, out SurfaceHit, float); for details, please refer to the related documentation provided for that property.
Signature
bool Oculus.Interaction.Surfaces.ClippedPlaneSurface.ClosestSurfacePoint(in Vector3 point, out SurfaceHit hit, float maxDistance=0) Parameters Returns bool |
GetClippers
()
|
Implementation of IClippedSurface<TClipper>.GetClippers; for details, please refer to the related documentation provided for that property.
Signature
IReadOnlyList<IBoundsClipper> Oculus.Interaction.Surfaces.ClippedPlaneSurface.GetClippers() Returns IReadOnlyList< IBoundsClipper > |
InjectAllClippedPlaneSurface
(
planeSurface
, clippers
)
|
Injects all required dependencies for a dynamically instantiated ClippedPlaneSurface; effectively wraps InjectPlaneSurface(PlaneSurface) and InjectClippers(IEnumerable<IBoundsClipper>).
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Surfaces.ClippedPlaneSurface.InjectAllClippedPlaneSurface(PlaneSurface planeSurface, IEnumerable< IBoundsClipper > clippers) Parameters planeSurface: PlaneSurfaceclippers: IEnumerable< IBoundsClipper >Returns void |
InjectClippers
(
clippers
)
|
Sets the IBoundsClippers for a dynamically instantiated ClippedPlaneSurface.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Surfaces.ClippedPlaneSurface.InjectClippers(IEnumerable< IBoundsClipper > clippers) Parameters clippers: IEnumerable< IBoundsClipper >Returns void |
InjectPlaneSurface
(
planeSurface
)
|
Sets the underlying PlaneSurface for a dynamically instantiated ClippedPlaneSurface.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.Surfaces.ClippedPlaneSurface.InjectPlaneSurface(PlaneSurface planeSurface) Parameters planeSurface: PlaneSurfaceReturns void |
Raycast
(
ray
, hit
, maxDistance
)
|
Implementation of ISurface.Raycast(in Ray, out SurfaceHit, float); for details, please refer to the related documentation provided for that property.
Signature
bool Oculus.Interaction.Surfaces.ClippedPlaneSurface.Raycast(in Ray ray, out SurfaceHit hit, float maxDistance=0) Parameters Returns bool |