Click or drag to resize
AB4D logo

PlanarShadowMeshCreator Class

PlanarShadowMeshCreator is a class that can be used to create a a planar shadow mesh.
Inheritance Hierarchy
SystemObject
  Ab3d.UtilitiesPlanarShadowMeshCreator

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public class PlanarShadowMeshCreator

The PlanarShadowMeshCreator type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyClipToPlane Gets or sets a boolean that specifies if the shadow mesh is clipped to the plane's edge. Default value is true.
Public propertyOriginalMeshGeometry3D Gets the MeshGeometry3D that was used to create the planar shadow mesh (set when PlanarShadowMeshCreator is created from a MeshGeometry3D).
Public propertyOriginalModel3D Gets the Model3D that was used to create the planar shadow mesh (set when PlanarShadowMeshCreator is created from a Model3D).
Top
Methods
 NameDescription
Public methodApplyShadowMatrix(Matrix3D) ApplyShadowMatrix method updates the shadow mesh with the specified shadow matrix.
Public methodApplyShadowMatrix(Point3D) ApplyShadowMatrix method updates the shadow mesh with the specified point light's position.
Public methodApplyShadowMatrix(Vector3D) ApplyShadowMatrix method updates the shadow mesh with the specified directional light's direction Vector3D.
Public methodSetPlane(PlaneVisual3D) SetPlane method sets the plane for the shadow mesh from the specified PlaneVisual3D.
Public methodSetPlane(Point3D, Vector3D, Vector3D, Size) SetPlane method sets the plane for the shadow mesh from the specified plane information.
Public methodUpdateMeshGeometry3D UpdateMeshGeometry3D must be called when the MeshGeometry3D that was used to create this PlanarShadowMeshCreator was changed.
Public methodUpdateModel3D UpdateModel3D must be called when the Model3D that was used to create this PlanarShadowMeshCreator was changed.
Top
See Also