Click or drag to resize
AB4D logo

VarianceShadowMaterial Class

VarianceShadowMaterial can be used to render a material that shows only the shadow that is created by the VarianceShadowRenderingProvider - other parts of the material are transparent. Usually this is used as a material on a PlaneVisual3D object.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXSharedDXResource
      Ab3d.DirectXSharedDXDeviceResource
        Ab3d.DirectXMaterial
          Ab3d.DirectX.MaterialsVarianceShadowMaterial

Namespace: Ab3d.DirectX.Materials
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public class VarianceShadowMaterial : Material, 
	ITransparentMaterial

The VarianceShadowMaterial type exposes the following members.

Constructors
 NameDescription
Public methodVarianceShadowMaterialInitializes a new instance of the VarianceShadowMaterial class
Top
Properties
 NameDescription
Public propertyHasTransparency Gets a boolean that specifies if this material is semi-transparent and needs to be alpha blended with the scene.
Public propertyShadowDarkness Gets or sets a float that specifies how dark the shadow is, for example: 1 = black; 0.5 = gray; 0 = white. Default value is 1.
Top
See Also