DioDocs for PDF
Shadow メソッド

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX 名前空間 > Matrix4x4 構造体 : Shadow メソッド
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 Function Shadow( _
   ByVal lightDirection As Vector3, _
   ByVal normal As Vector3, _
   ByVal d As System.Single _
) As Matrix4x4
public static Matrix4x4 Shadow( 
   Vector3 lightDirection,
   Vector3 normal,
   System.float d
)

パラメータ

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.

戻り値の型

A new matrix that can be used to flatten geometry onto the specified plane from the specified direction.
参照

Matrix4x4 構造体
Matrix4x4 メンバ