Version: 2023.2

ContactPair.GetContactPoint

切换到手册
public ref readonly ContactPairPoint GetContactPoint (int index);

参数

index The ContactPairPoint index.

返回

ContactPairPoint A reference or a copy of the ContactPairPoint struct at index.

描述

Gets the ContactPairPoint at the provided index of this pair.

Can be used with the ref readonly keywords to avoid copying the whole struct on the stack.