Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Text/TextLayout.h |
Include |
#include "Framework/Text/TextLayout.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Framework/Text/TextLayout.cpp |
void CreateWrappingCache()
Create the wrapping cache for the current text based upon the current scale Each line keeps its own cached state, so needs to be cleared when changing the text within a line When changing the scale, all the lines need to be cleared (see DirtyAllLineModels(ELineModelDirtyState::WrappingInformation))