unreal.MaterialExpressionComment

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

Bases: unreal.MaterialExpression

Material Expression Comment

C++ Source:

  • Module: Engine

  • File: MaterialExpressionComment.h

Editor Properties: (see get_editor_property/set_editor_property)

  • comment_color (LinearColor): [Read-Write] Comment Color: Color to style comment with

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

  • font_size (int32): [Read-Write] Font Size: Size of the text in the comment box

  • text (str): [Read-Write] Text