unreal.ImportanceWeight

class unreal.ImportanceWeight

Bases: unreal.EnumBase

Provides different weighting functions for texture importance sampling

C++ Source:

  • Module: Engine

  • File: ImportanceSamplingLibrary.h

ALPHA

Importance from alpha channel of texture.

Type

4

BLUE

Importance from blue channel of texture.

Type

3

GREEN

Importance from green channel of texture.

Type

2

LUMINANCE

Importance from color luminance.

Type

0

RED

Importance from red channel of texture.

Type

1