API reference

IBoundsClipper Interface

Uses a bounding box to perform clipping.

Member Functions

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