UMaterialExpressionComment

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionComment.h

Include

#include "Materials/MaterialExpressionComment.h"

Syntax

class UMaterialExpressionComment : public UMaterialExpression

Variables

Name Description

Public variable

FLinearColor

 

CommentColor

Color to style comment with

Public variable

int32

 

FontSize

Size of the text in the comment box

Public variable

int32

 

SizeX

Public variable

int32

 

SizeY

Public variable

FString

 

Text

Constructors

Name Description

Public function

UMaterialExpressionComment

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UMaterialExpression

Name Description

Public function Virtual Const

void

 

GetCaption

(
    TArray< FString >& OutCaptions
)

Returns the text to display on the material expression (in the material editor).

Public function Virtual

bool

 

MatchesSearchQuery

(
    const TCHAR* SearchQuery
)

MatchesSearchQuery: Check this expression to see if it matches the search query

Overridden from UObject

Name Description

Public function Virtual

bool

 

Modify

(
    bool bAlwaysMarkDirty
)

That the object will be modified.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss