unreal.DMMaterialFlagsLighting

class unreal.DMMaterialFlagsLighting

Bases: EnumBase

EDMMaterial Flags Lighting

C++ Source:

  • Plugin: DynamicMaterial

  • Module: DynamicMaterialEditor

  • File: DynamicMaterialModelEditorOnlyData.h

ALLOW_NEGATIVE_EMISSIVE_COLOR: DMMaterialFlagsLighting = Ellipsis

Whether the material should allow outputting negative emissive color values. Only allowed on unlit materials.

Type:

64

ALLOW_TRANSLUCENT_LOCAL_LIGHT_SHADOW: DMMaterialFlagsLighting = Ellipsis

Allows a translucent material to receive local light shadows.

Type:

16

CAST_DYNAMIC_SHADOW_AS_MASKED: DMMaterialFlagsLighting = Ellipsis

Whether the material should cast shadows as masked even though it has a translucent blend mode.

Type:

1

COMPATIBLE_WITH_LUMEN_CARD_SHARING: DMMaterialFlagsLighting = Ellipsis

Whether to allow to share Lumen Cards between different instances even when material uses world position or per instance data, which may change material look per instance. All materials on a component needs this flag set for sharing to work.

Type:

8

CONTACT_SHADOWS: DMMaterialFlagsLighting = Ellipsis

Contact shadows on translucency.

Type:

2

USE_EMISSIVE_FOR_DYNAMIC_AREA_LIGHTING: DMMaterialFlagsLighting = Ellipsis

Whether the material’s emissive colour is injected into the LightPropagationVolume.

Type:

4

USE_LIGHTMAP_DIRECTIONALITY: DMMaterialFlagsLighting = Ellipsis

Use lightmap directionality and per pixel normals. If disabled, lighting from lightmaps will be flat but cheaper.

Type:

32