Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionComment |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionComment.h |
| Include Path | #include "Materials/MaterialExpressionComment.h" |
Syntax
UCLASS (MinimalAPI)
class UMaterialExpressionComment : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionComment
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bColorCommentBubble | uint32 | Whether to use Comment Color to color the background of the comment bubble shown when zoomed out. | Materials/MaterialExpressionComment.h |
|
| bCommentBubbleVisible_InDetailsPanel | uint32 | Whether to show a zoom-invariant comment bubble when zoomed out (making the comment readable at any distance). | Materials/MaterialExpressionComment.h |
|
| bGroupMode | bool | Whether the comment should move any fully enclosed nodes around when it is moved | Materials/MaterialExpressionComment.h |
|
| CommentColor | FLinearColor | Color to style comment with | Materials/MaterialExpressionComment.h |
|
| FontSize | int32 | Size of the text in the comment box | Materials/MaterialExpressionComment.h |
|
| SizeX | int32 | Materials/MaterialExpressionComment.h | ||
| SizeY | int32 | Materials/MaterialExpressionComment.h | ||
| Text | FString | Materials/MaterialExpressionComment.h |
|
Functions
Public
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionComment.h | ||
virtual bool IsAllowedIn
(
const UObject* MaterialOrFunction |
Returns whether the creation of this expression is allowed in a given material or material function | Materials/MaterialExpressionComment.h | |
virtual bool MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query | Materials/MaterialExpressionComment.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool Modify
(
bool bAlwaysMarkDirty |
Materials/MaterialExpressionComment.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Materials/MaterialExpressionComment.h |