clone method

UserTransform clone()

A copy that shares nothing with this transform.

Implementation

UserTransform clone() {
  return UserTransform()
    ..offset = math.Vector3.copy(offset)
    ..scale = scale
    ..rotateZ = rotateZ
    ..flipX = flipX
    ..activeRotateZ = activeRotateZ
    ..activeScale = activeScale;
}