API Reference > OdExport Classes > TD_COLLADA_EXPORT Namespace > Classes > ColladaSpotLightTraits Class
ColladaSpotLightTraits Class
TD_COLLADA_EXPORT__ColladaSpotLightTraits
Syntax
C++
class ColladaSpotLightTraits : public OdGiSpotLightTraits;

ColladaLightTraits.h

This class implements the spotlight traits for exporting to a Collada file.

 
Name 
Description 
 
Returns the cone angle that produces the spotlight falloff.
 
 
Returns the hotspot.
 
 
Returns the spotlight intensity.
 
 
isOn 
Checks whether the spotlight is on or off.
 
 
Returns the color of the spotlight lamp.
 
 
Returns the spotlight attenuation.
 
 
Returns the spotlight color.
 
 
Returns the physical intensity for this spotlight source in candela.
 
 
Returns the spotlight position.
 
 
Sets the spotlight attenuation.
 
 
Sets the trait data of the spotlights.
 
 
Sets the target location of the spotlight.
 
 
Sets the spotlight intensity.
 
 
Sets the color for the spotlight lamp.
 
 
Sets the spotlight color.
 
 
Switches the spotlight to on or off.
 
 
Sets the physical intensity for this spotlight source in candela.
 
 
Sets the spotlight position.
 
 
Sets the shadow parameters.
 
 
Sets the spotlight target point.
 
 
Returns the shadow parameters.
 
 
Returns the spotlight target point.
 
Copyright © 2002–2022. Open Design Alliance. All rights reserved.