Matrix4x4::CreateShadow Method
Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source.
Namespace: System.Numerics
Assembly: System.Numerics.Vectors (in System.Numerics.Vectors.dll)
Parameters
- lightDirection
- Type: System.Numerics::Vector3
The direction from which the light that will cast the shadow is coming.
- plane
- Type: System.Numerics::Plane
The plane onto which the new matrix should flatten geometry so as to cast a shadow.
Return Value
Type: System.Numerics::Matrix4x4A new matrix that can be used to flatten geometry onto the specified plane from the specified direction.
Show: