Planar | |
public class PlanarShadowNode : GroupNode
The PlanarShadowNode type exposes the following members.
| Name | Description | |
|---|---|---|
| PlanarShadowNode(GroupNode, String) | Constructor | |
| PlanarShadowNode(Plane, GroupNode, String) | Constructor |
| Name | Description | |
|---|---|---|
| OriginalGroupNode | Gets the GroupNode that was used to create the planar shadow mesh (set when PlanarShadowMeshCreator is created from a GroupNode). | |
| Plane | Gets the plane that is used for creating the shadow mesh. After changing the plane, you need to call ApplyDirectionalLight(Vector3, Boolean), ApplyPointLight(Vector3, Boolean) or ApplyShadowMatrix(Matrix4x4, Boolean) methods to update the used shadow matrix. | |
| ShadowMaterial | Gets or sets the material that is used for the shadow mesh. By default, this is set to a SolidColorMaterial with DimGray color. |
| Name | Description | |
|---|---|---|
| ApplyDirectionalLight | ApplyDirectionalLight method updates the matrix that is used to flatten all the models to flat shadow models. This method need to be called when the direction of the directional light is changed. | |
| ApplyPointLight | ApplyPointLight method updates the matrix that is used to flatten all the models to flat shadow models. This method need to be called when the position of the point light is changed. | |
| ApplyShadowMatrix | ApplyShadowMatrix method updates the shadow mesh with the specified shadow matrix. | |
| Dispose | (Overrides GroupNodeDispose(Boolean)) | |
| OnInitializeSceneResources | (Overrides GroupNodeOnInitializeSceneResources(Scene, VulkanDevice)) | |
| SetPlane | SetPlane method sets the plane for the shadow mesh from the specified PlaneModelNode. | |
| UpdateGroupNode | UpdateGroupNode must be called when the GroupNode that was used to create this PlanarShadowMeshCreator was changed. | |
| UpdateLocalBoundingBox | (Overrides GroupNodeUpdateLocalBoundingBox) | |
| UpdateTransformations | UpdateTransformations updates the transformations of all child nodes to use the latest shadow matrix and transformation of the OriginalGroupNode. |
| Name | Description | |
|---|---|---|
| DumpHierarchy |
Writes the hierarchy of the GroupNode and its children into the Visual Studio Output window.
(Defined by Extensions) |