コード例 #1
0
 /// <summary>
 /// Create array of packages, there each one have it's own vibration time in milliseconds.
 /// </summary>
 /// <param name="vibrationPackage">Instructions pack for vibration enginea</param>
 public void HapticPulseByPattern(params VibrationPackage[] vibrationPackage)
 {
     FinchCore.HapticPulseByPattern(Node, vibrationPackage);
 }
コード例 #2
0
 public void HapticPulse(FinchNodeType type, params VibrationPackage[] milliseconds)
 {
     FinchCore.HapticPulseByPattern(type, milliseconds);
 }
コード例 #3
0
 /// <summary>
 /// Sends instructions pack for vibration engine to the node.
 /// </summary>
 /// <param name="chirality">Controller chirality</param>
 /// <param name="vibrationPackage">Instructions pack for vibration engine</param>
 public static void HapticPulseByPattern(FinchChirality chirality, params VibrationPackage[] vibrationPackage)
 {
     FinchCore.HapticPulseByPattern((FinchNodeType)chirality, vibrationPackage);
 }