engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
SlateEditableTextTypes::FCursorInfo类 参考

Store the information about the current cursor position 更多...

#include <SlateEditableTextTypes.h>

Public 成员函数

FCursorInfo CreateUndo () const
 Create an undo for this cursor data
 
FORCEINLINE ECursorAlignment GetCursorAlignment () const
 Get the alignment of the cursor
 
FORCEINLINE FTextLocation GetCursorInteractionLocation () const
 Get the interaction position of the cursor (where to insert, delete, etc, text from/to)
 
FORCEINLINE FTextLocation GetCursorLocation () const
 Get the literal position of the cursor (note: this may not be the correct place to insert text to, use GetCursorInteractionLocation for that)
 
FORCEINLINE TextBiDi::ETextDirection GetCursorTextDirection () const
 Get the direction of the text under the cursor
 
void RestoreFromUndo (const FCursorInfo &UndoData)
 Restore this cursor data from an undo
 
void SetCursorLocationAndAlignment (const FTextLayout &InTextLayout, const FTextLocation &InCursorPosition, const ECursorAlignment InCursorAlignment)
 Set the literal position and alignment of the cursor
 
void SetCursorLocationAndCalculateAlignment (const FTextLayout &InTextLayout, const FTextLocation &InCursorPosition)
 Set the position of the cursor, and then work out the correct alignment based on the current text layout
 
void UpdateLastCursorInteractionTime ()
 Update the last cursor interaction time to now
 

详细描述

Store the information about the current cursor position


该类的文档由以下文件生成: