VRageMath.Matrix.CreateShadow - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← Matrix
public static Matrix CreateShadow(Vector3 lightDirection, Plane plane)
Creates a Matrix that flattens geometry into a specified Plane as if casting a shadow from a specified light source.
public static void CreateShadow(ref Vector3 lightDirection, ref Plane plane, out Matrix result)
Fills in a Matrix to flatten geometry into a specified Plane as if casting a shadow from a specified light source.