Struct CollisionEvents
A stream of collision events. This is a value type, which means it can be used in Burst jobs (unlike IEnumerable<CollisionEvent>).
Inherited Members
Namespace: Unity.Physics
Syntax
public struct CollisionEvents
Methods
GetEnumerator()
Gets the enumerator.
Declaration
public CollisionEvents.Enumerator GetEnumerator()
Returns
Type | Description |
---|---|
CollisionEvents.Enumerator | The enumerator. |