S&box Wiki

Sandbox.RenderEntity.DoRender

Sandbox.RenderEntity.DoRender

Syntax

Description

Render this entity. Here's some warnings:

  1. This is called in a thread. Don't create/delete/move entities in this loop
  2. 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.

Arguments

Special Pages


Wikis

?

Render Time: 12ms

DB GetPage 3
Generate Html 0
SaveChanges (1) 5
Render Body 0
Render Sidebar 1