API reference
API reference
Select your platform
No SDKs available
No versions available

BoundsClipper Class

Extends MonoBehaviour
Clips a <cref"PlaneSurface" />.
Each BoundsClipper represents a bounding box, similar to Unity’s BoxCollider.

Properties

Position : Vector3
[Get][Set]
Signature
Vector3 Oculus.Interaction.Surfaces.BoundsClipper.Position
Size : Vector3
[Get][Set]
Signature
Vector3 Oculus.Interaction.Surfaces.BoundsClipper.Size

Methods

GetLocalBounds ( localTo , bounds )
Get the bounding box in the local space of a provided transform.
Signature
bool Oculus.Interaction.Surfaces.BoundsClipper.GetLocalBounds(Transform localTo, out Bounds bounds)
Parameters
localTo: Transform  The transform the bounds will be local to
bounds: out Bounds  The bounding box in local space of localTo
Returns
bool  True if clipping should be performed