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

IBoundsClipper Interface

This interface suggests than an implementing type is intended to serve as a TClipper type in an IClippedSurface<TClipper>.
Specifically, this clipper type limits allowable results to those that lie within a certain spatial bounding box.

Methods

GetLocalBounds ( localTo , bounds )
Attempts to retrieve the bounding box corresponding to the allowed region of the clipped surface
Signature
bool Oculus.Interaction.Surfaces.IBoundsClipper.GetLocalBounds(Transform localTo, out Bounds bounds)
Parameters
localTo: Transform  The transform defining the space in which the returned bounds should be expressed
bounds: out Bounds  The bounding box, expressed in the local space defined by localTo
Returns
bool  True if clipping should be performed, false otherwise