 | TransformXCalculateTransformPath Method |
Calculates the transform path from the specified target to the specified root.
Namespace: CandlelightAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntaxpublic static string CalculateTransformPath(
this Transform targetTransform,
Transform root
)
Parameters
- targetTransform
- Type: Transform
Target transform whose path should be calculated. - root
- Type: Transform
Transform relative to which the target's path should be calculated.
Return Value
Type:
StringThe transform path if it could be calculated; otherwise,
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Transform. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks
See Also