文档

Unity Engine

Unity Engine

GetContactPoint(int)

Gets the ContactPairPoint at the provided index of this pair.
阅读时间1 分钟最后更新于 1 天前

Definition

public ref readonly ContactPairPoint GetContactPoint(int index)

Parameters

index

The ContactPairPoint index.

Returns

Type

Description

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

Remarks

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