Exemple #1
0
 public UiScaleLerpController(string id, ControllerType controllerType, MouseManager mouseManager,
                              TrigonometricParameters trigonometricParameters) : base(id,
                                                                                      controllerType)
 {
     this.mouseManager            = mouseManager;
     this.trigonometricParameters = trigonometricParameters;
 }
        public override bool Equals(object obj)
        {
            TrigonometricParameters other = obj as TrigonometricParameters;

            return(this.maxAmplitude == other.MaxAmplitude &&
                   this.angularFrequency == other.AngularFrequency &&
                   this.phaseAngle == other.PhaseAngle);
        }
Exemple #3
0
 public PanController(string id, ControllerType controllerType,
                      Vector3 rotationAxis, TrigonometricParameters trigonometricParameters) : base(id, controllerType)
 {
     this.rotationAxis            = rotationAxis;
     this.trigonometricParameters = trigonometricParameters;
 }