Click or drag to resize
Ab4d.SharpEngine logo

MatrixCameraGetCameraPosition Method

Gets the camera's position. The position is calculating with inverting the view matrix and extracting the values from 4th row. The invert operation can be skipped with calling SetCameraPosition(Vector3) method.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public Vector3 GetCameraPosition()

Return Value

Vector3

[Missing <returns> documentation for "M:Ab4d.SharpEngine.Cameras.MatrixCamera.GetCameraPosition"]

Implements

ICameraGetCameraPosition
See Also