unreal.MaterialExpressionComment

class unreal.MaterialExpressionComment(outer: Object | None = None, name: Name | str = 'None')

Bases: MaterialExpression

Material Expression Comment

C++ Source:

  • Module: Engine

  • File: MaterialExpressionComment.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color_comment_bubble (bool): [Read-Write] Whether to use Comment Color to color the background of the comment bubble shown when zoomed out.

  • comment_bubble_visible_in_details_panel (bool): [Read-Write] Whether to show a zoom-invariant comment bubble when zoomed out (making the comment readable at any distance).

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

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

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

  • group_mode (bool): [Read-Write] Whether the comment should move any fully enclosed nodes around when it is moved

  • material_expression_editor_x (int32): [Read-Write]

  • material_expression_editor_y (int32): [Read-Write]

  • text (str): [Read-Write]