Skip to main content

ITMP_InputFieldMethods

Trait ITMP_InputFieldMethods 

Source
pub trait ITMP_InputFieldMethods: ITMP_InputField {
Show 222 methods // Provided methods fn get_input_system(self) -> BaseInput { ... } fn get_composition_string(self) -> Il2CppString { ... } fn get_composition_length(self) -> i32 { ... } fn ctor(self) { ... } fn get_mesh(self) -> Mesh { ... } fn get_should_hide_mobile_input(self) -> bool { ... } fn set_should_hide_mobile_input(self, value: impl Into<bool>) { ... } fn get_should_hide_soft_keyboard(self) -> bool { ... } fn set_should_hide_soft_keyboard(self, value: impl Into<bool>) { ... } fn is_keyboard_using_events(self) -> bool { ... } fn get_text(self) -> Il2CppString { ... } fn set_text(self, value: impl Into<Il2CppString>) { ... } fn set_text_without_notify(self, input: impl Into<Il2CppString>) { ... } fn set_text_2( self, value: impl Into<Il2CppString>, send_callback: impl Into<bool>, ) { ... } fn get_is_focused(self) -> bool { ... } fn get_caret_blink_rate(self) -> f32 { ... } fn set_caret_blink_rate(self, value: impl Into<f32>) { ... } fn get_caret_width(self) -> i32 { ... } fn set_caret_width(self, value: impl Into<i32>) { ... } fn get_text_viewport(self) -> RectTransform { ... } fn set_text_viewport(self, value: impl Into<RectTransform>) { ... } fn get_text_component(self) -> TMP_Text { ... } fn set_text_component(self, value: impl Into<TMP_Text>) { ... } fn get_placeholder(self) -> Graphic { ... } fn set_placeholder(self, value: impl Into<Graphic>) { ... } fn get_vertical_scrollbar(self) -> Scrollbar { ... } fn set_vertical_scrollbar(self, value: impl Into<Scrollbar>) { ... } fn get_scroll_sensitivity(self) -> f32 { ... } fn set_scroll_sensitivity(self, value: impl Into<f32>) { ... } fn get_caret_color(self) -> Color { ... } fn set_caret_color(self, value: impl Into<Color>) { ... } fn get_custom_caret_color(self) -> bool { ... } fn set_custom_caret_color(self, value: impl Into<bool>) { ... } fn get_selection_color(self) -> Color { ... } fn set_selection_color(self, value: impl Into<Color>) { ... } fn get_on_end_edit(self) -> TMP_InputField_SubmitEvent { ... } fn set_on_end_edit(self, value: impl Into<TMP_InputField_SubmitEvent>) { ... } fn get_on_submit(self) -> TMP_InputField_SubmitEvent { ... } fn set_on_submit(self, value: impl Into<TMP_InputField_SubmitEvent>) { ... } fn get_on_select(self) -> TMP_InputField_SelectionEvent { ... } fn set_on_select(self, value: impl Into<TMP_InputField_SelectionEvent>) { ... } fn get_on_deselect(self) -> TMP_InputField_SelectionEvent { ... } fn set_on_deselect(self, value: impl Into<TMP_InputField_SelectionEvent>) { ... } fn get_on_text_selection(self) -> TMP_InputField_TextSelectionEvent { ... } fn set_on_text_selection( self, value: impl Into<TMP_InputField_TextSelectionEvent>, ) { ... } fn get_on_end_text_selection(self) -> TMP_InputField_TextSelectionEvent { ... } fn set_on_end_text_selection( self, value: impl Into<TMP_InputField_TextSelectionEvent>, ) { ... } fn get_on_value_changed(self) -> TMP_InputField_OnChangeEvent { ... } fn set_on_value_changed( self, value: impl Into<TMP_InputField_OnChangeEvent>, ) { ... } fn get_on_touch_screen_keyboard_status_changed( self, ) -> TMP_InputField_TouchScreenKeyboardEvent { ... } fn set_on_touch_screen_keyboard_status_changed( self, value: impl Into<TMP_InputField_TouchScreenKeyboardEvent>, ) { ... } fn get_on_validate_input(self) -> TMP_InputField_OnValidateInput { ... } fn set_on_validate_input( self, value: impl Into<TMP_InputField_OnValidateInput>, ) { ... } fn get_character_limit(self) -> i32 { ... } fn set_character_limit(self, value: impl Into<i32>) { ... } fn get_point_size(self) -> f32 { ... } fn set_point_size(self, value: impl Into<f32>) { ... } fn get_font_asset(self) -> TMP_FontAsset { ... } fn set_font_asset(self, value: impl Into<TMP_FontAsset>) { ... } fn get_on_focus_select_all(self) -> bool { ... } fn set_on_focus_select_all(self, value: impl Into<bool>) { ... } fn get_reset_on_de_activation(self) -> bool { ... } fn set_reset_on_de_activation(self, value: impl Into<bool>) { ... } fn get_restore_original_text_on_escape(self) -> bool { ... } fn set_restore_original_text_on_escape(self, value: impl Into<bool>) { ... } fn get_is_rich_text_editing_allowed(self) -> bool { ... } fn set_is_rich_text_editing_allowed(self, value: impl Into<bool>) { ... } fn get_content_type(self) -> TMP_InputField_ContentType { ... } fn set_content_type(self, value: impl Into<TMP_InputField_ContentType>) { ... } fn get_line_type(self) -> TMP_InputField_LineType { ... } fn set_line_type(self, value: impl Into<TMP_InputField_LineType>) { ... } fn get_line_limit(self) -> i32 { ... } fn set_line_limit(self, value: impl Into<i32>) { ... } fn get_input_type(self) -> TMP_InputField_InputType { ... } fn set_input_type(self, value: impl Into<TMP_InputField_InputType>) { ... } fn get_keyboard_type(self) -> TouchScreenKeyboardType { ... } fn set_keyboard_type(self, value: impl Into<TouchScreenKeyboardType>) { ... } fn get_character_validation(self) -> TMP_InputField_CharacterValidation { ... } fn set_character_validation( self, value: impl Into<TMP_InputField_CharacterValidation>, ) { ... } fn get_input_validator(self) -> TMP_InputValidator { ... } fn set_input_validator(self, value: impl Into<TMP_InputValidator>) { ... } fn get_read_only(self) -> bool { ... } fn set_read_only(self, value: impl Into<bool>) { ... } fn get_rich_text(self) -> bool { ... } fn set_rich_text(self, value: impl Into<bool>) { ... } fn get_multi_line(self) -> bool { ... } fn get_asterisk_char(self) -> u16 { ... } fn set_asterisk_char(self, value: impl Into<u16>) { ... } fn get_was_canceled(self) -> bool { ... } fn clamp_string_pos(self) -> i32 { ... } fn clamp_caret_pos(self) -> i32 { ... } fn get_caret_position_internal(self) -> i32 { ... } fn set_caret_position_internal(self, value: impl Into<i32>) { ... } fn get_string_position_internal(self) -> i32 { ... } fn set_string_position_internal(self, value: impl Into<i32>) { ... } fn get_caret_select_position_internal(self) -> i32 { ... } fn set_caret_select_position_internal(self, value: impl Into<i32>) { ... } fn get_string_select_position_internal(self) -> i32 { ... } fn set_string_select_position_internal(self, value: impl Into<i32>) { ... } fn get_has_selection(self) -> bool { ... } fn get_caret_position(self) -> i32 { ... } fn set_caret_position(self, value: impl Into<i32>) { ... } fn get_selection_anchor_position(self) -> i32 { ... } fn set_selection_anchor_position(self, value: impl Into<i32>) { ... } fn get_selection_focus_position(self) -> i32 { ... } fn set_selection_focus_position(self, value: impl Into<i32>) { ... } fn get_string_position(self) -> i32 { ... } fn set_string_position(self, value: impl Into<i32>) { ... } fn get_selection_string_anchor_position(self) -> i32 { ... } fn set_selection_string_anchor_position(self, value: impl Into<i32>) { ... } fn get_selection_string_focus_position(self) -> i32 { ... } fn set_selection_string_focus_position(self, value: impl Into<i32>) { ... } fn on_enable(self) { ... } fn on_disable(self) { ... } fn on_text_changed(self, obj: impl Into<Object_2>) { ... } fn caret_blink(self) -> IEnumerator { ... } fn set_caret_visible(self) { ... } fn set_caret_active(self) { ... } fn on_focus(self) { ... } fn select_all(self) { ... } fn move_text_end(self, shift: impl Into<bool>) { ... } fn move_text_start(self, shift: impl Into<bool>) { ... } fn move_to_end_of_line(self, shift: impl Into<bool>, ctrl: impl Into<bool>) { ... } fn move_to_start_of_line( self, shift: impl Into<bool>, ctrl: impl Into<bool>, ) { ... } fn in_place_editing(self) -> bool { ... } fn update_string_position_from_keyboard(self) { ... } fn late_update(self) { ... } fn may_drag(self, event_data: impl Into<PointerEventData>) -> bool { ... } fn on_begin_drag(self, event_data: impl Into<PointerEventData>) { ... } fn on_drag(self, event_data: impl Into<PointerEventData>) { ... } fn mouse_drag_outside_rect( self, event_data: impl Into<PointerEventData>, ) -> IEnumerator { ... } fn on_end_drag(self, event_data: impl Into<PointerEventData>) { ... } fn on_pointer_down(self, event_data: impl Into<PointerEventData>) { ... } fn key_pressed(self, evt: impl Into<Event>) -> TMP_InputField_EditState { ... } fn is_valid_char(self, c: impl Into<u16>) -> bool { ... } fn process_event(self, e: impl Into<Event>) { ... } fn on_update_selected(self, event_data: impl Into<BaseEventData>) { ... } fn on_scroll(self, event_data: impl Into<PointerEventData>) { ... } fn get_scroll_position_relative_to_viewport(self) -> f32 { ... } fn get_selected_string(self) -> Il2CppString { ... } fn find_next_word_begin(self) -> i32 { ... } fn move_right(self, shift: impl Into<bool>, ctrl: impl Into<bool>) { ... } fn find_prev_word_begin(self) -> i32 { ... } fn move_left(self, shift: impl Into<bool>, ctrl: impl Into<bool>) { ... } fn line_up_character_position( self, original_pos: impl Into<i32>, go_to_first_char: impl Into<bool>, ) -> i32 { ... } fn line_down_character_position( self, original_pos: impl Into<i32>, go_to_last_char: impl Into<bool>, ) -> i32 { ... } fn page_up_character_position( self, original_pos: impl Into<i32>, go_to_first_char: impl Into<bool>, ) -> i32 { ... } fn page_down_character_position( self, original_pos: impl Into<i32>, go_to_last_char: impl Into<bool>, ) -> i32 { ... } fn move_down(self, shift: impl Into<bool>) { ... } fn move_down_2( self, shift: impl Into<bool>, go_to_last_char: impl Into<bool>, ) { ... } fn move_up(self, shift: impl Into<bool>) { ... } fn move_up_2( self, shift: impl Into<bool>, go_to_first_char: impl Into<bool>, ) { ... } fn move_page_up(self, shift: impl Into<bool>) { ... } fn move_page_up_2( self, shift: impl Into<bool>, go_to_first_char: impl Into<bool>, ) { ... } fn move_page_down(self, shift: impl Into<bool>) { ... } fn move_page_down_2( self, shift: impl Into<bool>, go_to_last_char: impl Into<bool>, ) { ... } fn delete(self) { ... } fn delete_key(self) { ... } fn backspace(self) { ... } fn append(self, input: impl Into<Il2CppString>) { ... } fn append_2(self, input: impl Into<u16>) { ... } fn insert(self, c: impl Into<u16>) { ... } fn update_touch_keyboard_from_edit_changes(self) { ... } fn send_on_value_changed_and_update_label(self) { ... } fn send_on_value_changed(self) { ... } fn send_on_end_edit(self) { ... } fn send_on_submit(self) { ... } fn send_on_focus(self) { ... } fn send_on_focus_lost(self) { ... } fn send_on_text_selection(self) { ... } fn send_on_end_text_selection(self) { ... } fn send_touch_screen_keyboard_status_changed(self) { ... } fn update_label(self) { ... } fn update_scrollbar(self) { ... } fn on_scrollbar_value_change(self, value: impl Into<f32>) { ... } fn update_mask_regions(self) { ... } fn adjust_text_position_relative_to_viewport( self, relative_position: impl Into<f32>, ) { ... } fn get_caret_position_from_string_index( self, string_index: impl Into<i32>, ) -> i32 { ... } fn get_min_caret_position_from_string_index( self, string_index: impl Into<i32>, ) -> i32 { ... } fn get_max_caret_position_from_string_index( self, string_index: impl Into<i32>, ) -> i32 { ... } fn get_string_index_from_caret_position( self, caret_position: impl Into<i32>, ) -> i32 { ... } fn force_label_update(self) { ... } fn mark_geometry_as_dirty(self) { ... } fn rebuild(self, update: impl Into<CanvasUpdate>) { ... } fn layout_complete(self) { ... } fn graphic_update_complete(self) { ... } fn update_geometry(self) { ... } fn assign_positioning_if_needed(self) { ... } fn on_fill_vbo(self, vbo: impl Into<Mesh>) { ... } fn generate_caret( self, vbo: impl Into<VertexHelper>, rounding_offset: impl Into<Vector2>, ) { ... } fn create_cursor_verts(self) { ... } fn generate_hightlight( self, vbo: impl Into<VertexHelper>, rounding_offset: impl Into<Vector2>, ) { ... } fn adjust_rect_transform_relative_to_viewport( self, start_position: impl Into<Vector2>, height: impl Into<f32>, is_char_visible: impl Into<bool>, ) { ... } fn validate( self, text: impl Into<Il2CppString>, pos: impl Into<i32>, ch: impl Into<u16>, ) -> u16 { ... } fn activate_input_field(self) { ... } fn activate_input_field_internal(self) { ... } fn on_select(self, event_data: impl Into<BaseEventData>) { ... } fn on_pointer_click(self, event_data: impl Into<PointerEventData>) { ... } fn on_control_click(self) { ... } fn release_selection(self) { ... } fn deactivate_input_field(self, clear_selection: impl Into<bool>) { ... } fn on_deselect(self, event_data: impl Into<BaseEventData>) { ... } fn on_submit(self, event_data: impl Into<BaseEventData>) { ... } fn enforce_content_type(self) { ... } fn set_text_component_wrap_mode(self) { ... } fn set_text_component_rich_text_mode(self) { ... } fn set_to_custom_if_content_type_is_not( self, allowed_content_types: impl Into<Array<TMP_InputField_ContentType>>, ) { ... } fn set_to_custom(self) { ... } fn set_to_custom_2( self, character_validation: impl Into<TMP_InputField_CharacterValidation>, ) { ... } fn do_state_transition( self, state: impl Into<Selectable_SelectionState>, instant: impl Into<bool>, ) { ... } fn calculate_layout_input_horizontal(self) { ... } fn calculate_layout_input_vertical(self) { ... } fn get_min_width(self) -> f32 { ... } fn get_preferred_width(self) -> f32 { ... } fn get_flexible_width(self) -> f32 { ... } fn get_min_height(self) -> f32 { ... } fn get_preferred_height(self) -> f32 { ... } fn get_flexible_height(self) -> f32 { ... } fn get_layout_priority(self) -> i32 { ... } fn set_global_point_size(self, point_size: impl Into<f32>) { ... } fn set_global_font_asset(self, font_asset: impl Into<TMP_FontAsset>) { ... } fn unity_engine_ui_i_canvas_element_get_transform(self) -> Transform { ... }
}

Provided Methods§

Source

fn get_input_system(self) -> BaseInput

get_inputSystem() overload

Source

fn get_composition_string(self) -> Il2CppString

get_compositionString() overload

Source

fn get_composition_length(self) -> i32

get_compositionLength() overload

Source

fn ctor(self)

.ctor() overload

Source

fn get_mesh(self) -> Mesh

get_mesh() overload

Source

fn get_should_hide_mobile_input(self) -> bool

get_shouldHideMobileInput() overload

Source

fn set_should_hide_mobile_input(self, value: impl Into<bool>)

set_shouldHideMobileInput(bool) overload

Source

fn get_should_hide_soft_keyboard(self) -> bool

get_shouldHideSoftKeyboard() overload

Source

fn set_should_hide_soft_keyboard(self, value: impl Into<bool>)

set_shouldHideSoftKeyboard(bool) overload

Source

fn is_keyboard_using_events(self) -> bool

isKeyboardUsingEvents() overload

Source

fn get_text(self) -> Il2CppString

get_text() overload

Source

fn set_text(self, value: impl Into<Il2CppString>)

set_text(::unity::Il2CppString) overload

Source

fn set_text_without_notify(self, input: impl Into<Il2CppString>)

SetTextWithoutNotify(::unity::Il2CppString) overload

