void DoRender( Sandbox.SceneObject obj )
Render this entity. Here's some warnings: This is called in a thread. Don't create/delete/move entities in this loop This can be called multiple times per frame for different scene layers. For example, once to draw the shadow caster, once to draw the opaque object, once to draw the transparent object. Obviously which of these get called depends on your object setup. Check Render. Layer to determine which layer is being rendered.