Documentation

Unity Engine

Unity Engine

ReleaseLastSimulationStepBuffers()

Clear and deallocate the simulation results.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public void ReleaseLastSimulationStepBuffers()

Remarks

Calling this method will result in all simulation result buffers used by this PhysicsScene to be deallocated. The method offers a manual alternative to the result clearing options present in the physics settings pane.