(在很多语境里,它可被视为“非递归、只求首次命中”的 ray tracing 相关方法。) (en.wikipedia.org)
发音 Pronunciation
/ˈreɪˌkæs.tɪŋ/
例句 Examples
We use raycasting to check which object the player is pointing at.
我们用射线投射来检测玩家正指向哪个物体。
By raycasting from the camera through each screen column, the engine can render walls quickly and compute distances for collision checks.
通过从相机朝屏幕每一列进行射线投射,引擎可以快速绘制墙面,并同时得到用于碰撞检测的距离信息。