pub trait IInputFieldMethods: IInputField {
Show 154 methods
// Provided methods
fn get_input(self) -> BaseInput { ... }
fn get_composition_string(self) -> Il2CppString { ... }
fn ctor(self) { ... }
fn get_mesh(self) -> Mesh { ... }
fn get_cached_input_text_generator(self) -> TextGenerator { ... }
fn set_should_hide_mobile_input(self, value: impl Into<bool>) { ... }
fn get_should_hide_mobile_input(self) -> bool { ... }
fn set_should_activate_on_select(self, value: impl Into<bool>) { ... }
fn get_should_activate_on_select(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_component(self) -> Text { ... }
fn set_text_component(self, value: impl Into<Text>) { ... }
fn get_placeholder(self) -> Graphic { ... }
fn set_placeholder(self, value: impl Into<Graphic>) { ... }
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) -> InputField_SubmitEvent { ... }
fn set_on_end_edit(self, value: impl Into<InputField_SubmitEvent>) { ... }
fn get_on_value_change(self) -> InputField_OnChangeEvent { ... }
fn set_on_value_change(self, value: impl Into<InputField_OnChangeEvent>) { ... }
fn get_on_value_changed(self) -> InputField_OnChangeEvent { ... }
fn set_on_value_changed(self, value: impl Into<InputField_OnChangeEvent>) { ... }
fn get_on_validate_input(self) -> InputField_OnValidateInput { ... }
fn set_on_validate_input(self, value: impl Into<InputField_OnValidateInput>) { ... }
fn get_character_limit(self) -> i32 { ... }
fn set_character_limit(self, value: impl Into<i32>) { ... }
fn get_content_type(self) -> InputField_ContentType { ... }
fn set_content_type(self, value: impl Into<InputField_ContentType>) { ... }
fn get_line_type(self) -> InputField_LineType { ... }
fn set_line_type(self, value: impl Into<InputField_LineType>) { ... }
fn get_input_type(self) -> InputField_InputType { ... }
fn set_input_type(self, value: impl Into<InputField_InputType>) { ... }
fn get_touch_screen_keyboard(self) -> TouchScreenKeyboard { ... }
fn get_keyboard_type(self) -> TouchScreenKeyboardType { ... }
fn set_keyboard_type(self, value: impl Into<TouchScreenKeyboardType>) { ... }
fn get_character_validation(self) -> InputField_CharacterValidation { ... }
fn set_character_validation(
self,
value: impl Into<InputField_CharacterValidation>,
) { ... }
fn get_read_only(self) -> bool { ... }
fn set_read_only(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_pos(self) -> i32 { ... }
fn get_caret_position_internal(self) -> i32 { ... }
fn set_caret_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_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 on_enable(self) { ... }
fn on_disable(self) { ... }
fn caret_blink(self) -> IEnumerator { ... }
fn set_caret_visible(self) { ... }
fn set_caret_active(self) { ... }
fn update_caret_material(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 touch_screen_keyboard_should_be_used(self) -> bool { ... }
fn in_place_editing(self) -> bool { ... }
fn in_place_editing_changed(self) -> bool { ... }
fn update_caret_from_keyboard(self) { ... }
fn late_update(self) { ... }
fn screen_to_local(self, screen: impl Into<Vector2>) -> Vector2 { ... }
fn get_unclamped_character_line_from_position(
self,
pos: impl Into<Vector2>,
generator: impl Into<TextGenerator>,
) -> i32 { ... }
fn get_character_index_from_position(self, pos: impl Into<Vector2>) -> i32 { ... }
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>) -> 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 get_selected_string(self) -> Il2CppString { ... }
fn findt_next_word_begin(self) -> i32 { ... }
fn move_right(self, shift: impl Into<bool>, ctrl: impl Into<bool>) { ... }
fn findt_prev_word_begin(self) -> i32 { ... }
fn move_left(self, shift: impl Into<bool>, ctrl: impl Into<bool>) { ... }
fn determine_character_line(
self,
char_pos: impl Into<i32>,
generator: impl Into<TextGenerator>,
) -> i32 { ... }
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 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 delete(self) { ... }
fn forward_space(self) { ... }
fn backspace(self) { ... }
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_submit(self) { ... }
fn append(self, input: impl Into<Il2CppString>) { ... }
fn append_2(self, input: impl Into<u16>) { ... }
fn update_label(self) { ... }
fn is_selection_visible(self) -> bool { ... }
fn set_draw_range_to_contain_caret_position(self, caret_pos: impl Into<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_highlight(
self,
vbo: impl Into<VertexHelper>,
rounding_offset: impl Into<Vector2>,
) { ... }
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 deactivate_input_field(self) { ... }
fn on_deselect(self, event_data: impl Into<BaseEventData>) { ... }
fn on_submit(self, event_data: impl Into<BaseEventData>) { ... }
fn enforce_content_type(self) { ... }
fn enforce_text_h_overflow(self) { ... }
fn set_to_custom_if_content_type_is_not(
self,
allowed_content_types: impl Into<Array<InputField_ContentType>>,
) { ... }
fn set_to_custom(self) { ... }
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 unity_engine_ui_i_canvas_element_get_transform(self) -> Transform { ... }
}Provided Methods§
Sourcefn get_composition_string(self) -> Il2CppString
fn get_composition_string(self) -> Il2CppString
get_compositionString() overload
Sourcefn get_cached_input_text_generator(self) -> TextGenerator
fn get_cached_input_text_generator(self) -> TextGenerator
get_cachedInputTextGenerator() overload
Sourcefn set_should_hide_mobile_input(self, value: impl Into<bool>)
fn set_should_hide_mobile_input(self, value: impl Into<bool>)
set_shouldHideMobileInput(bool) overload
Sourcefn get_should_hide_mobile_input(self) -> bool
fn get_should_hide_mobile_input(self) -> bool
get_shouldHideMobileInput() overload
Sourcefn set_should_activate_on_select(self, value: impl Into<bool>)
fn set_should_activate_on_select(self, value: impl Into<bool>)
set_shouldActivateOnSelect(bool) overload
Sourcefn get_should_activate_on_select(self) -> bool
fn get_should_activate_on_select(self) -> bool
get_shouldActivateOnSelect() overload
Sourcefn get_text(self) -> Il2CppString
fn get_text(self) -> Il2CppString
get_text() overload
Sourcefn set_text(self, value: impl Into<Il2CppString>)
fn set_text(self, value: impl Into<Il2CppString>)
set_text(::unity::Il2CppString) overload
Sourcefn set_text_without_notify(self, input: impl Into<Il2CppString>)
fn set_text_without_notify(self, input: impl Into<Il2CppString>)
SetTextWithoutNotify(::unity::Il2CppString) overload
Sourcefn set_text_2(
self,
value: impl Into<Il2CppString>,
send_callback: impl Into<bool>,
)
fn set_text_2( self, value: impl Into<Il2CppString>, send_callback: impl Into<bool>, )
SetText(::unity::Il2CppString, bool) overload
Sourcefn get_is_focused(self) -> bool
fn get_is_focused(self) -> bool
get_isFocused() overload
Sourcefn get_caret_blink_rate(self) -> f32
fn get_caret_blink_rate(self) -> f32
get_caretBlinkRate() overload
Sourcefn set_caret_blink_rate(self, value: impl Into<f32>)
fn set_caret_blink_rate(self, value: impl Into<f32>)
set_caretBlinkRate(f32) overload
Sourcefn get_caret_width(self) -> i32
fn get_caret_width(self) -> i32
get_caretWidth() overload
Sourcefn set_caret_width(self, value: impl Into<i32>)
fn set_caret_width(self, value: impl Into<i32>)
set_caretWidth(i32) overload
Sourcefn get_text_component(self) -> Text
fn get_text_component(self) -> Text
get_textComponent() overload
Sourcefn set_text_component(self, value: impl Into<Text>)
fn set_text_component(self, value: impl Into<Text>)
set_textComponent(crate::unity_engine::ui::text::Text) overload
Sourcefn get_placeholder(self) -> Graphic
fn get_placeholder(self) -> Graphic
get_placeholder() overload
Sourcefn set_placeholder(self, value: impl Into<Graphic>)
fn set_placeholder(self, value: impl Into<Graphic>)
set_placeholder(crate::unity_engine::ui::graphic::Graphic) overload
Sourcefn get_caret_color(self) -> Color
fn get_caret_color(self) -> Color
get_caretColor() overload
Sourcefn set_caret_color(self, value: impl Into<Color>)
fn set_caret_color(self, value: impl Into<Color>)
set_caretColor(crate::unity_engine::color::Color) overload
Sourcefn get_custom_caret_color(self) -> bool
fn get_custom_caret_color(self) -> bool
get_customCaretColor() overload
Sourcefn set_custom_caret_color(self, value: impl Into<bool>)
fn set_custom_caret_color(self, value: impl Into<bool>)
set_customCaretColor(bool) overload
Sourcefn get_selection_color(self) -> Color
fn get_selection_color(self) -> Color
get_selectionColor() overload
Sourcefn set_selection_color(self, value: impl Into<Color>)
fn set_selection_color(self, value: impl Into<Color>)
set_selectionColor(crate::unity_engine::color::Color) overload
Sourcefn get_on_end_edit(self) -> InputField_SubmitEvent
fn get_on_end_edit(self) -> InputField_SubmitEvent
get_onEndEdit() overload
Sourcefn set_on_end_edit(self, value: impl Into<InputField_SubmitEvent>)
fn set_on_end_edit(self, value: impl Into<InputField_SubmitEvent>)
set_onEndEdit(crate::unity_engine::ui::inputfield::InputField_SubmitEvent) overload
Sourcefn get_on_value_change(self) -> InputField_OnChangeEvent
fn get_on_value_change(self) -> InputField_OnChangeEvent
get_onValueChange() overload
Sourcefn set_on_value_change(self, value: impl Into<InputField_OnChangeEvent>)
fn set_on_value_change(self, value: impl Into<InputField_OnChangeEvent>)
set_onValueChange(crate::unity_engine::ui::inputfield::InputField_OnChangeEvent) overload
Sourcefn get_on_value_changed(self) -> InputField_OnChangeEvent
fn get_on_value_changed(self) -> InputField_OnChangeEvent
get_onValueChanged() overload
Sourcefn set_on_value_changed(self, value: impl Into<InputField_OnChangeEvent>)
fn set_on_value_changed(self, value: impl Into<InputField_OnChangeEvent>)
set_onValueChanged(crate::unity_engine::ui::inputfield::InputField_OnChangeEvent) overload
Sourcefn get_on_validate_input(self) -> InputField_OnValidateInput
fn get_on_validate_input(self) -> InputField_OnValidateInput
get_onValidateInput() overload
Sourcefn set_on_validate_input(self, value: impl Into<InputField_OnValidateInput>)
fn set_on_validate_input(self, value: impl Into<InputField_OnValidateInput>)
set_onValidateInput(crate::unity_engine::ui::inputfield::InputField_OnValidateInput) overload
Sourcefn get_character_limit(self) -> i32
fn get_character_limit(self) -> i32
get_characterLimit() overload
Sourcefn set_character_limit(self, value: impl Into<i32>)
fn set_character_limit(self, value: impl Into<i32>)
set_characterLimit(i32) overload
Sourcefn get_content_type(self) -> InputField_ContentType
fn get_content_type(self) -> InputField_ContentType
get_contentType() overload
Sourcefn set_content_type(self, value: impl Into<InputField_ContentType>)
fn set_content_type(self, value: impl Into<InputField_ContentType>)
set_contentType(crate::unity_engine::ui::inputfield::InputField_ContentType) overload
Sourcefn get_line_type(self) -> InputField_LineType
fn get_line_type(self) -> InputField_LineType
get_lineType() overload
Sourcefn set_line_type(self, value: impl Into<InputField_LineType>)
fn set_line_type(self, value: impl Into<InputField_LineType>)
set_lineType(crate::unity_engine::ui::inputfield::InputField_LineType) overload
Sourcefn get_input_type(self) -> InputField_InputType
fn get_input_type(self) -> InputField_InputType
get_inputType() overload
Sourcefn set_input_type(self, value: impl Into<InputField_InputType>)
fn set_input_type(self, value: impl Into<InputField_InputType>)
set_inputType(crate::unity_engine::ui::inputfield::InputField_InputType) overload
Sourcefn get_touch_screen_keyboard(self) -> TouchScreenKeyboard
fn get_touch_screen_keyboard(self) -> TouchScreenKeyboard
get_touchScreenKeyboard() overload
Sourcefn get_keyboard_type(self) -> TouchScreenKeyboardType
fn get_keyboard_type(self) -> TouchScreenKeyboardType
get_keyboardType() overload
Sourcefn set_keyboard_type(self, value: impl Into<TouchScreenKeyboardType>)
fn set_keyboard_type(self, value: impl Into<TouchScreenKeyboardType>)
set_keyboardType(crate::unity_engine::touchscreenkeyboardtype::TouchScreenKeyboardType) overload
Sourcefn get_character_validation(self) -> InputField_CharacterValidation
fn get_character_validation(self) -> InputField_CharacterValidation
get_characterValidation() overload
Sourcefn set_character_validation(
self,
value: impl Into<InputField_CharacterValidation>,
)
fn set_character_validation( self, value: impl Into<InputField_CharacterValidation>, )
set_characterValidation(crate::unity_engine::ui::inputfield::InputField_CharacterValidation) overload
Sourcefn get_read_only(self) -> bool
fn get_read_only(self) -> bool
get_readOnly() overload
Sourcefn set_read_only(self, value: impl Into<bool>)
fn set_read_only(self, value: impl Into<bool>)
set_readOnly(bool) overload
Sourcefn get_multi_line(self) -> bool
fn get_multi_line(self) -> bool
get_multiLine() overload
Sourcefn get_asterisk_char(self) -> u16
fn get_asterisk_char(self) -> u16
get_asteriskChar() overload
Sourcefn set_asterisk_char(self, value: impl Into<u16>)
fn set_asterisk_char(self, value: impl Into<u16>)
set_asteriskChar(u16) overload
Sourcefn get_was_canceled(self) -> bool
fn get_was_canceled(self) -> bool
get_wasCanceled() overload
Sourcefn get_caret_position_internal(self) -> i32
fn get_caret_position_internal(self) -> i32
get_caretPositionInternal() overload
Sourcefn set_caret_position_internal(self, value: impl Into<i32>)
fn set_caret_position_internal(self, value: impl Into<i32>)
set_caretPositionInternal(i32) overload
Sourcefn get_caret_select_position_internal(self) -> i32
fn get_caret_select_position_internal(self) -> i32
get_caretSelectPositionInternal() overload
Sourcefn set_caret_select_position_internal(self, value: impl Into<i32>)
fn set_caret_select_position_internal(self, value: impl Into<i32>)
set_caretSelectPositionInternal(i32) overload
Sourcefn get_has_selection(self) -> bool
fn get_has_selection(self) -> bool
get_hasSelection() overload
Sourcefn get_caret_position(self) -> i32
fn get_caret_position(self) -> i32
get_caretPosition() overload
Sourcefn set_caret_position(self, value: impl Into<i32>)
fn set_caret_position(self, value: impl Into<i32>)
set_caretPosition(i32) overload
Sourcefn get_selection_anchor_position(self) -> i32
fn get_selection_anchor_position(self) -> i32
get_selectionAnchorPosition() overload
Sourcefn set_selection_anchor_position(self, value: impl Into<i32>)
fn set_selection_anchor_position(self, value: impl Into<i32>)
set_selectionAnchorPosition(i32) overload
Sourcefn get_selection_focus_position(self) -> i32
fn get_selection_focus_position(self) -> i32
get_selectionFocusPosition() overload
Sourcefn set_selection_focus_position(self, value: impl Into<i32>)
fn set_selection_focus_position(self, value: impl Into<i32>)
set_selectionFocusPosition(i32) overload
Sourcefn on_disable(self)
fn on_disable(self)
OnDisable() overload
Sourcefn caret_blink(self) -> IEnumerator
fn caret_blink(self) -> IEnumerator
CaretBlink() overload
Sourcefn set_caret_visible(self)
fn set_caret_visible(self)
SetCaretVisible() overload
Sourcefn set_caret_active(self)
fn set_caret_active(self)
SetCaretActive() overload
Sourcefn update_caret_material(self)
fn update_caret_material(self)
UpdateCaretMaterial() overload
Sourcefn select_all(self)
fn select_all(self)
SelectAll() overload
Sourcefn move_text_end(self, shift: impl Into<bool>)
fn move_text_end(self, shift: impl Into<bool>)
MoveTextEnd(bool) overload
Sourcefn move_text_start(self, shift: impl Into<bool>)
fn move_text_start(self, shift: impl Into<bool>)
MoveTextStart(bool) overload
Sourcefn touch_screen_keyboard_should_be_used(self) -> bool
fn touch_screen_keyboard_should_be_used(self) -> bool
TouchScreenKeyboardShouldBeUsed() overload
Sourcefn in_place_editing(self) -> bool
fn in_place_editing(self) -> bool
InPlaceEditing() overload
Sourcefn in_place_editing_changed(self) -> bool
fn in_place_editing_changed(self) -> bool
InPlaceEditingChanged() overload
Sourcefn update_caret_from_keyboard(self)
fn update_caret_from_keyboard(self)
UpdateCaretFromKeyboard() overload
Sourcefn late_update(self)
fn late_update(self)
LateUpdate() overload
Sourcefn screen_to_local(self, screen: impl Into<Vector2>) -> Vector2
fn screen_to_local(self, screen: impl Into<Vector2>) -> Vector2
ScreenToLocal(crate::unity_engine::vector2::Vector2) overload
Sourcefn get_unclamped_character_line_from_position(
self,
pos: impl Into<Vector2>,
generator: impl Into<TextGenerator>,
) -> i32
fn get_unclamped_character_line_from_position( self, pos: impl Into<Vector2>, generator: impl Into<TextGenerator>, ) -> i32
GetUnclampedCharacterLineFromPosition(crate::unity_engine::vector2::Vector2, crate::unity_engine::textgenerator::TextGenerator) overload
Sourcefn get_character_index_from_position(self, pos: impl Into<Vector2>) -> i32
fn get_character_index_from_position(self, pos: impl Into<Vector2>) -> i32
GetCharacterIndexFromPosition(crate::unity_engine::vector2::Vector2) overload
Sourcefn may_drag(self, event_data: impl Into<PointerEventData>) -> bool
fn may_drag(self, event_data: impl Into<PointerEventData>) -> bool
MayDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload
Sourcefn on_begin_drag(self, event_data: impl Into<PointerEventData>)
fn on_begin_drag(self, event_data: impl Into<PointerEventData>)
OnBeginDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload
Sourcefn on_drag(self, event_data: impl Into<PointerEventData>)
fn on_drag(self, event_data: impl Into<PointerEventData>)
OnDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload
Sourcefn mouse_drag_outside_rect(
self,
event_data: impl Into<PointerEventData>,
) -> IEnumerator
fn mouse_drag_outside_rect( self, event_data: impl Into<PointerEventData>, ) -> IEnumerator
MouseDragOutsideRect(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload
Sourcefn on_end_drag(self, event_data: impl Into<PointerEventData>)
fn on_end_drag(self, event_data: impl Into<PointerEventData>)
OnEndDrag(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload
Sourcefn on_pointer_down(self, event_data: impl Into<PointerEventData>)
fn on_pointer_down(self, event_data: impl Into<PointerEventData>)
OnPointerDown(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload
Sourcefn key_pressed(self, evt: impl Into<Event>) -> InputField_EditState
fn key_pressed(self, evt: impl Into<Event>) -> InputField_EditState
KeyPressed(crate::unity_engine::event::Event) overload
Sourcefn is_valid_char(self, c: impl Into<u16>) -> bool
fn is_valid_char(self, c: impl Into<u16>) -> bool
IsValidChar(u16) overload
Sourcefn process_event(self, e: impl Into<Event>)
fn process_event(self, e: impl Into<Event>)
ProcessEvent(crate::unity_engine::event::Event) overload
Sourcefn on_update_selected(self, event_data: impl Into<BaseEventData>)
fn on_update_selected(self, event_data: impl Into<BaseEventData>)
OnUpdateSelected(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload
Sourcefn get_selected_string(self) -> Il2CppString
fn get_selected_string(self) -> Il2CppString
GetSelectedString() overload
Sourcefn findt_next_word_begin(self) -> i32
fn findt_next_word_begin(self) -> i32
FindtNextWordBegin() overload
Sourcefn move_right(self, shift: impl Into<bool>, ctrl: impl Into<bool>)
fn move_right(self, shift: impl Into<bool>, ctrl: impl Into<bool>)
MoveRight(bool, bool) overload
Sourcefn findt_prev_word_begin(self) -> i32
fn findt_prev_word_begin(self) -> i32
FindtPrevWordBegin() overload
Sourcefn move_left(self, shift: impl Into<bool>, ctrl: impl Into<bool>)
fn move_left(self, shift: impl Into<bool>, ctrl: impl Into<bool>)
MoveLeft(bool, bool) overload
Sourcefn determine_character_line(
self,
char_pos: impl Into<i32>,
generator: impl Into<TextGenerator>,
) -> i32
fn determine_character_line( self, char_pos: impl Into<i32>, generator: impl Into<TextGenerator>, ) -> i32
DetermineCharacterLine(i32, crate::unity_engine::textgenerator::TextGenerator) overload
Sourcefn line_up_character_position(
self,
original_pos: impl Into<i32>,
go_to_first_char: impl Into<bool>,
) -> i32
fn line_up_character_position( self, original_pos: impl Into<i32>, go_to_first_char: impl Into<bool>, ) -> i32
LineUpCharacterPosition(i32, bool) overload
Sourcefn line_down_character_position(
self,
original_pos: impl Into<i32>,
go_to_last_char: impl Into<bool>,
) -> i32
fn line_down_character_position( self, original_pos: impl Into<i32>, go_to_last_char: impl Into<bool>, ) -> i32
LineDownCharacterPosition(i32, bool) overload
Sourcefn move_down_2(self, shift: impl Into<bool>, go_to_last_char: impl Into<bool>)
fn move_down_2(self, shift: impl Into<bool>, go_to_last_char: impl Into<bool>)
MoveDown(bool, bool) overload
Sourcefn move_up_2(self, shift: impl Into<bool>, go_to_first_char: impl Into<bool>)
fn move_up_2(self, shift: impl Into<bool>, go_to_first_char: impl Into<bool>)
MoveUp(bool, bool) overload
Sourcefn forward_space(self)
fn forward_space(self)
ForwardSpace() overload
Sourcefn update_touch_keyboard_from_edit_changes(self)
fn update_touch_keyboard_from_edit_changes(self)
UpdateTouchKeyboardFromEditChanges() overload
Sourcefn send_on_value_changed_and_update_label(self)
fn send_on_value_changed_and_update_label(self)
SendOnValueChangedAndUpdateLabel() overload
Sourcefn send_on_value_changed(self)
fn send_on_value_changed(self)
SendOnValueChanged() overload
Sourcefn send_on_submit(self)
fn send_on_submit(self)
SendOnSubmit() overload
Sourcefn append(self, input: impl Into<Il2CppString>)
fn append(self, input: impl Into<Il2CppString>)
Append(::unity::Il2CppString) overload
Sourcefn update_label(self)
fn update_label(self)
UpdateLabel() overload
Sourcefn is_selection_visible(self) -> bool
fn is_selection_visible(self) -> bool
IsSelectionVisible() overload
Sourcefn set_draw_range_to_contain_caret_position(self, caret_pos: impl Into<i32>)
fn set_draw_range_to_contain_caret_position(self, caret_pos: impl Into<i32>)
SetDrawRangeToContainCaretPosition(i32) overload
Sourcefn force_label_update(self)
fn force_label_update(self)
ForceLabelUpdate() overload
Sourcefn mark_geometry_as_dirty(self)
fn mark_geometry_as_dirty(self)
MarkGeometryAsDirty() overload
Sourcefn rebuild(self, update: impl Into<CanvasUpdate>)
fn rebuild(self, update: impl Into<CanvasUpdate>)
Rebuild(crate::unity_engine::ui::canvasupdate::CanvasUpdate) overload
Sourcefn layout_complete(self)
fn layout_complete(self)
LayoutComplete() overload
Sourcefn graphic_update_complete(self)
fn graphic_update_complete(self)
GraphicUpdateComplete() overload
Sourcefn update_geometry(self)
fn update_geometry(self)
UpdateGeometry() overload
Sourcefn assign_positioning_if_needed(self)
fn assign_positioning_if_needed(self)
AssignPositioningIfNeeded() overload
Sourcefn on_fill_vbo(self, vbo: impl Into<Mesh>)
fn on_fill_vbo(self, vbo: impl Into<Mesh>)
OnFillVBO(crate::unity_engine::mesh::Mesh) overload
Sourcefn generate_caret(
self,
vbo: impl Into<VertexHelper>,
rounding_offset: impl Into<Vector2>,
)
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
Sourcefn create_cursor_verts(self)
fn create_cursor_verts(self)
CreateCursorVerts() overload
Sourcefn generate_highlight(
self,
vbo: impl Into<VertexHelper>,
rounding_offset: impl Into<Vector2>,
)
fn generate_highlight( self, vbo: impl Into<VertexHelper>, rounding_offset: impl Into<Vector2>, )
GenerateHighlight(crate::unity_engine::ui::vertexhelper::VertexHelper, crate::unity_engine::vector2::Vector2) overload
Sourcefn validate(
self,
text: impl Into<Il2CppString>,
pos: impl Into<i32>,
ch: impl Into<u16>,
) -> u16
fn validate( self, text: impl Into<Il2CppString>, pos: impl Into<i32>, ch: impl Into<u16>, ) -> u16
Validate(::unity::Il2CppString, i32, u16) overload
Sourcefn activate_input_field(self)
fn activate_input_field(self)
ActivateInputField() overload
Sourcefn activate_input_field_internal(self)
fn activate_input_field_internal(self)
ActivateInputFieldInternal() overload
Sourcefn on_select(self, event_data: impl Into<BaseEventData>)
fn on_select(self, event_data: impl Into<BaseEventData>)
OnSelect(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload
Sourcefn on_pointer_click(self, event_data: impl Into<PointerEventData>)
fn on_pointer_click(self, event_data: impl Into<PointerEventData>)
OnPointerClick(crate::unity_engine::event_systems::pointereventdata::PointerEventData) overload
Sourcefn deactivate_input_field(self)
fn deactivate_input_field(self)
DeactivateInputField() overload
Sourcefn on_deselect(self, event_data: impl Into<BaseEventData>)
fn on_deselect(self, event_data: impl Into<BaseEventData>)
OnDeselect(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload
Sourcefn on_submit(self, event_data: impl Into<BaseEventData>)
fn on_submit(self, event_data: impl Into<BaseEventData>)
OnSubmit(crate::unity_engine::event_systems::baseeventdata::BaseEventData) overload
Sourcefn enforce_content_type(self)
fn enforce_content_type(self)
EnforceContentType() overload
Sourcefn enforce_text_h_overflow(self)
fn enforce_text_h_overflow(self)
EnforceTextHOverflow() overload
Sourcefn set_to_custom_if_content_type_is_not(
self,
allowed_content_types: impl Into<Array<InputField_ContentType>>,
)
fn set_to_custom_if_content_type_is_not( self, allowed_content_types: impl Into<Array<InputField_ContentType>>, )
SetToCustomIfContentTypeIsNot(::unity::Array<crate::unity_engine::ui::inputfield::InputField_ContentType>) overload
Sourcefn set_to_custom(self)
fn set_to_custom(self)
SetToCustom() overload
Sourcefn do_state_transition(
self,
state: impl Into<Selectable_SelectionState>,
instant: impl Into<bool>,
)
fn do_state_transition( self, state: impl Into<Selectable_SelectionState>, instant: impl Into<bool>, )
DoStateTransition(crate::unity_engine::ui::selectable::Selectable_SelectionState, bool) overload
Sourcefn calculate_layout_input_horizontal(self)
fn calculate_layout_input_horizontal(self)
CalculateLayoutInputHorizontal() overload
Sourcefn calculate_layout_input_vertical(self)
fn calculate_layout_input_vertical(self)
CalculateLayoutInputVertical() overload
Sourcefn get_min_width(self) -> f32
fn get_min_width(self) -> f32
get_minWidth() overload
Sourcefn get_preferred_width(self) -> f32
fn get_preferred_width(self) -> f32
get_preferredWidth() overload
Sourcefn get_flexible_width(self) -> f32
fn get_flexible_width(self) -> f32
get_flexibleWidth() overload
Sourcefn get_min_height(self) -> f32
fn get_min_height(self) -> f32
get_minHeight() overload
Sourcefn get_preferred_height(self) -> f32
fn get_preferred_height(self) -> f32
get_preferredHeight() overload
Sourcefn get_flexible_height(self) -> f32
fn get_flexible_height(self) -> f32
get_flexibleHeight() overload
Sourcefn get_layout_priority(self) -> i32
fn get_layout_priority(self) -> i32
get_layoutPriority() overload
Sourcefn unity_engine_ui_i_canvas_element_get_transform(self) -> Transform
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§
impl<__T: IInputField> IInputFieldMethods for __T
unity_engine-ui-inputfield only.