Interface ISimulationEvent<T>
An event raised when a pair of bodies interact during solving.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public interface ISimulationEvent<T> : IComparable<T>
Type Parameters
Name | Description |
---|---|
T | Generic type parameter. |
Properties
BodyIndexA
Gets the body index a.
Declaration
int BodyIndexA { get; }
Property Value
Type | Description |
---|---|
int | The body index a. |
BodyIndexB
Gets the body index b.
Declaration
int BodyIndexB { get; }
Property Value
Type | Description |
---|---|
int | The body index b. |
ColliderKeyA
Gets the collider key a.
Declaration
ColliderKey ColliderKeyA { get; }
Property Value
Type | Description |
---|---|
ColliderKey | The collider key a. |
ColliderKeyB
Gets the collider key b.
Declaration
ColliderKey ColliderKeyB { get; }
Property Value
Type | Description |
---|---|
ColliderKey | The collider key b. |
EntityA
Gets the entity a.
Declaration
Entity EntityA { get; }
Property Value
Type | Description |
---|---|
Entity | The entity a. |
EntityB
Gets the entity b.
Declaration
Entity EntityB { get; }
Property Value
Type | Description |
---|---|
Entity | The entity b. |