public CameraPropertiesWindow(ReactiveHud reactiveHud) { InitializeComponent(); this.DataUiGrid.Instance = Camera.Main; mTimer = new DispatcherTimer(); mTimer.Interval = TimeSpan.FromMilliseconds(100); mTimer.Start(); mTimer.Tick += HandleTimerTick2; this.DataUiGrid.IgnoreAllMembers(); this.DataUiGrid.MembersToIgnore.Remove("Orthogonal"); this.DataUiGrid.PropertyChange += HandlePropertyChange; this.BoundsDataUiGrid.PropertyChange += HandlePropertyChange; mBoundsVm = new CameraBoundsViewModel( reactiveHud.CameraBounds); BoundsDataUiGrid.Instance = mBoundsVm; }
public ReactiveHud() { mCameraBounds = new CameraBounds(EditorData.BoundsCamera); mSplineMover = new SplineMover(); mCurrentSplinePointMarker = new SplinePointSelectionMarker(); mSelf = this; }