DistantLightTraits Class

This class wraps the OdGiDistantLightTraits class which represents characteristics for a distant light. This type of light source is located infinitely far from the scene and emits light in a specified direction. For more information, see Working with Lights.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceDrawableTraits
          Teigha.GraphicsInterfaceSubEntityTraits
            Teigha.GraphicsInterfaceNonEntityTraits
              Teigha.GraphicsInterfaceLightTraits
                Teigha.GraphicsInterfaceStandardLightTraits
                  Teigha.GraphicsInterfaceDistantLightTraits

Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public abstract class DistantLightTraits : StandardLightTraits

The DistantLightTraits type exposes the following members.

Constructors
  Name Description
Public method DistantLightTraits Default constructor for the DistantLightTraits class.
Protected method DistantLightTraits(IntPtr, Boolean) Initializes a new instance of the DistantLightTraits class
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property Color Property that represents the current color index (ACI). Color must be one of the following: Name Value Description kACIbyBlock 0 ByBlock. kACIforeground 7 Foreground color. kACIbyLayer 256 ByLayer. kACIRed 1 Red. kACIYellow 2 Yellow. kACIGreen 3 Green. kACICyan 4 Cyan. kACIBlue 5 Blue. kACIMagenta 6 Magenta. .. 8-255 Defined by AcadPalette.h
(Inherited from NonEntityTraits)
Public property DrawFlags Property that represents the drawing flags.
(Inherited from NonEntityTraits)
Public property FillType Property that represents current fill type. This property can be one of the following: Name Value Description kOdGiFillAlways 1 Fill closed graphic primitives. kOdGiFillNever 2 Don't fill closed graphic primitives. Closed graphic primitives consist of the following: * arcs with (ArcType == ArcSector) || (ArcType == ArcChord) * circles * meshes * polygons * shells
(Inherited from NonEntityTraits)
Public property Intensity Property that represents the intensity of the light.
(Inherited from StandardLightTraits)
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property IsSunlight Property that represents a flag that indicates whether this distant light is rendered as sunlight.
Public property Layer Property that represents object identifier of current layer.
(Inherited from NonEntityTraits)
Public property LightColor Property that represents the color of the light.
(Inherited from StandardLightTraits)
Public property LightDirection Property that represents a direction of this distant light.
Public property LineType Property that represents object identifier of current linetype.
(Inherited from NonEntityTraits)
Public property LineTypeScale Property that represents current linetype scale.
(Inherited from NonEntityTraits)
Public property LineWeight Property that represents current lineweight.
(Inherited from NonEntityTraits)
Public property Mapper Property that represents current material mapper.
(Inherited from NonEntityTraits)
Public property Material Property that represents object identifier of current material.
(Inherited from NonEntityTraits)
Public property On Property that indicates the light state (on/off).
(Inherited from LightTraits)
Public property PlotStyleDescriptor Property that represents PlotStyleDescriptor instance that encapsulates object identifier of a plot and plot style type.
(Inherited from NonEntityTraits)
Public property Sectionable Property that indicates whether sectioning is enabled.
(Inherited from NonEntityTraits)
Public property SelectionFlags Property that represents selection flags.
(Inherited from NonEntityTraits)
Public property SelectionOnlyGeometry Property that indicates whether only geometry is selected.
(Inherited from NonEntityTraits)
Public property Shadow Property that represents the shadows parameter of the light.
(Inherited from StandardLightTraits)
Public property ShadowFlags Property that represents shadow flags.
(Inherited from NonEntityTraits)
Public property Thickness Property that represents current thickness value.
(Inherited from NonEntityTraits)
Public property Transparency Property that represents current transparency.
(Inherited from NonEntityTraits)
Public property TrueColor Property that represents color as Colors::EntityColor instance.
(Inherited from NonEntityTraits)
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Public property VisualStyle Property that represents object identifier of current visual style.
(Inherited from NonEntityTraits)
Top
Methods
  Name Description
Public method AddLight Drawables that emit light can add one or more lights to the model. Through this interface, light position, intensity and other properties are sent to the graphics system. Default implementation of this method throws the NotSupportedException exception.
(Inherited from NonEntityTraits)
Public method Clone Creates a *clone* of this object, and returns a pointer to the *clone*.
(Inherited from RXObject)
Public method CompareTo Allows classes to compare class objects.
(Inherited from RXObject)
Public method CopyFrom Copies the contents of the specified object into this object.
(Inherited from RXObject)
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Protected method DeleteUnmanagedObject
(Inherited from RXObject)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DisposableWrapper)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMetaObject
(Inherited from RXObject)
Public method GetRXClass Gets a class describing instance dynamically associated with this object as the OdRxClass object.
(Inherited from RXObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Protected method MemberwiseClone
(Inherited from Object)
Protected method MemberwiseClone(Boolean)
(Inherited from MarshalByRefObject)
Public method QueryX Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.
(Inherited from RXObject)
Protected method SetLayerFlags
(Inherited from NonEntityTraits)
Public method SetSelectionMarker Sets the SubEntityTraits object to use the specified graphics marker for all graphics primitives drawn until the next call to this function, or the end of WorldDraw() or ViewportDraw() execution. Default implementation of this method throws the NotSupportedException exception.
(Inherited from NonEntityTraits)
Public method SetupForEntity Initializes all subentity traits and drawable traits from the entity. This can be more convenient than setting each property individually. Default implementation of this method throws the NotSupportedException exception.
(Inherited from NonEntityTraits)
Public method ToString
(Inherited from Object)
Public method X Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot.
(Inherited from RXObject)
Top
See Also

©  Bricsys NV. All rights reserved.