Click or drag to resize
Ab4d.SharpEngine logo

PlanarShadowNode Methods

The PlanarShadowNode type exposes the following members.

Methods
 NameDescription
Public methodApplyDirectionalLight 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.
Public methodApplyPointLight 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.
Public methodApplyShadowMatrix ApplyShadowMatrix method updates the shadow mesh with the specified shadow matrix.
Protected methodDispose
(Overrides GroupNodeDispose(Boolean))
Protected methodOnInitializeSceneResources
(Overrides GroupNodeOnInitializeSceneResources(Scene, VulkanDevice))
Public methodSetPlane SetPlane method sets the plane for the shadow mesh from the specified PlaneModelNode.
Public methodUpdateGroupNode UpdateGroupNode must be called when the GroupNode that was used to create this PlanarShadowMeshCreator was changed.
Protected methodUpdateLocalBoundingBox
(Overrides GroupNodeUpdateLocalBoundingBox)
Public methodUpdateTransformations UpdateTransformations updates the transformations of all child nodes to use the latest shadow matrix and transformation of the OriginalGroupNode.
Top
Extension Methods
 NameDescription
Public Extension MethodDumpHierarchy Writes the hierarchy of the GroupNode and its children into the Visual Studio Output window.
(Defined by Extensions)
Top
See Also