Source

fn set_text_2( self, value: impl Into<Il2CppString>, send_callback: impl Into<bool>, )

SetText(::unity::Il2CppString, bool) overload

Source

fn get_is_focused(self) -> bool

get_isFocused() overload

get_caretBlinkRate() overload

set_caretBlinkRate(f32) overload

Source

fn get_caret_width(self) -> i32

get_caretWidth() overload

Source

fn set_caret_width(self, value: impl Into<i32>)

set_caretWidth(i32) overload

Source

fn get_text_viewport(self) -> RectTransform

get_textViewport() overload

Source

fn set_text_viewport(self, value: impl Into<RectTransform>)

set_textViewport(crate::unity_engine::recttransform::RectTransform) overload

Source

fn get_text_component(self) -> TMP_Text

get_textComponent() overload

Source

fn set_text_component(self, value: impl Into<TMP_Text>)

set_textComponent(crate::tm_pro::tmp_text::TMP_Text) overload

Source

fn get_placeholder(self) -> Graphic

get_placeholder() overload

Source

fn set_placeholder(self, value: impl Into<Graphic>)

set_placeholder(crate::unity_engine::ui::graphic::Graphic) overload

Source

fn get_vertical_scrollbar(self) -> Scrollbar

get_verticalScrollbar() overload

Source

fn set_vertical_scrollbar(self, value: impl Into<Scrollbar>)

set_verticalScrollbar(crate::unity_engine::ui::scrollbar::Scrollbar) overload

Source

fn get_scroll_sensitivity(self) -> f32

get_scrollSensitivity() overload

Source

fn set_scroll_sensitivity(self, value: impl Into<f32>)

set_scrollSensitivity(f32) overload

Source

fn get_caret_color(self) -> Color

get_caretColor() overload

Source

fn set_caret_color(self, value: impl Into<Color>)

set_caretColor(crate::unity_engine::color::Color) overload

Source

fn get_custom_caret_color(self) -> bool

get_customCaretColor() overload

Source

fn set_custom_caret_color(self, value: impl Into<bool>)

set_customCaretColor(bool) overload

Source

fn get_selection_color(self) -> Color

get_selectionColor() overload

Source

fn set_selection_color(self, value: impl Into<Color>)

set_selectionColor(crate::unity_engine::color::Color) overload

Source

fn get_on_end_edit(self) -> TMP_InputField_SubmitEvent

get_onEndEdit() overload

Source

fn set_on_end_edit(self, value: impl Into<TMP_InputField_SubmitEvent>)

set_onEndEdit(crate::tm_pro::tmp_inputfield::TMP_InputField_SubmitEvent) overload

Source

fn get_on_submit(self) -> TMP_InputField_SubmitEvent

get_onSubmit() overload

Source

fn set_on_submit(self, value: impl Into<TMP_InputField_SubmitEvent>)

set_onSubmit(crate::tm_pro::tmp_inputfield::TMP_InputField_SubmitEvent) overload

Source

fn get_on_select(self) -> TMP_InputField_SelectionEvent

get_onSelect() overload

Source

fn set_on_select(self, value: impl Into<TMP_InputField_SelectionEvent>)

set_onSelect(crate::tm_pro::tmp_inputfield::TMP_InputField_SelectionEvent) overload

Source

fn get_on_deselect(self) -> TMP_InputField_SelectionEvent

get_onDeselect() overload

Source

fn set_on_deselect(self, value: impl Into<TMP_InputField_SelectionEvent>)

