GetContactPair(int)
Gets the ContactPair at index of this pair header.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public ref readonly ContactPair GetContactPair(int index)
Parameters
The ContactPair index.
Returns
Type | Description |
|---|---|
| ContactPair | A reference or a copy of the ContactPair struct at |
Remarks
Can be used with the /ref readonly/ keyword to avoid copying the whole struct.