Scene.getInstancesByMask

Returns instance(-s) by its mask.

  1. Instance getInstanceByMask(Shapef shape, Vecf position)
  2. Instance[] getInstancesByMask(Shapef shape, Vecf position)
    class Scene
    @safe final @safe
    getInstancesByMask

Parameters

shape Shapef

Shape mask.

position Vecf

Instance position.

Meta