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: 24.2.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
(Inherited from DisposableWrapper)
Public property Color
(Inherited from NonEntityTraits)
Public property DrawFlags
(Inherited from NonEntityTraits)
Public property FillType
(Inherited from NonEntityTraits)
Public property Intensity Property that represents the intensity of the light.
(Inherited from StandardLightTraits)
Public property IsDisposed
(Inherited from DisposableWrapper)
Public property IsSunlight Property that represents a flag that indicates whether this distant light is rendered as sunlight.
Public property 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
(Inherited from NonEntityTraits)
Public property LineTypeScale
(Inherited from NonEntityTraits)
Public property LineWeight
(Inherited from NonEntityTraits)
Public property Mapper
(Inherited from NonEntityTraits)
Public property Material
(Inherited from NonEntityTraits)
Public property On Property that indicates the light state (on/off).
(Inherited from LightTraits)
Public property PlotStyleDescriptor
(Inherited from NonEntityTraits)
Public property Sectionable
(Inherited from NonEntityTraits)
Public property SelectionFlags
(Inherited from NonEntityTraits)
Public property SelectionOnlyGeometry
(Inherited from NonEntityTraits)
Public property Shadow Property that represents the shadows parameter of the light.
(Inherited from StandardLightTraits)
Public property ShadowFlags
(Inherited from NonEntityTraits)
Public property Thickness
(Inherited from NonEntityTraits)
Public property Transparency
(Inherited from NonEntityTraits)
Public property TrueColor
(Inherited from NonEntityTraits)
Public property UnmanagedObject
(Inherited from DisposableWrapper)
Public property VisualStyle
(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
(Inherited from RXObject)
Public method CompareTo
(Inherited from RXObject)
Public method CopyFrom
(Inherited from RXObject)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(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
(Inherited from DisposableWrapper)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetHashCode
(Inherited from DisposableWrapper)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Public method GetRXClass
(Inherited from RXObject)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Public method QueryX
(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 Returns a string that represents the current object.
(Inherited from Object)
Public method X
(Inherited from RXObject)
Top
See Also

©  Bricsys NV. All rights reserved.