 |
MathUtilsGetDirectionalLightShadowMatrix Method |
Creates a matrix that flattens a 3D mesh into a shadow mesh that lies on this plane and has zero height.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic static Matrix4x4 GetDirectionalLightShadowMatrix(
in Vector3 lightDirection,
in Plane plane
)
Parameters
- lightDirection Vector3
- The light direction (should be normalized)
- plane Plane
- Plane
Return Value
Matrix4x4shadow Matrix3D
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MathUtils.GetDirectionalLightShadowMatrix(System.Numerics.Vector3@,System.Numerics.Plane@)"]
See Also