共用方式為


MDLCamera.LookAt 方法

定義

多載

LookAt(Vector3)

將相機指向 focusPosition

LookAt(Vector3, Vector3)

將相機移至 from ,並將它 focusPosition 指向 。

LookAt(Vector3)

將相機指向 focusPosition

[Foundation.Export("lookAt:")]
public virtual void LookAt (OpenTK.Vector3 focusPosition);
abstract member LookAt : OpenTK.Vector3 -> unit
override this.LookAt : OpenTK.Vector3 -> unit

參數

focusPosition
Vector3
屬性

適用於

LookAt(Vector3, Vector3)

將相機移至 from ,並將它 focusPosition 指向 。

[Foundation.Export("lookAt:from:")]
public virtual void LookAt (OpenTK.Vector3 focusPosition, OpenTK.Vector3 cameraPosition);
abstract member LookAt : OpenTK.Vector3 * OpenTK.Vector3 -> unit
override this.LookAt : OpenTK.Vector3 * OpenTK.Vector3 -> unit

參數

focusPosition
Vector3
cameraPosition
Vector3
屬性

適用於