 |
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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
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