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
)

Note that the object will be modified.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent & PropertyCha...
)

Called when a property on this object has been modified externally

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback