Interface IRendererModule
Implement this to extend the SceneRenderer with visit methods for modules that contain SceneComponents.
Namespace: Fusee.Engine.Core
Assembly: Fusee.Engine.Core.dll
Syntax
public interface IRendererModule : IVisitorModule
Methods
UpdateCamera(Camera)
Sets the currently used Camera.
Declaration
void UpdateCamera(Camera cam)
Parameters
Type | Name | Description |
---|---|---|
Camera | cam |
UpdateContext(RenderContext)
Sets the render context for the given scene.
Declaration
void UpdateContext(RenderContext rc)
Parameters
Type | Name | Description |
---|---|---|
RenderContext | rc |
UpdateRenderLayer(RenderLayers)
Sets the currently used RenderLayer.
Declaration
void UpdateRenderLayer(RenderLayers renderLayer)
Parameters
Type | Name | Description |
---|---|---|
RenderLayers | renderLayer |
UpdateState(RendererState)
Sets the RendererState for this module. Pass the state from the base renderer.
Declaration
void UpdateState(RendererState state)
Parameters
Type | Name | Description |
---|---|---|
RendererState | state | The state to set. |