Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Matrix.CreateShadow

Malware edited this page Dec 13, 2025 · 17 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

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