/// <summary>
 /// Adds a HapticPattern to this HapticExperience with a given time offset and default strength of 1.0
 /// </summary>
 /// <param name="pattern">The pattern with time/strength attributes</param>
 /// <param name="time">Time offset (fractional seconds)</param>
 /// <param name="strength">Strength of the Pattern (for switching which effects are used)</param>
 /// <returns></returns>
 public HapticExperience AddPattern(HapticPattern pattern, double time, double strength)
 {
     Patterns.Add(new ParameterizedPattern(pattern, (float)time, (float)strength));
     return(this);
 }
 public ParameterizedPattern(HapticPattern pattern, float time = 0.0f, float strength = 1.0f) : base(time, strength)
 {
     Pattern = pattern;
 }