「MonoGameのカメラを作る」の版間の差分
imported>Administrator 細 Administrator がページ「MonoGame/カメラを作る」を「MonoGameのカメラを作る」に移動しました |
imported>Administrator 編集の要約なし |
||
| 25行目: | 25行目: | ||
/// カメラの位置 | /// カメラの位置 | ||
/// </summary> | /// </summary> | ||
public Vector3 Position = new Vector3(0, 10, 10); | public Vector3 Position | ||
{ | |||
get { return _position; } | |||
set { _position = value; UpdateView(); } | |||
} | |||
private Vector3 _position = new Vector3(0, 10, 10); | |||
/// <summary> | /// <summary> | ||
/// カメラの焦点 | /// カメラの焦点 | ||
/// </summary> | /// </summary> | ||
public Vector3 Target = Vector3.Zero; | public Vector3 Target | ||
{ | |||
get { return _target; } | |||
set { _target = value; UpdateView(); } | |||
} | |||
private Vector3 _target = Vector3.Zero; | |||
/// <summary> | /// <summary> | ||