◆ AssignToTransform()

void AssignToTransform ( Transform  transformToAssignTo,
bool  localNotWorld = true 
)
Parameters
transformToAssignToThe transform to which we should assign the values stored in this StoredTransform instance.
localNotWorldOptional 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().

+ Here is the caller graph for this function: