This event is sent in each frame, before the frame is rendered, to allow the client to perform any per frame activities (i.e. moving objects on the terrain).
HRESULT OnFrame()
Remarks:
It is advised not to handle the OnFrame event from scripting clients because of the large performance penalty it has on TerraExplorer.
See: “Handling TerraExplorer events”.