GetContactPoint(int)
Gets the ContactPairPoint at the provided index of this pair.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public ref readonly ContactPairPoint GetContactPoint(int index)
Parameters
The ContactPairPoint index.
Returns
Type | Description |
|---|---|
| ContactPairPoint | A reference or a copy of the ContactPairPoint struct at |
Remarks
Can be used with the /ref readonly/ keywords to avoid copying the whole struct on the stack.