distanceCutoff Readonly

distanceCutoff: number

This is the distance cutoff in meters. For a position on screen to be affected by a sensor, it must be at least this close to the sensor. If this is zero or negative, then no distance cutoff is applied (all sensors affect all positions regardless of nearness). Defaults to zero.

@note Using a suitable distance cutoff imparts a significant performance benefit. The larger this value becomes, performance will degrade.

Defined in

Last Updated: 13 November, 2024