C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

GraphicsMgr::SetLight

Defined in:  C4Graphics.h
Sets the current light.
Prototype

bool SetLight(const LightObject *light, const Transformable *transformable);

Parameters
light A pointer to the light object.
transformable A pointer to the light's transform. This cannot be nullptr.
Description


See Also

GraphicsMgr::GetLightObject

GraphicsMgr::GetLightTransformable