기술 자료

Unity Engine

Unity Engine

GetContactPoint(int)

Gets the ContactPairPoint at the provided index of this pair.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
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.