public ExtrudeState(Model m, FullScene scene) { this.modelClone = m.Clone(); var s = new Slider() { Minimum = -100, Maximum = 100, Value = 0, Orientation = Orientation.Vertical }; s.ValueChanged += s_ValueChanged; this.Widgets.Add(s); }
public LightingState(Model model, FullScene scene) { this.model = model; this.scene = scene; this.addWidgets(); }