ドキュメント

Unity Engine

Unity Engine

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

index

The ContactPair index.

Returns

Type

Description

ContactPairA reference or a copy of the ContactPair struct at index.

Remarks

Can be used with the /ref readonly/ keyword to avoid copying the whole struct.