I get an error when I used the following:
const lastRenderTime = renderWindow.GetLastRenderTimeInSeconds();
console.log(`Last Render Time: ${lastRenderTime} seconds`);
I get an error when I used the following:
const lastRenderTime = renderWindow.GetLastRenderTimeInSeconds();
console.log(`Last Render Time: ${lastRenderTime} seconds`);
The property is on vtkRenderer
, not vtkRenderWindow
: renderer.getLastRenderTimeInSeconds()
.
Thank you for answering, but I get the following error:
TypeError: vtkRenderer.GetLastRenderTimeInSeconds is not a function
It gives me the same error