Inventory Engine v4.2
Loading...
Searching...
No Matches
MoreMountains.Tools.MMCameraFog Class Reference

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

Inherits MonoBehaviour.

Public Attributes

FogSettings Settings
 the settings to use to override fog settings

Protected Member Functions

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

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: