◆
TransformRelativeToAncestor()
static Matrix4x4 TransformRelativeToAncestor
(
this Transform
transform
,
Transform
ancenstorTransform
)
static
Parameters
transform
Transform from which the TRS will be extracted.
ancenstorTransform
Transforms including and above this object, will not be applied when transforming the point.
Returns
This matrix encodes the computed transformation.
EyE
Unity
Extensions
TransformExtensions