Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionComment
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionComment.h |
| Include | #include "Materials/MaterialExpressionComment.h" |
Syntax
UCLASS (MinimalAPI)
class UMaterialExpressionComment : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bColorCommentBubble | Whether to use Comment Color to color the background of the comment bubble shown when zoomed out. | |
| uint32: 1 | bCommentBubbleVisible_InDetailsPanel | Whether to show a zoom-invariant comment bubble when zoomed out (making the comment readable at any distance). | |
| bool | bGroupMode | Whether the comment should move any fully enclosed nodes around when it is moved | |
| FLinearColor | CommentColor | Color to style comment with | |
| int32 | FontSize | Size of the text in the comment box | |
| int32 | SizeX | ||
| int32 | SizeY | ||
| FString | Text |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionComment
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| bool | MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Modify
(
bool bAlwaysMarkDirty |
Note that the object will be modified. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |