Skip to content

ITextStudio3DTextInputTarget

InterfaceTextStudio.ThreeDTextStudio.3D
public interface ITextStudio3DTextInputTarget

Accepts focus, editing, selection, and submission commands from a spatial keyboard or input adapter.

void Focus()

Acquires the global spatial text focus and exposes caret and selection state.

void Blur()

Releases spatial text focus and applies the target’s blur validation.

void Insert(string value)

Inserts text at the current selection after applying content and length rules.

Parameters

Name Type
value System.String
void Backspace()

Deletes the current selection or the preceding UTF-16 character.

void DeleteForward()

Deletes the current selection or the following UTF-16 character.

void MoveCaret(int offset, bool extendSelection)

Moves the caret by a signed character offset and optionally extends the selection.

Parameters

Name Type
offset System.Int32
extendSelection System.Boolean
void SelectAll()

Selects the complete editable value.

void Submit()

Raises submission for the current value and optionally releases focus.

bool IsFocused { get; }

Returns

System.Boolean

bool ReadOnly { get; }

Returns

System.Boolean