public static void AppleEngineInternalState(PInternalState2D internalState) { for (int i = 0; i < internalState.contactCount; i++) { PContactExport2D export = internalState.contactExports[i]; NativeParallel2D.AddExternalContactData(export); } }
public void ApplyEngineState(PInternalState2D state) { Parallel2D.AppleEngineInternalState(state); }
public static void ExportEngineInternalState(PInternalState2D internalState) { internalState.contactCount = _contactCount; Array.Copy(contactExports, internalState.contactExports, _contactCount); }
public void ExportEngineState(PInternalState2D state) { Parallel2D.ExportEngineInternalState(state); }