文档

Unity Engine

Unity Engine

PhysicsQuery.WorldCastMode

Controls what results are returned from a cast query against the PhysicsWorld.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum PhysicsQuery.WorldCastMode

Fields

Value

Description

AllReturn all the hits.
AllSortedReturn all the hits but also sort by ascending distance (closest first).
ClosestReturn only the closest hit.