Method | Description | |
---|---|---|
CreateLook ( Vector3 &position, Vector3 &direction, Vector3 &up, Matrix &result ) : void |
カメラの位置、視線方向、UP ベクトルでビュー行列を生成します。 これは、Matrix.CreateLookAt(position, position + direction, up) と等価です。 なお、Matrix.CreateLookAt はその内部で position と target から direction を算出しています。
|
public static CreateLook ( Vector3 &position, Vector3 &direction, Vector3 &up, Matrix &result ) : void | ||
position | Vector3 | |
direction | Vector3 | |
up | Vector3 | |
result | Matrix | |
return | void |