Shadow
|
The ShadowParameters type exposes the following members.
| Name | Description | |
|---|---|---|
| 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. | |
| ShadowParameters(IntPtr, Boolean) | Constructor for the ShadowParameters class. |
| Name | Description | |
|---|---|---|
| AutoDelete | Property that indicates whether the object should be
automatically deleted by the Garbage Collector. (Inherited from DisposableWrapper) |
|
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| IsDisposed | Property that indicates whether pointer to native code
unmanaged object == IntPtr::Zero. (Inherited from DisposableWrapper) |
|
| 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. | |
| 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. | |
| 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. | |
| ShadowsOn | Property that indicates whether shadows are cast from the light. | |
| 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. | |
| ShapeVisibility | Property that indicates whether light shape should be visible in the rendering. | |
| UnmanagedObject | Property that represents a pointer to an unmanaged
object. (Inherited from DisposableWrapper) |
| Name | Description | |
|---|---|---|
| Clone | Creates a *clone* of this object, and returns a pointer to the
*clone*. (Inherited from RXObject) |
|
| CompareTo | Allows classes to compare class objects. (Inherited from RXObject) |
|
| CopyFrom | Copies the contents of the specified object into this
object. (Inherited from RXObject) |
|
| CreateObjRef | (Inherited from MarshalByRefObject) |
|
| DeleteUnmanagedObject | (Inherited from RXObject) |
|
| Dispose | (Inherited from DisposableWrapper) |
|
| Dispose(Boolean) | (Inherited from DisposableWrapper) |
|
| Equals | Checks objects for equality. (Overrides DisposableWrapperEquals(Object)) |
|
| Finalize | (Inherited from DisposableWrapper) |
|
| GetHashCode | Retrieves the object hash code. (Overrides DisposableWrapperGetHashCode) |
|
| GetLifetimeService | (Inherited from MarshalByRefObject) |
|
| GetMetaObject | (Inherited from RXObject) |
|
| GetRXClass | Gets a class describing instance dynamically associated with
this object as the OdRxClass object. (Inherited from RXObject) |
|
| GetType | (Inherited from Object) |
|
| InitializeLifetimeService | (Inherited from MarshalByRefObject) |
|
| MemberwiseClone | (Inherited from Object) |
|
| MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject) |
|
| 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) |
|
| ToString | (Inherited from Object) |
|
| 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) |
| © Bricsys NV. All rights reserved. |