ShadowParameters Class

Represents shadow parameters of light sources.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceShadowParameters

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

The ShadowParameters type exposes the following members.

Constructors
  Name Description
Public method ShadowParameters Default constructor for the ShadowParameters class. Constructs shadow parameters with default properties: * Enabled shadows. * Shadow map softness. * Light shape visibilty disabled. * Shadow type is ray traced. * Shadow map size is 256. * Shadow samples is 16. * Extended light shape is a sphere. * The length of the extended light source is 0.0. * The width of the extended light source is 0.0. * The radius of the extended light source is 0.0.
Protected method ShadowParameters(IntPtr, Boolean) Constructor for the ShadowParameters 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 ExtendedLightLength Property that represents length of the extended light source. This property is useful if shadow type is Sampled and the shape of the extended light source is Linear, Rectangle or Cylinder.
Public property ExtendedLightRadius Property that represents the radius of the extended light source. This property is useful if shadow type is Sampled and the shape of the extended light source is Disk, Cylinder or Sphere.
Public property ExtendedLightShape Property that represents shapes of the extended light sources. This property can be one of the following: Name Value Description Linear 0 Linear light source. Rectangle 1 Rectangular-shaped light source. Disk 2 Disk-shaped light source. Cylinder 3 Cylinder-shaped light source. Sphere 4 Sphere-shaped light source.
Public property ExtendedLightWidth Property that represents width of the extended light source. This property is useful if shadow type is Sampled and the shape of the extended light source is Linear, Rectangle or Cylinder.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property ShadowMapSize Property that represents shadow map size. Valid values are 64, 128, 256, 512, 1024, 2048, and 4096. Smaller values provide softer and smudged shadows, while greater values provide sharper shadows, therefore they require more resources to be calculated.
Public property ShadowMapSoftness Property that represents shadow map softness. Shadow map softness is a number of pixels at the shadow edge that are diffused. This property is useful if shadow type is ShadowType::Maps.
Public property ShadowSamples Property that represents number of shadow rays to use for the light. The number of samples controls the softness of sampled shadows. This property is useful only if shadow type if Sampled.
Public property ShadowsOn Property that indicates whether shadows are cast from the light.
Public property ShadowType Property that represents method that is used to compute shadows. This property can be one of the following: Name Value Description RayTraced 0 Ray-traced shadows. Maps 1 Shadow maps. Sampled 2 The area-sampled shadow algorithm that shows the effect of extended light sources.
Public property ShapeVisibility Property that indicates whether light shape should be visible in the rendering.
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
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)
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.
(Overrides DisposableWrapperEquals(Object))
Protected method Finalize
(Inherited from DisposableWrapper)
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)
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)
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.