◆
GetBoundsIncludingDecendants()
static Bounds GetBoundsIncludingDecendants
(
Transform
localToThisTransform
)
static
Parameters
localToThisTransform
All descendants of this object are check for
IGraphicsBounds
components. Also, any bounds found are transformed such that they are relative to this one.
Returns
The total bounds of object and in's descendants, relative to the provided transform.
EyE
Unity
Graphics
IGraphicsBoundsExtensions