unreal.EdGraphNode_Comment¶
- class unreal.EdGraphNode_Comment(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
EdGraphNodeEd Graph Node Comment
C++ Source:
Module: UnrealEd
File: EdGraphNode_Comment.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 witherror_msg(str): [Read-Write] Error/Warning descriptionfont_size(int32): [Read-Write] Size of the text in the comment boxmove_mode(CommentBoxMode): [Read-Write] Whether the comment should move any fully enclosed nodes around when it is movednode_details(Text): [Read-Write] Details field if more info is needed to be communicated (will show up in tooltip)
- get_comment_color() LinearColor¶
Gets the background color of a comment node.
- Return type:
- get_nodes_in_comment() Array[K2Node]¶
Returns the K2 nodes contained within the given comment node. Only UK2Node-derived nodes are returned; nested comments and other non-K2 node types are excluded. Membership is explicitly maintained when comments are created programmatically. Note: if the comment is manually moved or resized in the editor, membership is rebuilt spatially and may diverge from the programmatic assignment.
- set_comment_color(color) None¶
Sets the background color of a comment node.
- Parameters:
color (LinearColor)