API Reference > Extension Classes > ExRender Classes > ExRender Windows Classes > OdTrXmlRendition Class > OdTrXmlRendition Methods > OdTrXmlRendition::onViewportLightAttached Method
OdTrXmlRendition::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.