Share

AcGiLightTraits

Class Hierarchy

AcRxObject
    AcGiSubEntityTraits
        AcGiDrawableTraits
            AcGiNonEntityTraits
                AcGiLightTraits
                    AcGiStandardLightTraits

C++

class AcGiLightTraits : public AcGiNonEntityTraits;

File

AcGiLightTraits.h

Description

Parent class for interfaces passed to AcDbLight objects in the implementation of setAttributes().The light first down-casts the traits class to the specific type, specified earlier in the addLight() call. It then sets specific light properties.

This class derives from AcGiDrawableTraits, as that is what is passed into AcGiDrawable::setAttributes().

Lights on frozen layers will not be processed; their light will not illuminate the model.

Links

AcGiLightTraits Methods

Was this information helpful?