Vector3TransformCoord Method |
指定された行列を使用して座標変換し、結果を w = 1 に射影します。
Namespace: LuminoAssembly: LuminoDotNet (in LuminoDotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Vector3 TransformCoord(
Vector3 vec,
Matrix mat
)
Public Shared Function TransformCoord (
vec As Vector3,
mat As Matrix
) As Vector3
public:
static Vector3 TransformCoord(
Vector3 vec,
Matrix mat
)
static member TransformCoord :
vec : Vector3 *
mat : Matrix -> Vector3
Parameters
- vec
- Type: LuminoVector3
処理の基になる 3D ベクトル - mat
- Type: LuminoMatrix
処理の基になる 行列
Return Value
Type:
Vector3[Missing <returns> documentation for "M:Lumino.Vector3.TransformCoord(Lumino.Vector3,Lumino.Matrix)"]
Remarks
ベクトルを ( x, y, z, 1 ) として座標変換し、
結果を w = 1 に射影 (x y z を w で除算) します。
See Also