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
Assembly: Unity.Physics.dll
Syntax
public struct CollisionEventsMethods
GetEnumerator()
Gets the enumerator.
Declaration
public CollisionEvents.Enumerator GetEnumerator()Returns
| Type | Description | 
|---|---|
| CollisionEvents.Enumerator | The enumerator. |