Bitmap for WPF
ShadowRef メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX 名前空間 > Matrix4x4 構造体 : ShadowRef メソッド
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.
シンタックス
'宣言
 
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
)

パラメータ

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.
参照

Matrix4x4 構造体
Matrix4x4 メンバ