Delegate CustomCameraUpdate
Delegate that allows a user to give a custom projection calculation to a Camera.
Namespace: Fusee.Engine.Core.Scene
Assembly: Fusee.Engine.Core.dll
Syntax
public delegate void CustomCameraUpdate(out float4 viewport, out float4x4 projection);
Parameters
Type | Name | Description |
---|---|---|
float4 | viewport | The viewport that gets rendered with the resulting projection matrix. Given in pixel. This is used in lower levels to set Viewport(Int32, Int32, Int32, Int32) |
float4x4 | projection | The given method needs to calculate the projection matrix. |