Navigation
API > API/Runtime > API/Runtime/Engine
Determines how the refraction account for the coverage with Substrate. It can only be used when Substrate is enabled.
| Name | ERefractionCoverageMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
enum ERefractionCoverageMode
{
RCM_CoverageIgnored,
RCM_CoverageAccountedFor,
}
Values
| Name | Remarks |
|---|---|
| RCM_CoverageIgnored | This is the pre-Substrate behavior: coverage is ignored and always 1. |
| RCM_CoverageAccountedFor | This is a new behavior available with Substrate when rough refraction are enabled: account for roughness, coverage and depth. |