DAZ Script | |
---|---|
DzError | clearSimulation () |
DzError | customSimulate ( Array nodes ) |
Array | getSimulationElements ( Array list ) |
DzError | simulate () |
void | aboutToSimulate ( DzSimulationEngine engine ) |
void | simulateFinished ( DzSimulationEngine engine ) |
void | simulationError ( String errorMsg ) |
Implements a simulation engine.
Since:
Clears all simulation data in the scene for this engine.
DzError : customSimulate( Array nodes )
Starts a custom simulation on the list of nodes specified, using this engine.
Parameter(s):
Array : getSimulationElements( Array list )
Return Value:
Starts a simulation using this engine.
void : aboutToSimulate( DzSimulationEngine engine )
Signature:“aboutToSimulate(DzSimulationEngine*)”
Emitted just before the engine begins simulating.
Parameter(s):
void : simulateFinished( DzSimulationEngine engine )
Signature:“simulateFinished(DzSimulationEngine*)”
Emitted just after the engine finishes simulating.
Parameter(s):
void : simulationError( String errorMsg )
Signature:“simulationError(const QString&)”
Emitted when an error occurs while the engine is simulating.
Parameter(s):