Navigation
API > API/Runtime > API/Runtime/Engine
Provides different weighting functions for texture importance sampling
| Name | EImportanceWeight::Type |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/ImportanceSamplingLibrary.h |
| Include Path | #include "Kismet/ImportanceSamplingLibrary.h" |
Syntax
namespace EImportanceWeight
{
enum Type
{
Luminance,
Red,
Green,
Blue,
Alpha,
}
}
Values
| Name | Remarks |
|---|---|
| Luminance | Importance from color luminance. |
| Red | Importance from red channel of texture. |
| Green | Importance from green channel of texture. |
| Blue | Importance from blue channel of texture. |
| Alpha | Importance from alpha channel of texture. |