 |
MathUtilsGetPointLightShadowMatrix 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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntaxpublic static Matrix4x4 GetPointLightShadowMatrix(
in Vector3 lightPosition,
in Plane plane
)
Parameters
- lightPosition Vector3
- The position of the light
- plane Plane
- Plane
Return Value
Matrix4x4shadow Matrix3D
See Also