Skip to content

VRageMath.Matrix.CreateShadow

Morten Aune Lyrstad edited this page Oct 10, 2019 · 16 revisions

IndexNamespace IndexMatrix

Summary

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.

Returns

Matrix

Parameters

Summary

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.

Parameters

Clone this wiki locally