unreal.MaterialExpressionComment

class unreal.MaterialExpressionComment(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: 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

  • material_expression_editor_x (int32): [Read-Write] Material Expression Editor X

  • material_expression_editor_y (int32): [Read-Write] Material Expression Editor Y

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