set_onDeselect(crate::tm_pro::tmp_inputfield::TMP_InputField_SelectionEvent) overload

Source

fn get_on_text_selection(self) -> TMP_InputField_TextSelectionEvent

get_onTextSelection() overload

Source

fn set_on_text_selection( self, value: impl Into<TMP_InputField_TextSelectionEvent>, )

set_onTextSelection(crate::tm_pro::tmp_inputfield::TMP_InputField_TextSelectionEvent) overload

Source

fn get_on_end_text_selection(self) -> TMP_InputField_TextSelectionEvent

get_onEndTextSelection() overload

Source

fn set_on_end_text_selection( self, value: impl Into<TMP_InputField_TextSelectionEvent>, )

set_onEndTextSelection(crate::tm_pro::tmp_inputfield::TMP_InputField_TextSelectionEvent) overload

Source

fn get_on_value_changed(self) -> TMP_InputField_OnChangeEvent

get_onValueChanged() overload

Source

fn set_on_value_changed(self, value: impl Into<TMP_InputField_OnChangeEvent>)

set_onValueChanged(crate::tm_pro::tmp_inputfield::TMP_InputField_OnChangeEvent) overload

Source

fn get_on_touch_screen_keyboard_status_changed( self, ) -> TMP_InputField_TouchScreenKeyboardEvent

get_onTouchScreenKeyboardStatusChanged() overload

Source

fn set_on_touch_screen_keyboard_status_changed( self, value: impl Into<TMP_InputField_TouchScreenKeyboardEvent>, )

set_onTouchScreenKeyboardStatusChanged(crate::tm_pro::tmp_inputfield::TMP_InputField_TouchScreenKeyboardEvent) overload

Source

fn get_on_validate_input(self) -> TMP_InputField_OnValidateInput

get_onValidateInput() overload

Source

fn set_on_validate_input(self, value: impl Into<TMP_InputField_OnValidateInput>)

set_onValidateInput(crate::tm_pro::tmp_inputfield::TMP_InputField_OnValidateInput) overload

Source

fn get_character_limit(self) -> i32

get_characterLimit() overload

Source

fn set_character_limit(self, value: impl Into<i32>)

set_characterLimit(i32) overload

Source

fn get_point_size(self) -> f32

get_pointSize() overload

Source

fn set_point_size(self, value: impl Into<f32>)

set_pointSize(f32) overload

Source

fn get_font_asset(self) -> TMP_FontAsset

get_fontAsset() overload

Source

fn set_font_asset(self, value: impl Into<TMP_FontAsset>)

set_fontAsset(crate::tm_pro::tmp_fontasset::TMP_FontAsset) overload

Source

fn get_on_focus_select_all(self) -> bool

get_onFocusSelectAll() overload

Source

fn set_on_focus_select_all(self, value: impl Into<bool>)

set_onFocusSelectAll(bool) overload

Source

fn get_reset_on_de_activation(self) -> bool

get_resetOnDeActivation() overload

Source

fn set_reset_on_de_activation(self, value: impl Into<bool>)

set_resetOnDeActivation(bool) overload

Source

fn get_restore_original_text_on_escape(self) -> bool

get_restoreOriginalTextOnEscape() overload

Source

fn set_restore_original_text_on_escape(self, value: impl Into<bool>)

set_restoreOriginalTextOnEscape(bool) overload

Source

fn get_is_rich_text_editing_allowed(self) -> bool

get_isRichTextEditingAllowed() overload

Source

fn set_is_rich_text_editing_allowed(self, value: impl Into<bool>)

set_isRichTextEditingAllowed(bool) overload

Source

fn get_content_type(self) -> TMP_InputField_ContentType

get_contentType() overload

Source

fn set_content_type(self, value: impl Into<TMP_InputField_ContentType>)

set_contentType(crate::tm_pro::tmp_inputfield::TMP_InputField_ContentType) overload

Source

fn get_line_type(self) -> TMP_InputField_LineType

get_lineType() overload

Source

fn set_line_type(self, value: impl Into<TMP_InputField_LineType>)

set_lineType(crate::tm_pro::tmp_inputfield::TMP_InputField_LineType) overload

Source

fn get_line_limit(self) -> i32

get_lineLimit() overload

Source

fn set_line_limit(self, value: impl Into<i32>)

set_lineLimit(i32) overload

Source

fn get_input_type(self) -> TMP_InputField_InputType

get_inputType() overload

Source

fn set_input_type(self, value: impl Into<TMP_InputField_InputType>)

set_inputType(crate::tm_pro::tmp_inputfield::TMP_InputField_InputType) overload

Source

fn get_keyboard_type(self) -> TouchScreenKeyboardType

get_keyboardType() overload

Source

fn set_keyboard_type(self, value: impl Into<TouchScreenKeyboardType>)

set_keyboardType(crate::unity_engine::touchscreenkeyboardtype::TouchScreenKeyboardType) overload

Source

fn get_character_validation(self) -> TMP_InputField_CharacterValidation

get_characterValidation() overload

Source

fn set_character_validation( self, value: impl Into<TMP_InputField_CharacterValidation>, )

set_characterValidation(crate::tm_pro::tmp_inputfield::TMP_InputField_CharacterValidation) overload

