Click or drag to resize
Ab4d.SharpEngine logo

CameraGetViewProjectionMatrix Method

Gets a precalculated View * Projection matrix. When the optional parameter updateIfDirty is true (by default) then the Update(Boolean, 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: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public Matrix4x4 GetViewProjectionMatrix(
	bool updateIfDirty = true
)

Parameters

updateIfDirty  Boolean  (Optional)
when true (by default) then the Update(Boolean, 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

Implements

ICameraGetViewProjectionMatrix(Boolean)
See Also