Question on PDKs RenderingPlugin
Posted: Mon Sep 02, 2019 8:33 pm
Hi guys,
just for clarification: is it safe (like e.g. thread-safe) to perform tasks unrelated to the actual rendering in the Render or PreRender methods? Which are thus called at the pace of the framerate? Like an IBaseObject's GetPosition() or GetProperty() methods?
Maybe this might put a strain on the sim performance-wise, if done heavily, but I am more concerned about safety, right now. It seems to work flawlessy, but maybe there is a catch somewhere?
Thanks in advance.
Greets, Benny
just for clarification: is it safe (like e.g. thread-safe) to perform tasks unrelated to the actual rendering in the Render or PreRender methods? Which are thus called at the pace of the framerate? Like an IBaseObject's GetPosition() or GetProperty() methods?
Maybe this might put a strain on the sim performance-wise, if done heavily, but I am more concerned about safety, right now. It seems to work flawlessy, but maybe there is a catch somewhere?
Thanks in advance.
Greets, Benny