unreal.MaterialExpressionComponentMask

class unreal.MaterialExpressionComponentMask(outer=None, name='None')

Bases: unreal.MaterialExpression

Material Expression Component Mask

C++ Source:

  • Module: Engine

  • File: MaterialExpressionComponentMask.h

Editor Properties: (see get_editor_property/set_editor_property)

  • a (bool): [Read-Write] A

  • b (bool): [Read-Write] B

  • desc (str): [Read-Write] A description that level designers can add (shows in the material editor UI).

  • g (bool): [Read-Write] G

  • r (bool): [Read-Write] R