Source

fn get_input_validator(self) -> TMP_InputValidator

get_inputValidator() overload

Source

fn set_input_validator(self, value: impl Into<TMP_InputValidator>)

set_inputValidator(crate::tm_pro::tmp_inputvalidator::TMP_InputValidator) overload

Source

fn get_read_only(self) -> bool

get_readOnly() overload

Source

fn set_read_only(self, value: impl Into<bool>)

set_readOnly(bool) overload

Source

fn get_rich_text(self) -> bool

get_richText() overload

Source

fn set_rich_text(self, value: impl Into<bool>)

set_richText(bool) overload

Source

fn get_multi_line(self) -> bool

get_multiLine() overload

Source

fn get_asterisk_char(self) -> u16

get_asteriskChar() overload

Source

fn set_asterisk_char(self, value: impl Into<u16>)

set_asteriskChar(u16) overload

Source

fn get_was_canceled(self) -> bool

get_wasCanceled() overload

Source

fn clamp_string_pos(self) -> i32

ClampStringPos(*muti32) overload

Source

fn clamp_caret_pos(self) -> i32

ClampCaretPos(*muti32) overload

Source

fn get_caret_position_internal(self) -> i32

get_caretPositionInternal() overload

Source

fn set_caret_position_internal(self, value: impl Into<i32>)

set_caretPositionInternal(i32) overload

Source

fn get_string_position_internal(self) -> i32

get_stringPositionInternal() overload

Source

fn set_string_position_internal(self, value: impl Into<i32>)

set_stringPositionInternal(i32) overload

Source

fn get_caret_select_position_internal(self) -> i32

get_caretSelectPositionInternal() overload

Source

fn set_caret_select_position_internal(self, value: impl Into<i32>)

set_caretSelectPositionInternal(i32) overload

Source

fn get_string_select_position_internal(self) -> i32

get_stringSelectPositionInternal() overload

Source

fn set_string_select_position_internal(self, value: impl Into<i32>)

set_stringSelectPositionInternal(i32) overload

Source

fn get_has_selection(self) -> bool

get_hasSelection() overload

Source

fn get_caret_position(self) -> i32

get_caretPosition() overload

Source

fn set_caret_position(self, value: impl Into<i32>)

set_caretPosition(i32) overload

Source

fn get_selection_anchor_position(self) -> i32

get_selectionAnchorPosition() overload

Source

fn set_selection_anchor_position(self, value: impl Into<i32>)

set_selectionAnchorPosition(i32) overload

Source

fn get_selection_focus_position(self) -> i32

get_selectionFocusPosition() overload

Source

fn set_selection_focus_position(self, value: impl Into<i32>)

set_selectionFocusPosition(i32) overload

Source

fn get_string_position(self) -> i32

get_stringPosition() overload

Source

fn set_string_position(self, value: impl Into<i32>)

set_stringPosition(i32) overload

Source

fn get_selection_string_anchor_position(self) -> i32

get_selectionStringAnchorPosition() overload

Source

fn set_selection_string_anchor_position(self, value: impl Into<i32>)

set_selectionStringAnchorPosition(i32) overload

Source

fn get_selection_string_focus_position(self) -> i32

get_selectionStringFocusPosition() overload

Source

fn set_selection_string_focus_position(self, value: impl Into<i32>)

set_selectionStringFocusPosition(i32) overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn on_text_changed(self, obj: impl Into<Object_2>)

ON_TEXT_CHANGED(crate::unity_engine::object_2::Object_2) overload

CaretBlink() overload

Source

fn set_caret_visible(self)

SetCaretVisible() overload

Source

fn set_caret_active(self)

SetCaretActive() overload

Source

fn on_focus(self)

OnFocus() overload

Source

fn select_all(self)

SelectAll() overload

Source

fn move_text_end(self, shift: impl Into<bool>)

MoveTextEnd(bool) overload

Source

fn move_text_start(self, shift: impl Into<bool>)

MoveTextStart(bool) overload

Source

fn move_to_end_of_line(self, shift: impl Into<bool>, ctrl: impl Into<bool>)

MoveToEndOfLine(bool, bool) overload

Source

fn move_to_start_of_line(self, shift: impl Into<bool>, ctrl: impl Into<bool>)

MoveToStartOfLine(bool, bool) overload

Source

fn in_place_editing(self) -> bool

InPlaceEditing() overload

Source

fn update_string_position_from_keyboard(self)

UpdateStringPositionFromKeyboard() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn may_drag(self, event_data: impl Into<PointerEventData>) -> bool

MayDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn on_begin_drag(self, event_data: impl Into<PointerEventData>)

OnBeginDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn on_drag(self, event_data: impl Into<PointerEventData>)

OnDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn mouse_drag_outside_rect( self, event_data: impl Into<PointerEventData>, ) -> IEnumerator

