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>
|
| 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
- 参数
-
| InOwningNode | Node that owns this title |
◆ IsOutOfDate() [2/2]
| FORCEINLINE bool FNodeTextCache::IsOutOfDate |
( |
const UEdGraphSchema * |
InSchema | ) |
const |
|
inline |
Checks if the title is out of date
- 参数
-
| InSchema | Schema 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
- 参数
-
| InText | Text to cache |
| InOwningNode | Node 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
- 参数
-
| InText | Text to cache |
| InSchema | Schema to use for checking if externally made out of date |
该结构体的文档由以下文件生成: