$setTransformationChanged method
void
$setTransformationChanged()
(Internal usage) Sets the transformationChanged flag and updates the 3D flag based on whether the object has 3D properties set.
Implementation
void $setTransformationChanged() {
_transformationChanged = true;
_is3D = _rotationX != 0 || _rotationY != 0 || _z != 0;
requiresRedraw();
}