Example #1
0
        internal InputPanel(SetFollowCamProperties properties)
            : this()
        {
            mProperties = properties;
            properties.ControlCameraChanged += new Action(properties_ControlCameraChanged);

            behindnessAnglePanel.Value = properties.BehindnessAngle;
            behindnessLagPanel.Value   = properties.BehindnessLag;
            distancePanel.Value        = properties.Distance;
            focusPanel.Value           = properties.Focus;
            focusLagPanel.Value        = properties.FocusLag;
            focusOffsetPanel.Value     = properties.FocusOffset;
            focusOffset3DPanel.Value   = properties.FocusOffset3D;
            focusThresholdPanel.Value  = properties.FocusThreshold;
            lookAtPanel.Value          = properties.LookAt;
            lookAtLagPanel.Value       = properties.LookAtLag;
            lookAtThresholdPanel.Value = properties.LookAtThreshold;
            pitchPanel.Value           = properties.Pitch;
            activeCheckbox.Checked     = properties.ControlCamera;
        }
Example #2
0
        internal InputPanel(SetFollowCamProperties properties)
            : this()
        {
            mProperties = properties;
            properties.ControlCameraChanged += new Action(properties_ControlCameraChanged);

            behindnessAnglePanel.Value = properties.BehindnessAngle;
            behindnessLagPanel.Value = properties.BehindnessLag;
            distancePanel.Value = properties.Distance;
            focusPanel.Value = properties.Focus;
            focusLagPanel.Value = properties.FocusLag;
            focusOffsetPanel.Value = properties.FocusOffset;
            focusOffset3DPanel.Value = properties.FocusOffset3D;
            focusThresholdPanel.Value = properties.FocusThreshold;
            lookAtPanel.Value = properties.LookAt;
            lookAtLagPanel.Value = properties.LookAtLag;
            lookAtThresholdPanel.Value = properties.LookAtThreshold;
            pitchPanel.Value = properties.Pitch;
            activeCheckbox.Checked = properties.ControlCamera;
        }
 public void Init(Core coordinator)
 {
     mFollowCamProperties = new SetFollowCamProperties(Frame.Core);
     mFollowCamProperties.Enabled = mConfig.ControlCameraPosition;
     if (mProxyController.Started)
         mFollowCamProperties.SetProxy(mProxyController.Proxy);
 }