ComponentOne Bitmap for UWP
ShadowRef Method

C1.UWP.DX Assembly > C1.Util.DX Namespace > Matrix4x4 Structure : ShadowRef Method
A new matrix that can be used to flatten geometry onto the specified plane from the specified direction.
The direction from which the light that will cast the shadow is coming.
The plane's normal vector.
The plane's distance from the origin along its normal vector.
Creates a matrix that flattens geometry into a specified plane as if casting a shadow from a specified light source.
Syntax
'Declaration
 
Public Shared Sub ShadowRef( _
   ByRef result As Matrix4x4, _
   ByRef lightDirection As Vector3, _
   ByRef normal As Vector3, _
   ByVal d As System.Single _
) 
public static void ShadowRef( 
   out Matrix4x4 result,
   ref Vector3 lightDirection,
   ref Vector3 normal,
   System.float d
)

Parameters

result
A new matrix that can be used to flatten geometry onto the specified plane from the specified direction.
lightDirection
The direction from which the light that will cast the shadow is coming.
normal
The plane's normal vector.
d
The plane's distance from the origin along its normal vector.
See Also

Reference

Matrix4x4 Structure
Matrix4x4 Members