Preparing search index...

    Args for OverlapProbe#onOverlapExit, delivered once per frame: exitedOverlaps, every membership that left the probe's volume this frame (or whose collider was removed while a member, or that remained when the probe itself was removed). To track the full set currently inside, keep a collection keyed by Overlap#id, adding on OverlapEnterEventArgs#enteredOverlaps and removing on exit.

    Lens Scripting Version 375

    probe.onOverlapExit.add(function (args) {
    for (var i = 0; i < args.exitedOverlaps.length; i++) {
    print("exited " + args.exitedOverlaps[i].id);
    }
    });

    Hierarchy (View Summary)

    Index

    Properties

    Every Overlap that left the probe's volume this frame, sorted by Overlap#id. A collider's Overlap#collider may be null if it was destroyed while a member; use Overlap#id to correlate the exit with its enter.

    Lens Scripting Version 375

    Methods

    • Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().

      Returns string

      Lens Scripting Version 375

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean