Interface used to stores a set of unity Transforms, and make them enumerable. Classes that implement this Interface can all be accessed similarly.

Public Member Functions

void AssignToTransform (Transform transformToAssignTo, bool restoreRootLocalNotWorld=false)
 Use to assign the values stored in the TransformStorageTree to an actual UnityEngine.Transform. NOTE: This function assumes the hierarchy, including order, of the transform's descendants has not changed since recording it.
Any nodes no longer exist in the transform's descendants will be ignored: no new node in the transform will be created. If new transforms have been added as children in front of recorded child transform, they will be overwritten, For that, see the WriteTransformHeirarchy(Transform) function.
 
bool Equals (object objectToCompare)
 Generalized version of equality function. Determines if the object to compare is a Transform or IStoreTransformHierarchy. If a IStoreTransformHierarchy, it compares each transform element for equality. If all element match it returns true.
 
bool Equals (Transform compareTransform)
 Specific version of equality function used to compare with a Transform object. This function will compare only local transformations.
 
bool Equals (Transform compareTransform, bool localNotWorld)
 Specific version of equality function used to compare with a Transform object. It allows the caller to specify weather to compare the StoredTransform with the Transforms local or world coordinates.
 
void StoreTransformAndChildren (Transform transformToStore)
 this function is called to Store a transform Object in the StoredTransform Object. All descendants of the transform will be added to the IStoreTransformHierarchy, appropriately.
 
+ Inheritance diagram for IStoreTransformHierarchy: