Enumeration

CollisionComponent.Mode

A mode that dictates how much collision data is collected for a given entity.

Declaration

Topics

Collision Modes

case `default`

A default collision object.

case trigger

A trigger collision object.

Comparing Collision Modes

func hash(into: inout Hasher)

Hashes the essential components of the mode by feeding them into the given hash function.

var hashValue: Int

The hashed value of the mode.

See Also

Setting the Collision Mode