Documentation

Unity Engine


Unity Engine


PhysicsQuery.WorldCastMode

Controls what results are returned from a cast query against the PhysicsWorld.
Read time 1 minuteLast updated a month ago

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.