편집

다음을 통해 공유


MDLCamera.LookAt Method

Definition

Overloads

LookAt(Vector3)

Points the camera at focusPosition.

LookAt(Vector3, Vector3)

Moves the camera to from, and points it at focusPosition.

LookAt(Vector3)

Points the camera at focusPosition.

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

Parameters

focusPosition
Vector3
Attributes

Applies to

LookAt(Vector3, Vector3)

Moves the camera to from, and points it at 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

Parameters

focusPosition
Vector3
cameraPosition
Vector3
Attributes

Applies to