Click or drag to resize
AB4D 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: Ab3d.DirectX.Cameras
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public Vector3 GetCameraPosition()

Return Value

Vector3

Implements

ICameraGetCameraPosition
See Also