VisualServerSingleton.ScenarioDebugMode

Values

ValueMeaning
scenarioDebugDisabled0

Do not use a debug mode.

scenarioDebugWireframe1

Draw all objects as wireframe models.

scenarioDebugOverdraw2

Draw all objects in a way that displays how much overdraw is occurring. Overdraw occurs when a section of pixels is drawn and shaded and then another object covers it up. To optimize a scene, you should reduce overdraw.

scenarioDebugShadeless3

Draw all objects without shading. Equivalent to setting all objects shaders to unshaded.

Meta