Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ReleaseLastSimulationStepBuffers()

Clear and deallocate the simulation results.
Read time 1 minuteLast updated 10 days 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.