/// <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); }
public void HapticPulse(FinchNodeType type, params VibrationPackage[] milliseconds) { FinchCore.HapticPulseByPattern(type, milliseconds); }
/// <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); }