 |
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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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