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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public Vector3 GetCameraPosition()

Return Value

Vector3

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

Implements

ICameraGetCameraPosition
Remarks

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

See Also