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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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