انتقل إلى المحتوى

pivotick v3.0.0


محورية / SimulationOptions / SimulationCallbacks

واجهة: SimulationCallbacks ​

محدد في: interfaces/SimulationOptions.ts:124

خصائص ​

onInit()? ​

optional onInit: (simulation) => void

محدد في: interfaces/SimulationOptions.ts:128

يتم استدعاؤه عند بدء المحاكاة

المعلمات ​

simulation ​

Simulation

المرتجعات ​

void


onStart()? ​

optional onStart: (simulation) => void

محدد في: interfaces/SimulationOptions.ts:132

يتم الاتصال به عند بدء المحاكاة

المعلمات ​

simulation ​

Simulation

المرتجعات ​

void


onStop()? ​

optional onStop: (simulation) => void

محدد في: interfaces/SimulationOptions.ts:136

يتم الاتصال به عند توقف المحاكاة

المعلمات ​

simulation ​

Simulation

المرتجعات ​

void


onTick()? ​

optional onTick: (simulation) => void

محدد في: interfaces/SimulationOptions.ts:140

يتم استدعاؤه عند تحديد علامة المحاكاة

المعلمات ​

simulation ​

Simulation

المرتجعات ​

void