Click or drag to resize
Ab4d.SharpEngine logo

CameraGetViewMatrix Method

GetViewMatrix method returns the camera's view matrix. When the optional parameter updateIfDirty is true (by default) then the Update(Boolean) method is called if the camera was changed after the last matrices were calculated.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public Matrix4x4 GetViewMatrix(
	bool updateIfDirty = true
)

Parameters

updateIfDirty  Boolean  (Optional)
when true (by default) then the Update(Boolean) method is called if the camera was changed after the last matrices were calculated; when false the current values are returned (may be outdated)

Return Value

Matrix4x4

[Missing <returns> documentation for "M:Ab4d.SharpEngine.Cameras.Camera.GetViewMatrix(System.Boolean)"]

Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Cameras.Camera.GetViewMatrix(System.Boolean)"]

See Also