Share

LightTraits Class

Description

This .NET class wraps the AcGiLightTraits ObjectARX class.

Parent class for interfaces passed to Light 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 DrawableTraits, as that is what is passed into Drawable.SetAttributes().

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

Class Hierarchy

Autodesk.AutoCAD.GraphicsInterface.SubEntityTraits
    Autodesk.AutoCAD.GraphicsInterface.DrawableTraits
        Autodesk.AutoCAD.GraphicsInterface.NonEntityTraits
            Autodesk.AutoCAD.GraphicsInterface.LightTraits
                Autodesk.AutoCAD.GraphicsInterface.StandardLightTraits

C#

public abstract class LightTraits : NonEntityTraits;

Visual Basic

Public abstract Class LightTraits
Inherits NonEntityTraits

Links

LightTraits Properties

Was this information helpful?