Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pointArray

Retrieve the Point Elements. Any new PhysicsWorld drawing will invalidate this data so referring to this data afterwards may cause an unavoidable crash! You must immediately extract what information you need and not directly reference the returned data as it will be cleared immediately after being provided.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public NativeArray<PhysicsWorld.DrawResults.PointElement> pointArray { get; }