Bitmap for UWP
LookAt メソッド

C1.UWP.DX アセンブリ > C1.Util.DX 名前空間 > Matrix4x4 構造体 : LookAt メソッド
The position of the camera.
The target towards which the camera is pointing.
The direction that is "up" from the camera's point of view.
Creates a view matrix.
シンタックス
'宣言
 
Public Shared Function LookAt( _
   ByVal cameraPosition As Vector3, _
   ByVal cameraTarget As Vector3, _
   ByVal cameraUpVector As Vector3 _
) As Matrix4x4
public static Matrix4x4 LookAt( 
   Vector3 cameraPosition,
   Vector3 cameraTarget,
   Vector3 cameraUpVector
)

パラメータ

cameraPosition
The position of the camera.
cameraTarget
The target towards which the camera is pointing.
cameraUpVector
The direction that is "up" from the camera's point of view.

戻り値の型

The view matrix.
参照

Matrix4x4 構造体
Matrix4x4 メンバ