API reference

TransformExtensions Class

Static Member Functions

static Vector3 InverseTransformPointUnscaled
( this Transform transform,
Vector3 position )
Transforms position from world space to local space.
static Vector3 TransformPointUnscaled
( this Transform transform,
Vector3 position )
Transforms position from local space to world space.
static Bounds TransformBounds
( this Transform transform,
in Bounds bounds )
Transform a bounding box from local to world space.
Parameters
transform
Transfrom that bounds is local to
bounds
The bounds to transform, in local space
Returns
The bounding box in world space
static Transform FindChildRecursive
( this Transform parent,
string name )