API Reference > Extension Classes > ExRender Classes > ExRender Windows Classes > OdGLES2JsonRendition Class > OdGLES2JsonRendition Methods > OdGLES2JsonRendition::onViewportLightAttached Method
OdGLES2JsonRendition::onViewportLightAttached Method
Syntax
C++
virtual void onViewportLightAttached(OdTrVisViewportId viewportId, OdTrVisLightId lightId, OdUInt32 nOverrides = 0, const OdTrVisLightDef & pOverrides = OdTrVisLightDef());

Called when light source added into viewport light sources list.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.