LightAttenuation Class

This class represents light attenuation parameters.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceLightAttenuation

Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public sealed class LightAttenuation : RXObject

The LightAttenuation type exposes the following members.

Constructors
  Name Description
Public method LightAttenuation Default constructor for the LightAttenuation class. Constructs the object with no light attenuation. Start attenuation limit is 1.0, and end attenuation limit is 10.0. Attenuation limits are not used.
Top
Properties
  Name Description
Public property AttenuationType Property that represents attenuation types for lights. This property can be one of the following: Name Value Description None 0 No attenuation is used. InverseLinear 1 Light intensity equals the inverse of the linear distance from the light source. InverseSquare 2 Light intensity equals the inverse of the square distance from the light source. This type of attenuation is the most physically accurate.
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property EndLimit Property that represents end attenuation limit. The end limit defines the distance from the light source beyond which objects in the scene are not lit.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property StartLimit Property that represents start attenuation limit. The start limit defines the distance from the light source where light begins to affect the scene. Object closer than the start limit are not lit.
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Public property UseLimits Property that indicates whether attenuation limits should be used.
Top
Methods
  Name Description
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)
Public method Dispose
(Inherited from DisposableWrapper)
Public method Equals
(Overrides DisposableWrapperEquals(Object))
Public method GetHashCode Retrieves the object hash code.
(Overrides DisposableWrapperGetHashCode)
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)
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)
Public method SetLimits Specifies attenuation limits.
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.