Esempio n. 1
0
            public void OnValueChanged()
            {
                propertyChangesAction.translation = centerPosition - changeStartCenterPosition;

                if (rotation.Value.IsAllShared)
                {
                    propertyChangesAction.rotOverride = Framework.Mat3FromEulerAnglesDeg(rotation.Value.SharedVector);
                }

                propertyChangesAction.scaleOverride = scale.Value;

                scene.Refresh();
            }
Esempio n. 2
0
 public void OnValueChanged()
 {
     propertyChangesAction.translation = centerPosition - changeStartCenterPosition;
     scene.Refresh();
 }