EntityUnderRayOptions
What findEntityUnderRay searches.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
accepts? |
(entity) => boolean |
Which of the query’s entities it may pick; left out, any. |
query |
Query |
The entities it picks among, each drawn through its RefTrait. |
within? |
number |
Metres along the ray past which nothing is picked, such as where the same ray meets the ground; left out, any distance. |