CollisionCastHitMode

Specifies the mode for reporting hits in a collision cast query.

This enum determines whether a ray cast or convex cast should return only the closest hit or all hits along its path.

Entries

Link copied to clipboard

Reports only the closest hit point to the cast origin.

Link copied to clipboard

Reports all hit points along the cast path.

Properties

Link copied to clipboard
val entries: EnumEntries<CollisionCastHitMode>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun valueOf(value: String): CollisionCastHitMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.