unreal.MaterialDomain

class unreal.MaterialDomain

Bases: unreal.EnumBase

Defines the domain of a material.

C++ Source:

  • Module: Engine

  • File: MaterialShared.h

MD_DEFERRED_DECAL

The material’s attributes describe a deferred decal, and will be mapped onto the decal’s frustum.

Type

1

MD_LIGHT_FUNCTION

The material’s attributes describe a light’s distribution.

Type

2

MD_POST_PROCESS

The material will be used in a custom post process pass.

Type

4

MD_SURFACE

The material’s attributes describe a 3d surface.

Type

0

MD_UI

The material will be used for UMG or Slate UI

Type

5

MD_VOLUME

The material’s attributes describe a 3d volume.

Type

3