MouseDragOutsideRect(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn on_end_drag(self, event_data: impl Into<PointerEventData>)

OnEndDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn on_pointer_down(self, event_data: impl Into<PointerEventData>)

OnPointerDown(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn key_pressed(self, evt: impl Into<Event>) -> TMP_InputField_EditState

KeyPressed(crate::unity_engine::event::Event) overload

Source

fn is_valid_char(self, c: impl Into<u16>) -> bool

IsValidChar(u16) overload

Source

fn process_event(self, e: impl Into<Event>)

ProcessEvent(crate::unity_engine::event::Event) overload

Source

fn on_update_selected(self, event_data: impl Into<BaseEventData>)

OnUpdateSelected(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload

Source

fn on_scroll(self, event_data: impl Into<PointerEventData>)

OnScroll(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn get_scroll_position_relative_to_viewport(self) -> f32

GetScrollPositionRelativeToViewport() overload

Source

fn get_selected_string(self) -> Il2CppString

GetSelectedString() overload

Source

fn find_next_word_begin(self) -> i32

FindNextWordBegin() overload

Source

fn move_right(self, shift: impl Into<bool>, ctrl: impl Into<bool>)

MoveRight(bool, bool) overload

Source

fn find_prev_word_begin(self) -> i32

FindPrevWordBegin() overload

Source

fn move_left(self, shift: impl Into<bool>, ctrl: impl Into<bool>)

MoveLeft(bool, bool) overload

Source

fn line_up_character_position( self, original_pos: impl Into<i32>, go_to_first_char: impl Into<bool>, ) -> i32

LineUpCharacterPosition(i32, bool) overload

Source

fn line_down_character_position( self, original_pos: impl Into<i32>, go_to_last_char: impl Into<bool>, ) -> i32

LineDownCharacterPosition(i32, bool) overload

Source

fn page_up_character_position( self, original_pos: impl Into<i32>, go_to_first_char: impl Into<bool>, ) -> i32

PageUpCharacterPosition(i32, bool) overload

Source

fn page_down_character_position( self, original_pos: impl Into<i32>, go_to_last_char: impl Into<bool>, ) -> i32

PageDownCharacterPosition(i32, bool) overload

Source

fn move_down(self, shift: impl Into<bool>)

MoveDown(bool) overload

Source

fn move_down_2(self, shift: impl Into<bool>, go_to_last_char: impl Into<bool>)

MoveDown(bool, bool) overload

Source

fn move_up(self, shift: impl Into<bool>)

MoveUp(bool) overload

Source

fn move_up_2(self, shift: impl Into<bool>, go_to_first_char: impl Into<bool>)

MoveUp(bool, bool) overload

Source

fn move_page_up(self, shift: impl Into<bool>)

MovePageUp(bool) overload

Source

fn move_page_up_2( self, shift: impl Into<bool>, go_to_first_char: impl Into<bool>, )

MovePageUp(bool, bool) overload

Source

fn move_page_down(self, shift: impl Into<bool>)

MovePageDown(bool) overload

Source

fn move_page_down_2( self, shift: impl Into<bool>, go_to_last_char: impl Into<bool>, )

MovePageDown(bool, bool) overload

Source

fn delete(self)

Delete() overload

Source

fn delete_key(self)

DeleteKey() overload

Source

fn backspace(self)

Backspace() overload

Source

fn append(self, input: impl Into<Il2CppString>)

Append(::unity::Il2CppString) overload

Source

fn append_2(self, input: impl Into<u16>)

Append(u16) overload

Source

fn insert(self, c: impl Into<u16>)

Insert(u16) overload

Source

fn update_touch_keyboard_from_edit_changes(self)

UpdateTouchKeyboardFromEditChanges() overload

Source

fn send_on_value_changed_and_update_label(self)

SendOnValueChangedAndUpdateLabel() overload

Source

fn send_on_value_changed(self)

SendOnValueChanged() overload

Source

fn send_on_end_edit(self)

SendOnEndEdit() overload

Source

fn send_on_submit(self)

SendOnSubmit() overload

Source

fn send_on_focus(self)

SendOnFocus() overload

Source

fn send_on_focus_lost(self)

SendOnFocusLost() overload

Source

fn send_on_text_selection(self)

SendOnTextSelection() overload

Source

fn send_on_end_text_selection(self)

SendOnEndTextSelection() overload

Source

fn send_touch_screen_keyboard_status_changed(self)

SendTouchScreenKeyboardStatusChanged() overload

Source

fn update_label(self)

UpdateLabel() overload

Source

fn update_scrollbar(self)

UpdateScrollbar() overload

Source

fn on_scrollbar_value_change(self, value: impl Into<f32>)

OnScrollbarValueChange(f32) overload

Source

fn update_mask_regions(self)

UpdateMaskRegions() overload

Source

fn adjust_text_position_relative_to_viewport( self, relative_position: impl Into<f32>, )

AdjustTextPositionRelativeToViewport(f32) overload

Source

fn get_caret_position_from_string_index( self, string_index: impl Into<i32>, ) -> i32

GetCaretPositionFromStringIndex(i32) overload

Source

fn get_min_caret_position_from_string_index( self, string_index: impl Into<i32>, ) -> i32

GetMinCaretPositionFromStringIndex(i32) overload

Source

fn get_max_caret_position_from_string_index( self, string_index: impl Into<i32>, ) -> i32

GetMaxCaretPositionFromStringIndex(i32) overload

Source

fn get_string_index_from_caret_position( self, caret_position: impl Into<i32>, ) -> i32

GetStringIndexFromCaretPosition(i32) overload

Source

fn force_label_update(self)

ForceLabelUpdate() overload

Source

fn mark_geometry_as_dirty(self)

MarkGeometryAsDirty() overload

Source

fn rebuild(self, update: impl Into<CanvasUpdate>)

Rebuild(crate::unity_engine::ui::canvasupdate::CanvasUpdate) overload

Source

fn layout_complete(self)

LayoutComplete() overload

Source

fn graphic_update_complete(self)

GraphicUpdateComplete() overload

Source

fn update_geometry(self)

UpdateGeometry() overload

Source

fn assign_positioning_if_needed(self)

AssignPositioningIfNeeded() overload

Source

fn on_fill_vbo(self, vbo: impl Into<Mesh>)

OnFillVBO(crate::unity_engine::mesh::Mesh) overload

Source

fn generate_caret( self, vbo: impl Into<VertexHelper>, rounding_offset: impl Into<Vector2>, )

GenerateCaret(crate::unity_engine::ui::vertexhelper::VertexHelper, crate::unity_engine::vector2::Vector2) overload

Source

fn create_cursor_verts(self)

CreateCursorVerts() overload

Source

fn generate_hightlight( self, vbo: impl Into<VertexHelper>, rounding_offset: impl Into<Vector2>, )

GenerateHightlight(crate::unity_engine::ui::vertexhelper::VertexHelper, crate::unity_engine::vector2::Vector2) overload

Source

fn adjust_rect_transform_relative_to_viewport( self, start_position: impl Into<Vector2>, height: impl Into<f32>, is_char_visible: impl Into<bool>, )

AdjustRectTransformRelativeToViewport(crate::unity_engine::vector2::Vector2, f32, bool) overload

Source

fn validate( self, text: impl Into<Il2CppString>, pos: impl Into<i32>, ch: impl Into<u16>, ) -> u16

Validate(::unity::Il2CppString, i32, u16) overload

Source

fn activate_input_field(self)

ActivateInputField() overload

Source

fn activate_input_field_internal(self)

ActivateInputFieldInternal() overload

Source

fn on_select(self, event_data: impl Into<BaseEventData>)

OnSelect(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload

Source

fn on_pointer_click(self, event_data: impl Into<PointerEventData>)

OnPointerClick(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload

Source

fn on_control_click(self)

OnControlClick() overload

Source

fn release_selection(self)

ReleaseSelection() overload

Source

fn deactivate_input_field(self, clear_selection: impl Into<bool>)

DeactivateInputField(bool) overload

Source

fn on_deselect(self, event_data: impl Into<BaseEventData>)

OnDeselect(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload

Source

fn on_submit(self, event_data: impl Into<BaseEventData>)

OnSubmit(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload

Source

fn enforce_content_type(self)

EnforceContentType() overload

Source

fn set_text_component_wrap_mode(self)

SetTextComponentWrapMode() overload

Source

fn set_text_component_rich_text_mode(self)

SetTextComponentRichTextMode() overload

Source

fn set_to_custom_if_content_type_is_not( self, allowed_content_types: impl Into<Array<TMP_InputField_ContentType>>, )

SetToCustomIfContentTypeIsNot(::unity::Array<crate::tm_pro::tmp_inputfield::TMP_InputField_ContentType>) overload

Source

fn set_to_custom(self)

SetToCustom() overload

Source

fn set_to_custom_2( self, character_validation: impl Into<TMP_InputField_CharacterValidation>, )

SetToCustom(crate::tm_pro::tmp_inputfield::TMP_InputField_CharacterValidation) overload

Source

fn do_state_transition( self, state: impl Into<Selectable_SelectionState>, instant: impl Into<bool>, )

DoStateTransition(crate::unity_engine::ui::selectable::Selectable_SelectionState, bool) overload

Source

fn calculate_layout_input_horizontal(self)

CalculateLayoutInputHorizontal() overload

Source

fn calculate_layout_input_vertical(self)

CalculateLayoutInputVertical() overload

Source

fn get_min_width(self) -> f32

get_minWidth() overload

Source

fn get_preferred_width(self) -> f32

get_preferredWidth() overload

Source

fn get_flexible_width(self) -> f32

get_flexibleWidth() overload

Source

fn get_min_height(self) -> f32

get_minHeight() overload

Source

fn get_preferred_height(self) -> f32

get_preferredHeight() overload

Source

fn get_flexible_height(self) -> f32

get_flexibleHeight() overload

Source

fn get_layout_priority(self) -> i32

get_layoutPriority() overload

Source

fn set_global_point_size(self, point_size: impl Into<f32>)

SetGlobalPointSize(f32) overload

Source

fn set_global_font_asset(self, font_asset: impl Into<TMP_FontAsset>)

SetGlobalFontAsset(crate::tm_pro::tmp_fontasset::TMP_FontAsset) overload

Source

fn unity_engine_ui_i_canvas_element_get_transform(self) -> Transform

UnityEngine.UI.ICanvasElement.get_transform() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: ITMP_InputField> ITMP_InputFieldMethods for __T

Available on crate feature tm_pro-tmp_inputfield only.