MDLCamera.LookAt Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LookAt(Vector3) |
Points the camera at |
LookAt(Vector3, Vector3) |
Moves the camera to |
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