unreal.MaterialDecalResponse

class unreal.MaterialDecalResponse

Bases: EnumBase

Defines how the material reacts on DBuffer decals, later we can expose more variants between None and Default.

C++ Source:

  • Module: Engine

  • File: Material.h

MDR_COLOR: MaterialDecalResponse

Receive Decals, applies color DBuffer channels.

Type:

2

MDR_COLOR_NORMAL: MaterialDecalResponse

Receive Decals, applies color and normal DBuffer channels.

Type:

3

MDR_COLOR_NORMAL_ROUGHNESS: MaterialDecalResponse

Receive Decals, applies all DBuffer channels.

Type:

1

MDR_COLOR_ROUGHNESS: MaterialDecalResponse

Receive Decals, applies color, roughness, specular and metallic DBuffer channels.

Type:

4

MDR_NONE: MaterialDecalResponse

Do not receive decals (Later we still can read the DBuffer channels to customize the effect, this frees up some interpolators).

Type:

0

MDR_NORMAL: MaterialDecalResponse

Receive Decals, applies normal DBuffer channels.

Type:

5

MDR_NORMAL_ROUGHNESS: MaterialDecalResponse

Receive Decals, applies normal, roughness, specular and metallic DBuffer channels.

Type:

6

MDR_ROUGHNESS: MaterialDecalResponse

Receive Decals, applies roughness, specular and metallic DBuffer channels.

Type:

7