API Reference > OdExport Classes > TD_COLLADA_EXPORT Namespace > Classes > ColladaDistantLightTraits Class
ColladaDistantLightTraits Class
TD_COLLADA_EXPORT__ColladaDistantLightTraits
Syntax
C++
class ColladaDistantLightTraits : public OdGiDistantLightTraits;

ColladaLightTraits.h

This class implements the distant light traits for Collada.

 
Name 
Description 
 
returns the intensity of the light source as a value of the double type. 
 
isOn 
Checks whether the distant light is on or off.
 
 
Checks whether the sun light is on.
 
 
Returns color of the light lamp.
 
 
returns the distant light color. 
 
returns the distant light direction. 
 
returns physical intensity of the distant light as a value of the double type. 
 
Sets distant lights traits data.
 
 
Sets the distant light intensity.
 
 
Switches the sun light to the on or off.
 
 
Sets color for the distant light lamp.
 
 
Sets the distant light color.
 
 
Sets the distant light direction.
 
 
Switches the distant light to the on or off.
 
 
Sets the distant light physical intensity.
 
 
Sets the shadow parameters.
 
 
Sets sky parameters for this distant light. Currently not implemented.
 
 
returns shadow parameters as OdGiShadowParameters instance. 
 
Returns sky parameters of this distant light. Currently not implemented.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.