Click or drag to resize
Ab4d.SharpEngine logo

MatrixCameraUpdate Method

Update method updates the camera matrices when needed (when there were any change in the camera properties) or when forceMatrixUpdate is set to true.

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public void Update(
	bool forceMatrixUpdate = false,
	bool triggerCameraChangedEvent = false
)

Parameters

forceMatrixUpdate  Boolean  (Optional)
when true, then camera matrices are recalculated regardless if there were any changes in camera properties or not
triggerCameraChangedEvent  Boolean  (Optional)
when true, then the CameraChanged event is triggered.

Implements

ICameraUpdate(Boolean, Boolean)
See Also