UMaterialExpressionStaticSwitchParameter::GetCaption

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UMaterialExpression::GetCaption()

UMaterialExpressionStaticBoolParameter::GetCaption()

UMaterialExpressionStaticSwitchParameter::GetCaption()

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionStaticSwitchParameter.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp

Syntax

virtual void GetCaption
(
    TArray< FString > & OutCaptions
) const

Remarks

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

Returns

FString The text to display.