public void OnValueChanged() { propertyChangesAction.translation = centerPosition - changeStartCenterPosition; if (rotation.Value.IsAllShared) { propertyChangesAction.rotOverride = Framework.Mat3FromEulerAnglesDeg(rotation.Value.SharedVector); } propertyChangesAction.scaleOverride = scale.Value; scene.Refresh(); }
public void OnValueChanged() { propertyChangesAction.translation = centerPosition - changeStartCenterPosition; scene.Refresh(); }