HapticsPlugin.impactLight()
PluginHapticsPluginimpactLightLess than 1 minute
Simulates a light impact between virtual objects.
HapticsPlugin.impactLight(options)
Parameters
- options: Options of type ImpactOptions.
Returns
A Promise.
Example
import { hapticsPlugin } from "@plaoc/plugins";
hapticsPlugin.impactLight({
style: "HEAVY"
});
Platform Compatibility
Property/Method/Event | Android | iOS | Desktop-Dev | Desktop |
---|---|---|---|---|
impactLight | ✅ | ✅ | ✅ | X |
See Also
Powered by Waline v2.15.7