pickEntitiesByRay
此内容尚不支持你的语言。
pickEntitiesByRay(
world,ray,opts?):number[]
Defined in: ecs/entityPick.ts:57
Entities the ray meets, topmost first.
The ray decides what is hit; the layer rules decide which of the hits is on top, because that is what the renderer stacked them by and a click that ranked them any other way selects something the person cannot see.
Parameters
Section titled “Parameters”EntityPickOptions = {}
Returns
Section titled “Returns”number[]