invert


Description:

[ DestroysInstance ]
public Transform? invert ()

Inverts the given transform.

If this is not invertible, null is returned. Note that inverting null also returns null, which is the correct inverse of null. If you need to differentiate between those cases, you should check this is not null before calling this function.

Parameters:

this

Transform to invert

Returns:

The inverted transform