Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ERaycast2DType

Enum for ERaycast2DType.

Index

Enumeration members

Enumeration members

All

All:

Detects all colliders on the raycast path. One collider may return several collision points, All will return all these points.

AllClosest

AllClosest:

Detects all colliders on the raycast path. One collider may return several collision points(because one collider may have several fixtures, one fixture will return one point, the point may inside collider), AllClosest will return the closest one.

Any

Any:

Detects any collider on the raycast path. Once detects a collider, will stop the searching process.

Closest

Closest:

Detects closest collider on the raycast path.

Generated using TypeDoc