C4 Engine Terathon Software C4 Engine API Documentation

• Controller System

API Links
Developer Links

Controller::SetDetailLevel

Defined in:  C4Controller.h
Called when the detail level for the target node changes.
Prototype

virtual void SetDetailLevel(long level);

Parameters
level The new detail level.
Description
The SetDetailLevel function is called when a controller is attached to a geometry node, and the level of detail for that geometry node changes. The new level of detail is given by the level parameter.

Any override of the SetDetailLevel function should always call the base class counterpart.