Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


pointSpan

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 11 days ago

Definition

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