Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


this[]

Indexer to access the manifold points in the array.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule

this[int]

public PhysicsShape.ContactManifold.ManifoldPoint this[int index] { get; }

Parameters

index

The index of the manifold point required (must be 0 or 1).

Returns

Type

Description

ManifoldPointThe specified manifold point.