unreal.ImportanceWeight

class unreal.ImportanceWeight

Bases: EnumBase

Provides different weighting functions for texture importance sampling

C++ Source:

  • Module: Engine

  • File: ImportanceSamplingLibrary.h

ALPHA: ImportanceWeight

Importance from alpha channel of texture.

Type:

4

BLUE: ImportanceWeight

Importance from blue channel of texture.

Type:

3

GREEN: ImportanceWeight

Importance from green channel of texture.

Type:

2

LUMINANCE: ImportanceWeight

Importance from color luminance.

Type:

0

RED: ImportanceWeight

Importance from red channel of texture.

Type:

1