engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FNodeTextCache结构体 参考

Constructing FText strings every frame can be costly, so this struct provides a way to easily cache those strings (node title, tooptip, etc.) for reuse. 更多...

#include <EdGraphNodeUtils.h>

Public 成员函数

FORCEINLINE bool IsOutOfDate (const UEdGraphNode *InOwningNode) const
 Checks if the title is out of date 更多...
 
FORCEINLINE bool IsOutOfDate (const UEdGraphSchema *InSchema) const
 Checks if the title is out of date 更多...
 
FORCEINLINE void SetCachedText (FText const &InText, const UEdGraphNode *InOwningNode) const
 Checks if the title is out of date 更多...
 
FORCEINLINE void SetCachedText (FText const &InText, const UEdGraphSchema *InSchema) const
 Checks if the title is out of date 更多...
 

详细描述

Constructing FText strings every frame can be costly, so this struct provides a way to easily cache those strings (node title, tooptip, etc.) for reuse.

成员函数说明

◆ IsOutOfDate() [1/2]

FORCEINLINE bool FNodeTextCache::IsOutOfDate ( const UEdGraphNode *  InOwningNode) const
inline

Checks if the title is out of date

参数
InOwningNodeNode that owns this title

◆ IsOutOfDate() [2/2]

FORCEINLINE bool FNodeTextCache::IsOutOfDate ( const UEdGraphSchema *  InSchema) const
inline

Checks if the title is out of date

参数
InSchemaSchema to use for checking if externally made out of date

◆ SetCachedText() [1/2]

FORCEINLINE void FNodeTextCache::SetCachedText ( FText const &  InText,
const UEdGraphNode *  InOwningNode 
) const
inline

Checks if the title is out of date

参数
InTextText to cache
InOwningNodeNode that owns this title

◆ SetCachedText() [2/2]

FORCEINLINE void FNodeTextCache::SetCachedText ( FText const &  InText,
const UEdGraphSchema *  InSchema 
) const
inline

Checks if the title is out of date

参数
InTextText to cache
InSchemaSchema to use for checking if externally made out of date

该结构体的文档由以下文件生成: