Esempio n. 1
0
        public void ChangeParameter(PARAMS parameter, float duration, float intensity, int priority = 0)
        {
            // Duration and priority will be set to one
            KeyFramedGesture changeParam = new KeyFramedGesture("Change " + parameter.ToString(), new List <float> {
                1
            },
                                                                new List <keyFramedPARAM> {
                new keyFramedPARAM(parameter, new List <float> {
                    1
                })
            });

            //Call the gesture with the right duration and intensity
            Gesture(changeParam, priority, duration, intensity);
        }