 |
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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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