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;

        }
Exemplo n.º 2
0
        public ReactiveHud()
        {
            mCameraBounds = new CameraBounds(EditorData.BoundsCamera);

            mSplineMover = new SplineMover();

            mCurrentSplinePointMarker = new SplinePointSelectionMarker();

            mSelf = this;
        }
Exemplo n.º 3
0
        public ReactiveHud()
        {
            mCameraBounds = new CameraBounds(EditorData.BoundsCamera);

            mSplineMover = new SplineMover();

            mCurrentSplinePointMarker = new SplinePointSelectionMarker();

            mSelf = this;
        }