Ejemplo 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();
            }
Ejemplo n.º 2
0
 public void OnValueChanged()
 {
     propertyChangesAction.translation = centerPosition - changeStartCenterPosition;
     scene.Refresh();
 }