 |
ICameraGetCameraMatrices Method |
GetCameraMatrices method gets the camera's view and projection matrices.
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.CamerasAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax(Matrix4x4 view, Matrix4x4 projection) GetCameraMatrices(
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
ValueTupleMatrix4x4,
Matrix4x4[Missing <returns> documentation for "M:Ab4d.SharpEngine.Cameras.ICamera.GetCameraMatrices(System.Boolean)"]
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Cameras.ICamera.GetCameraMatrices(System.Boolean)"]
See Also