◆
FromGlobalTo()
static Bounds FromGlobalTo
(
this Bounds
boundsToTransform
,
Transform
toThisTransform
)
static
Parameters
boundsToTransform
This is the global bounds that will be transformed.
toThisTransform
This 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.
EyE
Unity
Graphics
IGraphicsBoundsExtensions