void AssignToTransform | ( | Transform | transformToAssignTo, |
bool | localNotWorld = true |
||
) |
transformToAssignTo | The transform to which we should assign the values stored in this StoredTransform instance. |
localNotWorld | Optional parameter, true by default. If set to true, will assign the information in the StorageTransform into the transformToAssignTo Transform's local values. Otherwise it will assign this information to the transformToAssignTo Transform's world values: This may require computations and thus yield imprecise result, particularly with the scaling component: Unity's Transform does not have an assignable "worldScale" coordinate. |
References StoredTransform.localPosition, StoredTransform.localRotation, and StoredTransform.localScale.
Referenced by TransformStorageTree.AssignToTransform(), TransformDictionaryStorage.AssignToTransform(), and TransformAndDecendantStorage.AssignToTransform().