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 spot light traits for Collada.

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