unreal.CustomMaterialClipInstruction

class unreal.CustomMaterialClipInstruction

Bases: EnumBase

ECustom Material Clip Instruction

C++ Source:

  • Module: Engine

  • File: MaterialExpressionCustom.h

CMCI_NO: CustomMaterialClipInstruction = Ellipsis

Assume this expression never discards pixels, regardless of what the Code contains.

Type:

2

Search the Code string for clip() or discard at compile time to determine whether pixel discarding is possible.

Type:

0

CMCI_YES: CustomMaterialClipInstruction = Ellipsis

Assume this expression may discard pixels, regardless of what the Code contains.

Type:

1