FTargetPlatformBase::GetHeightFogModeForOpaque

Gets an integer representing the height fog mode for opaque materials on a platform.

Windows
MacOS
Linux

Override Hierarchy

ITargetPlatform::GetHeightFogModeForOpaque()

FTargetPlatformBase::GetHeightFogModeForOpaque()

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h

Include

#include "Common/TargetPlatformBase.h"

Source

/Engine/Source/Developer/TargetPlatform/Private/TargetPlatformBase.cpp

Syntax

virtual int32 GetHeightFogModeForOpaque() const

Remarks

Gets an integer representing the height fog mode for opaque materials on a platform.

Returns

0 if no override (i.e. use r.VertexFoggingForOpaque from project settings); 1 if pixel fog; 2 if vertex fog.