◆ FromGlobalTo()

static Bounds FromGlobalTo ( this Bounds  boundsToTransform,
Transform  toThisTransform 
)
static
Parameters
boundsToTransformThis is the global bounds that will be transformed.
toThisTransformThis is the transform the resultant bounds will be relative to.
Returns
The provided bounds, transformed from global coordinates to local coordinate's for the provided transform.