TopDown Engine  v4.1
MoreMountains.Tools.MMCameraFog Class Reference

Add this class to a camera and it will override fog settings when active More...

Inheritance diagram for MoreMountains.Tools.MMCameraFog:

Public Attributes

FogSettings Settings
 the settings to use to override fog settings More...
 

Protected Member Functions

void Awake ()
 
virtual void OnPreRender ()
 On pre render we store our current fog settings and override them More...
 
virtual void OnPostRender ()
 On post render we restore fog settings More...
 

Protected Attributes

FogSettings _previousSettings
 

Detailed Description

Add this class to a camera and it will override fog settings when active

Member Function Documentation

◆ Awake()

void MoreMountains.Tools.MMCameraFog.Awake ( )
protected

◆ OnPostRender()

virtual void MoreMountains.Tools.MMCameraFog.OnPostRender ( )
protectedvirtual

On post render we restore fog settings

◆ OnPreRender()

virtual void MoreMountains.Tools.MMCameraFog.OnPreRender ( )
protectedvirtual

On pre render we store our current fog settings and override them

Member Data Documentation

◆ _previousSettings

FogSettings MoreMountains.Tools.MMCameraFog._previousSettings
protected

◆ Settings

FogSettings MoreMountains.Tools.MMCameraFog.Settings

the settings to use to override fog settings


The documentation for this class was generated from the following file: