Regular API function
simSetSimulationPassesPerRenderingPass
Description
Sets the number of simulation passes (calculation passes) per frame (display). This function will have an effect only if using a custom dt (which can be set in the
simulation settings dialog
). See also
simGetSimulationPassesPerRenderingPass
.
C/C++
synopsis
simInt simSetSimulationPassesPerRenderingPass(simInt p)
C/C++
parameters
p: the number of simulation passes for one rendering pass
C/C++
return value
-1 in case of error, otherwise the new number of simulation passes per frame.
Lua
synopsis
Lua
parameters
Lua
return values
Python
synopsis