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
属性

适用于