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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public Vector3 GetCameraPosition()

Return Value

Vector3

Implements

ICameraGetCameraPosition
See Also