SimulationManager::RewindToState Method

Rewinds to the provided simulation state file.

Syntax

void SimulationManager::RewindToState(
const SimulationStateFile&in file,
bool resetCamera = true
)

Parameters

const SimulationStateFile&in file
The state file to be restored.

bool resetCamera = true
Optional. If the camera should be reset on rewind.

Return value

None.

Remarks

This function is the same as SimulationManager::RewindToState except that it takes a SimulationStateFile, and that it will also restore previous inputs and ghost states if they were saved in the provided state file.