ContactPair.GetContactPoint

Declaration

public ref readonly ContactPairPoint GetContactPoint(int index);

Parameters

index The ContactPairPoint index.

Returns

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

Description

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.


Did you find this page useful? Please give it a rating: