Skip to main content

ITMP_TextMethods

Trait ITMP_TextMethods 

Source
pub trait ITMP_TextMethods: ITMP_Text {
Show 283 methods // Provided methods fn get_text(self) -> Il2CppString { ... } fn set_text(self, value: impl Into<Il2CppString>) { ... } fn get_text_preprocessor(self) -> ITextPreprocessor { ... } fn set_text_preprocessor(self, value: impl Into<ITextPreprocessor>) { ... } fn get_is_right_to_left_text(self) -> bool { ... } fn set_is_right_to_left_text(self, value: impl Into<bool>) { ... } fn get_font(self) -> TMP_FontAsset { ... } fn set_font(self, value: impl Into<TMP_FontAsset>) { ... } fn get_font_shared_material(self) -> Material { ... } fn set_font_shared_material(self, value: impl Into<Material>) { ... } fn get_font_shared_materials(self) -> Array<Material> { ... } fn set_font_shared_materials(self, value: impl Into<Array<Material>>) { ... } fn get_font_material(self) -> Material { ... } fn set_font_material(self, value: impl Into<Material>) { ... } fn get_font_materials(self) -> Array<Material> { ... } fn set_font_materials(self, value: impl Into<Array<Material>>) { ... } fn get_color(self) -> Color { ... } fn set_color(self, value: impl Into<Color>) { ... } fn get_alpha(self) -> f32 { ... } fn set_alpha(self, value: impl Into<f32>) { ... } fn get_enable_vertex_gradient(self) -> bool { ... } fn set_enable_vertex_gradient(self, value: impl Into<bool>) { ... } fn get_color_gradient(self) -> VertexGradient { ... } fn set_color_gradient(self, value: impl Into<VertexGradient>) { ... } fn get_color_gradient_preset(self) -> TMP_ColorGradient { ... } fn set_color_gradient_preset(self, value: impl Into<TMP_ColorGradient>) { ... } fn get_sprite_asset(self) -> TMP_SpriteAsset { ... } fn set_sprite_asset(self, value: impl Into<TMP_SpriteAsset>) { ... } fn get_tint_all_sprites(self) -> bool { ... } fn set_tint_all_sprites(self, value: impl Into<bool>) { ... } fn get_style_sheet(self) -> TMP_StyleSheet { ... } fn set_style_sheet(self, value: impl Into<TMP_StyleSheet>) { ... } fn get_text_style(self) -> TMP_Style { ... } fn set_text_style(self, value: impl Into<TMP_Style>) { ... } fn get_override_color_tags(self) -> bool { ... } fn set_override_color_tags(self, value: impl Into<bool>) { ... } fn get_face_color(self) -> Color32 { ... } fn set_face_color(self, value: impl Into<Color32>) { ... } fn get_outline_color(self) -> Color32 { ... } fn set_outline_color(self, value: impl Into<Color32>) { ... } fn get_outline_width(self) -> f32 { ... } fn set_outline_width(self, value: impl Into<f32>) { ... } fn get_font_size(self) -> f32 { ... } fn set_font_size(self, value: impl Into<f32>) { ... } fn get_font_weight(self) -> FontWeight { ... } fn set_font_weight(self, value: impl Into<FontWeight>) { ... } fn get_pixels_per_unit(self) -> f32 { ... } fn get_enable_auto_sizing(self) -> bool { ... } fn set_enable_auto_sizing(self, value: impl Into<bool>) { ... } fn get_font_size_min(self) -> f32 { ... } fn set_font_size_min(self, value: impl Into<f32>) { ... } fn get_font_size_max(self) -> f32 { ... } fn set_font_size_max(self, value: impl Into<f32>) { ... } fn get_font_style(self) -> FontStyles { ... } fn set_font_style(self, value: impl Into<FontStyles>) { ... } fn get_is_using_bold(self) -> bool { ... } fn get_horizontal_alignment(self) -> HorizontalAlignmentOptions { ... } fn set_horizontal_alignment( self, value: impl Into<HorizontalAlignmentOptions>, ) { ... } fn get_vertical_alignment(self) -> VerticalAlignmentOptions { ... } fn set_vertical_alignment(self, value: impl Into<VerticalAlignmentOptions>) { ... } fn get_alignment(self) -> TextAlignmentOptions { ... } fn set_alignment(self, value: impl Into<TextAlignmentOptions>) { ... } fn get_character_spacing(self) -> f32 { ... } fn set_character_spacing(self, value: impl Into<f32>) { ... } fn get_word_spacing(self) -> f32 { ... } fn set_word_spacing(self, value: impl Into<f32>) { ... } fn get_line_spacing(self) -> f32 { ... } fn set_line_spacing(self, value: impl Into<f32>) { ... } fn get_line_spacing_adjustment(self) -> f32 { ... } fn set_line_spacing_adjustment(self, value: impl Into<f32>) { ... } fn get_paragraph_spacing(self) -> f32 { ... } fn set_paragraph_spacing(self, value: impl Into<f32>) { ... } fn get_character_width_adjustment(self) -> f32 { ... } fn set_character_width_adjustment(self, value: impl Into<f32>) { ... } fn get_enable_word_wrapping(self) -> bool { ... } fn set_enable_word_wrapping(self, value: impl Into<bool>) { ... } fn get_word_wrapping_ratios(self) -> f32 { ... } fn set_word_wrapping_ratios(self, value: impl Into<f32>) { ... } fn get_overflow_mode(self) -> TextOverflowModes { ... } fn set_overflow_mode(self, value: impl Into<TextOverflowModes>) { ... } fn get_is_text_overflowing(self) -> bool { ... } fn get_first_overflow_character_index(self) -> i32 { ... } fn get_linked_text_component(self) -> TMP_Text { ... } fn set_linked_text_component(self, value: impl Into<TMP_Text>) { ... } fn get_is_text_truncated(self) -> bool { ... } fn get_enable_kerning(self) -> bool { ... } fn set_enable_kerning(self, value: impl Into<bool>) { ... } fn get_extra_padding(self) -> bool { ... } fn set_extra_padding(self, value: impl Into<bool>) { ... } fn get_rich_text(self) -> bool { ... } fn set_rich_text(self, value: impl Into<bool>) { ... } fn get_parse_ctrl_characters(self) -> bool { ... } fn set_parse_ctrl_characters(self, value: impl Into<bool>) { ... } fn get_is_overlay(self) -> bool { ... } fn set_is_overlay(self, value: impl Into<bool>) { ... } fn get_is_orthographic(self) -> bool { ... } fn set_is_orthographic(self, value: impl Into<bool>) { ... } fn get_enable_culling(self) -> bool { ... } fn set_enable_culling(self, value: impl Into<bool>) { ... } fn get_ignore_visibility(self) -> bool { ... } fn set_ignore_visibility(self, value: impl Into<bool>) { ... } fn get_horizontal_mapping(self) -> TextureMappingOptions { ... } fn set_horizontal_mapping(self, value: impl Into<TextureMappingOptions>) { ... } fn get_vertical_mapping(self) -> TextureMappingOptions { ... } fn set_vertical_mapping(self, value: impl Into<TextureMappingOptions>) { ... } fn get_mapping_uv_line_offset(self) -> f32 { ... } fn set_mapping_uv_line_offset(self, value: impl Into<f32>) { ... } fn get_render_mode(self) -> TextRenderFlags { ... } fn set_render_mode(self, value: impl Into<TextRenderFlags>) { ... } fn get_geometry_sorting_order(self) -> VertexSortingOrder { ... } fn set_geometry_sorting_order(self, value: impl Into<VertexSortingOrder>) { ... } fn get_is_text_object_scale_static(self) -> bool { ... } fn set_is_text_object_scale_static(self, value: impl Into<bool>) { ... } fn get_vertex_buffer_auto_size_reduction(self) -> bool { ... } fn set_vertex_buffer_auto_size_reduction(self, value: impl Into<bool>) { ... } fn get_first_visible_character(self) -> i32 { ... } fn set_first_visible_character(self, value: impl Into<i32>) { ... } fn get_max_visible_characters(self) -> i32 { ... } fn set_max_visible_characters(self, value: impl Into<i32>) { ... } fn get_max_visible_words(self) -> i32 { ... } fn set_max_visible_words(self, value: impl Into<i32>) { ... } fn get_max_visible_lines(self) -> i32 { ... } fn set_max_visible_lines(self, value: impl Into<i32>) { ... } fn get_use_max_visible_descender(self) -> bool { ... } fn set_use_max_visible_descender(self, value: impl Into<bool>) { ... } fn get_page_to_display(self) -> i32 { ... } fn set_page_to_display(self, value: impl Into<i32>) { ... } fn get_margin(self) -> Vector4 { ... } fn set_margin(self, value: impl Into<Vector4>) { ... } fn get_text_info(self) -> TMP_TextInfo { ... } fn get_have_properties_changed(self) -> bool { ... } fn set_have_properties_changed(self, value: impl Into<bool>) { ... } fn get_is_using_legacy_animation_component(self) -> bool { ... } fn set_is_using_legacy_animation_component(self, value: impl Into<bool>) { ... } fn get_transform(self) -> Transform { ... } fn get_rect_transform(self) -> RectTransform { ... } fn get_auto_size_text_container(self) -> bool { ... } fn set_auto_size_text_container(self, value: impl Into<bool>) { ... } fn get_mesh(self) -> Mesh { ... } fn get_is_volumetric_text(self) -> bool { ... } fn set_is_volumetric_text(self, value: impl Into<bool>) { ... } fn get_bounds(self) -> Bounds { ... } fn get_text_bounds(self) -> Bounds { ... } fn add_on_pre_render_text(self, value: impl Into<Action_1<TMP_TextInfo>>) { ... } fn remove_on_pre_render_text(self, value: impl Into<Action_1<TMP_TextInfo>>) { ... } fn get_sprite_animator(self) -> TMP_SpriteAnimator { ... } fn get_flexible_height(self) -> f32 { ... } fn get_flexible_width(self) -> f32 { ... } fn get_min_width(self) -> f32 { ... } fn get_min_height(self) -> f32 { ... } fn get_max_width(self) -> f32 { ... } fn get_max_height(self) -> f32 { ... } fn get_layout_element(self) -> LayoutElement { ... } fn get_preferred_width(self) -> f32 { ... } fn get_preferred_height(self) -> f32 { ... } fn get_rendered_width(self) -> f32 { ... } fn get_rendered_height(self) -> f32 { ... } fn get_layout_priority(self) -> i32 { ... } fn load_font_asset(self) { ... } fn set_shared_material(self, mat: impl Into<Material>) { ... } fn get_material(self, mat: impl Into<Material>) -> Material { ... } fn set_font_base_material(self, mat: impl Into<Material>) { ... } fn get_shared_materials(self) -> Array<Material> { ... } fn set_shared_materials(self, materials: impl Into<Array<Material>>) { ... } fn get_materials(self, mats: impl Into<Array<Material>>) -> Array<Material> { ... } fn create_material_instance(self, source: impl Into<Material>) -> Material { ... } fn set_vertex_color_gradient(self, gradient: impl Into<TMP_ColorGradient>) { ... } fn set_text_sorting_order(self, order: impl Into<VertexSortingOrder>) { ... } fn set_text_sorting_order_2(self, order: impl Into<Array<i32>>) { ... } fn set_outline_thickness(self, thickness: impl Into<f32>) { ... } fn set_shader_depth(self) { ... } fn set_culling(self) { ... } fn update_culling(self) { ... } fn get_padding_for_material(self) -> f32 { ... } fn get_padding_for_material_2(self, mat: impl Into<Material>) -> f32 { ... } fn get_text_container_local_corners(self) -> Array<Vector3> { ... } fn force_mesh_update( self, ignore_active_state: impl Into<bool>, force_text_reparsing: impl Into<bool>, ) { ... } fn update_geometry(self, mesh: impl Into<Mesh>, index: impl Into<i32>) { ... } fn update_vertex_data(self, flags: impl Into<TMP_VertexDataUpdateFlags>) { ... } fn update_vertex_data_2(self) { ... } fn set_vertices(self, vertices: impl Into<Array<Vector3>>) { ... } fn update_mesh_padding(self) { ... } fn cross_fade_color( self, target_color: impl Into<Color>, duration: impl Into<f32>, ignore_time_scale: impl Into<bool>, use_alpha: impl Into<bool>, ) { ... } fn cross_fade_alpha( self, alpha: impl Into<f32>, duration: impl Into<f32>, ignore_time_scale: impl Into<bool>, ) { ... } fn internal_cross_fade_color( self, target_color: impl Into<Color>, duration: impl Into<f32>, ignore_time_scale: impl Into<bool>, use_alpha: impl Into<bool>, ) { ... } fn internal_cross_fade_alpha( self, alpha: impl Into<f32>, duration: impl Into<f32>, ignore_time_scale: impl Into<bool>, ) { ... } fn parse_input_text(self) { ... } fn populate_text_backing_array(self, source_text: impl Into<Il2CppString>) { ... } fn populate_text_backing_array_2( self, source_text: impl Into<Il2CppString>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn populate_text_backing_array_3( self, source_text: impl Into<Array<u16>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn populate_text_processing_array(self) { ... } fn set_text_internal(self, source_text: impl Into<Il2CppString>) { ... } fn set_text_2( self, source_text: impl Into<Il2CppString>, sync_text_input_box: impl Into<bool>, ) { ... } fn set_text_3( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, ) { ... } fn set_text_4( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, ) { ... } fn set_text_5( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, ) { ... } fn set_text_6( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, arg3: impl Into<f32>, ) { ... } fn set_text_7( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, arg3: impl Into<f32>, arg4: impl Into<f32>, ) { ... } fn set_text_8( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, arg3: impl Into<f32>, arg4: impl Into<f32>, arg5: impl Into<f32>, ) { ... } fn set_text_9( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, arg3: impl Into<f32>, arg4: impl Into<f32>, arg5: impl Into<f32>, arg6: impl Into<f32>, ) { ... } fn set_text_10( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, arg3: impl Into<f32>, arg4: impl Into<f32>, arg5: impl Into<f32>, arg6: impl Into<f32>, arg7: impl Into<f32>, ) { ... } fn set_text_11(self, source_text: impl Into<Array<u16>>) { ... } fn set_text_12( self, source_text: impl Into<Array<u16>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn set_char_array(self, source_text: impl Into<Array<u16>>) { ... } fn set_char_array_2( self, source_text: impl Into<Array<u16>>, start: impl Into<i32>, length: impl Into<i32>, ) { ... } fn get_style(self, hash_code: impl Into<i32>) -> TMP_Style { ... } fn replace_opening_style_tag( self, src_index: impl Into<i32>, ) -> (bool, TMP_Text_TextBackingContainer, i32, Array<TMP_Text_UnicodeChar>, i32) { ... } fn replace_opening_style_tag_2( self, src_index: impl Into<i32>, ) -> (bool, Array<i32>, i32, Array<TMP_Text_UnicodeChar>, i32) { ... } fn replace_closing_style_tag( self, src_index: impl Into<i32>, ) -> (TMP_Text_TextBackingContainer, Array<TMP_Text_UnicodeChar>, i32) { ... } fn replace_closing_style_tag_2( self, src_index: impl Into<i32>, ) -> (Array<i32>, Array<TMP_Text_UnicodeChar>, i32) { ... } fn insert_opening_style_tag( self, style: impl Into<TMP_Style>, src_index: impl Into<i32>, ) -> (bool, Array<TMP_Text_UnicodeChar>, i32) { ... } fn insert_closing_style_tag(self) -> (Array<TMP_Text_UnicodeChar>, i32) { ... } fn get_markup_tag_hash_code( self, tag_definition: impl Into<Array<i32>>, read_index: impl Into<i32>, ) -> i32 { ... } fn get_markup_tag_hash_code_2( self, tag_definition: impl Into<TMP_Text_TextBackingContainer>, read_index: impl Into<i32>, ) -> i32 { ... } fn get_style_hash_code( self, index: impl Into<i32>, ) -> (i32, Array<i32>, i32) { ... } fn get_style_hash_code_2( self, index: impl Into<i32>, ) -> (i32, TMP_Text_TextBackingContainer, i32) { ... } fn resize_internal_array<M0: IlType + Copy + ClassIdentity>( self, array: impl Into<*mut Array<M0>>, ) { ... } fn resize_internal_array_2<M0: IlType + Copy + ClassIdentity>( self, array: impl Into<*mut Array<M0>>, size: impl Into<i32>, ) { ... } fn add_float_to_internal_text_backing_array( self, value: impl Into<f32>, padding: impl Into<i32>, precision: impl Into<i32>, ) -> i32 { ... } fn add_integer_to_internal_text_backing_array( self, number: impl Into<f64>, padding: impl Into<i32>, ) -> i32 { ... } fn internal_text_backing_array_to_string(self) -> Il2CppString { ... } fn set_array_sizes( self, unicode_chars: impl Into<Array<TMP_Text_UnicodeChar>>, ) -> i32 { ... } fn get_preferred_values(self) -> Vector2 { ... } fn get_preferred_values_2( self, width: impl Into<f32>, height: impl Into<f32>, ) -> Vector2 { ... } fn get_preferred_values_3(self, text: impl Into<Il2CppString>) -> Vector2 { ... } fn get_preferred_values_4( self, text: impl Into<Il2CppString>, width: impl Into<f32>, height: impl Into<f32>, ) -> Vector2 { ... } fn get_preferred_width_2(self, margin: impl Into<Vector2>) -> f32 { ... } fn get_preferred_height_2(self, margin: impl Into<Vector2>) -> f32 { ... } fn get_rendered_values(self) -> Vector2 { ... } fn get_rendered_values_2( self, only_visible_characters: impl Into<bool>, ) -> Vector2 { ... } fn get_rendered_width_2( self, only_visible_characters: impl Into<bool>, ) -> f32 { ... } fn get_rendered_height_2( self, only_visible_characters: impl Into<bool>, ) -> f32 { ... } fn calculate_preferred_values( self, margin_size: impl Into<Vector2>, is_text_auto_sizing_enabled: impl Into<bool>, is_word_wrapping_enabled: impl Into<bool>, ) -> (Vector2, f32) { ... } fn get_compound_bounds(self) -> Bounds { ... } fn get_canvas_space_clipping_rect(self) -> Rect { ... } fn get_text_bounds_2( self, only_visible_characters: impl Into<bool>, ) -> Bounds { ... } fn adjust_line_offset( self, start_index: impl Into<i32>, end_index: impl Into<i32>, offset: impl Into<f32>, ) { ... } fn resize_line_extents(self, size: impl Into<i32>) { ... } fn get_text_info_2(self, text: impl Into<Il2CppString>) -> TMP_TextInfo { ... } fn compute_margin_size(self) { ... } fn insert_new_line( self, i: impl Into<i32>, base_scale: impl Into<f32>, current_element_scale: impl Into<f32>, current_em_scale: impl Into<f32>, glyph_adjustment: impl Into<f32>, bold_spacing_adjustment: impl Into<f32>, character_spacing_adjustment: impl Into<f32>, width: impl Into<f32>, line_gap: impl Into<f32>, ) -> (bool, f32) { ... } fn save_word_wrapping_state( self, index: impl Into<i32>, count: impl Into<i32>, ) -> WordWrapState { ... } fn restore_word_wrapping_state(self) -> (i32, WordWrapState) { ... } fn save_glyph_vertex_info( self, padding: impl Into<f32>, style_padding: impl Into<f32>, vertex_color: impl Into<Color32>, ) { ... } fn save_sprite_vertex_info(self, vertex_color: impl Into<Color32>) { ... } fn fill_character_vertex_buffers( self, i: impl Into<i32>, index_x4: impl Into<i32>, ) { ... } fn fill_character_vertex_buffers_2( self, i: impl Into<i32>, index_x4: impl Into<i32>, is_volumetric: impl Into<bool>, ) { ... } fn fill_sprite_vertex_buffers( self, i: impl Into<i32>, index_x4: impl Into<i32>, ) { ... } fn draw_underline_mesh( self, start: impl Into<Vector3>, end: impl Into<Vector3>, start_scale: impl Into<f32>, end_scale: impl Into<f32>, max_scale: impl Into<f32>, sdf_scale: impl Into<f32>, underline_color: impl Into<Color32>, ) -> i32 { ... } fn draw_text_highlight( self, start: impl Into<Vector3>, end: impl Into<Vector3>, highlight_color: impl Into<Color32>, ) -> i32 { ... } fn load_default_settings(self) { ... } fn get_special_characters(self, font_asset: impl Into<TMP_FontAsset>) { ... } fn get_ellipsis_special_character( self, font_asset: impl Into<TMP_FontAsset>, ) { ... } fn get_underline_special_character( self, font_asset: impl Into<TMP_FontAsset>, ) { ... } fn replace_tag_with_character( self, chars: impl Into<Array<i32>>, insertion_index: impl Into<i32>, tag_length: impl Into<i32>, c: impl Into<u16>, ) { ... } fn get_font_asset_for_weight( self, font_weight: impl Into<i32>, ) -> TMP_FontAsset { ... } fn get_text_element( self, unicode: impl Into<u32>, font_asset: impl Into<TMP_FontAsset>, font_style: impl Into<FontStyles>, font_weight: impl Into<FontWeight>, ) -> (TMP_TextElement, bool) { ... } fn set_active_sub_meshes(self, state: impl Into<bool>) { ... } fn destroy_sub_mesh_objects(self) { ... } fn clear_mesh(self) { ... } fn clear_mesh_2(self, upload_geometry: impl Into<bool>) { ... } fn get_parsed_text(self) -> Il2CppString { ... } fn is_self_or_linked_ancestor( self, target_text_component: impl Into<TMP_Text>, ) -> bool { ... } fn release_linked_text_component( self, target_text_component: impl Into<TMP_Text>, ) { ... } fn pack_uv( self, x: impl Into<f32>, y: impl Into<f32>, scale: impl Into<f32>, ) -> Vector2 { ... } fn pack_uv_2(self, x: impl Into<f32>, y: impl Into<f32>) -> f32 { ... } fn internal_update(self) { ... } fn hex_to_int(self, hex: impl Into<u16>) -> i32 { ... } fn get_utf16(self, text: impl Into<Il2CppString>, i: impl Into<i32>) -> i32 { ... } fn get_utf16_2(self, text: impl Into<Array<i32>>, i: impl Into<i32>) -> i32 { ... } fn get_utf16_3(self, text: impl Into<Array<u32>>, i: impl Into<i32>) -> i32 { ... } fn get_utf16_4( self, text: impl Into<TMP_Text_TextBackingContainer>, i: impl Into<i32>, ) -> i32 { ... } fn get_utf32(self, text: impl Into<Il2CppString>, i: impl Into<i32>) -> i32 { ... } fn get_utf32_2(self, text: impl Into<Array<i32>>, i: impl Into<i32>) -> i32 { ... } fn get_utf32_3(self, text: impl Into<Array<u32>>, i: impl Into<i32>) -> i32 { ... } fn get_utf32_4( self, text: impl Into<TMP_Text_TextBackingContainer>, i: impl Into<i32>, ) -> i32 { ... } fn hex_chars_to_color( self, hex_chars: impl Into<Array<u16>>, tag_count: impl Into<i32>, ) -> Color32 { ... } fn hex_chars_to_color_2( self, hex_chars: impl Into<Array<u16>>, start_index: impl Into<i32>, length: impl Into<i32>, ) -> Color32 { ... } fn get_attribute_parameters( self, chars: impl Into<Array<u16>>, start_index: impl Into<i32>, length: impl Into<i32>, ) -> (i32, Array<f32>) { ... } fn convert_to_float( self, chars: impl Into<Array<u16>>, start_index: impl Into<i32>, length: impl Into<i32>, ) -> f32 { ... } fn convert_to_float_2( self, chars: impl Into<Array<u16>>, start_index: impl Into<i32>, length: impl Into<i32>, ) -> (f32, i32) { ... } fn validate_html_tag( self, chars: impl Into<Array<TMP_Text_UnicodeChar>>, start_index: impl Into<i32>, ) -> (bool, i32) { ... } fn ctor(self) { ... }
}

Provided Methods§

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 get_text_preprocessor(self) -> ITextPreprocessor

get_textPreprocessor() overload

Source

fn set_text_preprocessor(self, value: impl Into<ITextPreprocessor>)

set_textPreprocessor(crate::tm_pro::itextpreprocessor::ITextPreprocessor) overload

Source

fn get_is_right_to_left_text(self) -> bool

get_isRightToLeftText() overload

Source

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

set_isRightToLeftText(bool) overload

Source

fn get_font(self) -> TMP_FontAsset

get_font() overload

Source

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

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

Source

fn get_font_shared_material(self) -> Material

get_fontSharedMaterial() overload

Source

fn set_font_shared_material(self, value: impl Into<Material>)

set_fontSharedMaterial(crate::unity_engine::material::Material) overload

Source

fn get_font_shared_materials(self) -> Array<Material>

get_fontSharedMaterials() overload

Source

fn set_font_shared_materials(self, value: impl Into<Array<Material>>)

set_fontSharedMaterials(::unity::Array<crate::unity_engine::material::Material>) overload

Source

fn get_font_material(self) -> Material

get_fontMaterial() overload

Source

fn set_font_material(self, value: impl Into<Material>)

set_fontMaterial(crate::unity_engine::material::Material) overload

Source

fn get_font_materials(self) -> Array<Material>

get_fontMaterials() overload

Source

fn set_font_materials(self, value: impl Into<Array<Material>>)

set_fontMaterials(::unity::Array<crate::unity_engine::material::Material>) overload

Source

fn get_color(self) -> Color

get_color() overload

Source

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

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

Source

fn get_alpha(self) -> f32

get_alpha() overload

Source

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

set_alpha(f32) overload

Source

fn get_enable_vertex_gradient(self) -> bool

get_enableVertexGradient() overload

Source

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

set_enableVertexGradient(bool) overload

Source

fn get_color_gradient(self) -> VertexGradient

get_colorGradient() overload

Source

fn set_color_gradient(self, value: impl Into<VertexGradient>)

set_colorGradient(crate::tm_pro::vertexgradient::VertexGradient) overload

Source

fn get_color_gradient_preset(self) -> TMP_ColorGradient

get_colorGradientPreset() overload

Source

fn set_color_gradient_preset(self, value: impl Into<TMP_ColorGradient>)

set_colorGradientPreset(crate::tm_pro::tmp_colorgradient::TMP_ColorGradient) overload

Source

fn get_sprite_asset(self) -> TMP_SpriteAsset

get_spriteAsset() overload

Source

fn set_sprite_asset(self, value: impl Into<TMP_SpriteAsset>)

set_spriteAsset(crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset) overload

Source

fn get_tint_all_sprites(self) -> bool

get_tintAllSprites() overload

Source

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

set_tintAllSprites(bool) overload

Source

fn get_style_sheet(self) -> TMP_StyleSheet

get_styleSheet() overload

Source

fn set_style_sheet(self, value: impl Into<TMP_StyleSheet>)

set_styleSheet(crate::tm_pro::tmp_stylesheet::TMP_StyleSheet) overload

Source

fn get_text_style(self) -> TMP_Style

get_textStyle() overload

Source

fn set_text_style(self, value: impl Into<TMP_Style>)

set_textStyle(crate::tm_pro::tmp_style::TMP_Style) overload

Source

fn get_override_color_tags(self) -> bool

get_overrideColorTags() overload

Source

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

set_overrideColorTags(bool) overload

Source

fn get_face_color(self) -> Color32

get_faceColor() overload

Source

fn set_face_color(self, value: impl Into<Color32>)

set_faceColor(crate::unity_engine::color32::Color32) overload

Source

fn get_outline_color(self) -> Color32

get_outlineColor() overload

Source

fn set_outline_color(self, value: impl Into<Color32>)

set_outlineColor(crate::unity_engine::color32::Color32) overload

Source

fn get_outline_width(self) -> f32

get_outlineWidth() overload

Source

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

set_outlineWidth(f32) overload

Source

fn get_font_size(self) -> f32

get_fontSize() overload

Source

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

set_fontSize(f32) overload

Source

fn get_font_weight(self) -> FontWeight

get_fontWeight() overload

Source

fn set_font_weight(self, value: impl Into<FontWeight>)

set_fontWeight(crate::tm_pro::fontweight::FontWeight) overload

Source

fn get_pixels_per_unit(self) -> f32

get_pixelsPerUnit() overload

Source

fn get_enable_auto_sizing(self) -> bool

get_enableAutoSizing() overload

Source

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

set_enableAutoSizing(bool) overload

Source

fn get_font_size_min(self) -> f32

get_fontSizeMin() overload

Source

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

set_fontSizeMin(f32) overload

Source

fn get_font_size_max(self) -> f32

get_fontSizeMax() overload

Source

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

set_fontSizeMax(f32) overload

Source

fn get_font_style(self) -> FontStyles

get_fontStyle() overload

Source

fn set_font_style(self, value: impl Into<FontStyles>)

set_fontStyle(crate::tm_pro::fontstyles::FontStyles) overload

Source

fn get_is_using_bold(self) -> bool

get_isUsingBold() overload

Source

fn get_horizontal_alignment(self) -> HorizontalAlignmentOptions

get_horizontalAlignment() overload

Source

fn set_horizontal_alignment(self, value: impl Into<HorizontalAlignmentOptions>)

set_horizontalAlignment(crate::tm_pro::horizontalalignmentoptions::HorizontalAlignmentOptions) overload

Source

fn get_vertical_alignment(self) -> VerticalAlignmentOptions

get_verticalAlignment() overload

Source

fn set_vertical_alignment(self, value: impl Into<VerticalAlignmentOptions>)

set_verticalAlignment(crate::tm_pro::verticalalignmentoptions::VerticalAlignmentOptions) overload

Source

fn get_alignment(self) -> TextAlignmentOptions

get_alignment() overload

Source

fn set_alignment(self, value: impl Into<TextAlignmentOptions>)

set_alignment(crate::tm_pro::textalignmentoptions::TextAlignmentOptions) overload

Source

fn get_character_spacing(self) -> f32

get_characterSpacing() overload

Source

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

set_characterSpacing(f32) overload

Source

fn get_word_spacing(self) -> f32

get_wordSpacing() overload

Source

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

set_wordSpacing(f32) overload

Source

fn get_line_spacing(self) -> f32

get_lineSpacing() overload

Source

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

set_lineSpacing(f32) overload

Source

fn get_line_spacing_adjustment(self) -> f32

get_lineSpacingAdjustment() overload

Source

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

set_lineSpacingAdjustment(f32) overload

Source

fn get_paragraph_spacing(self) -> f32

get_paragraphSpacing() overload

Source

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

set_paragraphSpacing(f32) overload

Source

fn get_character_width_adjustment(self) -> f32

get_characterWidthAdjustment() overload

Source

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

set_characterWidthAdjustment(f32) overload

Source

fn get_enable_word_wrapping(self) -> bool

get_enableWordWrapping() overload

Source

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

set_enableWordWrapping(bool) overload

Source

fn get_word_wrapping_ratios(self) -> f32

get_wordWrappingRatios() overload

Source

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

set_wordWrappingRatios(f32) overload

Source

fn get_overflow_mode(self) -> TextOverflowModes

get_overflowMode() overload

Source

fn set_overflow_mode(self, value: impl Into<TextOverflowModes>)

set_overflowMode(crate::tm_pro::textoverflowmodes::TextOverflowModes) overload

Source

fn get_is_text_overflowing(self) -> bool

get_isTextOverflowing() overload

Source

fn get_first_overflow_character_index(self) -> i32

get_firstOverflowCharacterIndex() overload

Source

fn get_linked_text_component(self) -> TMP_Text

get_linkedTextComponent() overload

Source

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

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

Source

fn get_is_text_truncated(self) -> bool

get_isTextTruncated() overload

Source

fn get_enable_kerning(self) -> bool

get_enableKerning() overload

Source

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

set_enableKerning(bool) overload

Source

fn get_extra_padding(self) -> bool

get_extraPadding() overload

Source

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

set_extraPadding(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_parse_ctrl_characters(self) -> bool

get_parseCtrlCharacters() overload

Source

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

set_parseCtrlCharacters(bool) overload

Source

fn get_is_overlay(self) -> bool

get_isOverlay() overload

Source

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

set_isOverlay(bool) overload

Source

fn get_is_orthographic(self) -> bool

get_isOrthographic() overload

Source

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

set_isOrthographic(bool) overload

Source

fn get_enable_culling(self) -> bool

get_enableCulling() overload

Source

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

set_enableCulling(bool) overload

Source

fn get_ignore_visibility(self) -> bool

get_ignoreVisibility() overload

Source

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

set_ignoreVisibility(bool) overload

Source

fn get_horizontal_mapping(self) -> TextureMappingOptions

get_horizontalMapping() overload

Source

fn set_horizontal_mapping(self, value: impl Into<TextureMappingOptions>)

set_horizontalMapping(crate::tm_pro::texturemappingoptions::TextureMappingOptions) overload

Source

fn get_vertical_mapping(self) -> TextureMappingOptions

get_verticalMapping() overload

Source

fn set_vertical_mapping(self, value: impl Into<TextureMappingOptions>)

set_verticalMapping(crate::tm_pro::texturemappingoptions::TextureMappingOptions) overload

Source

fn get_mapping_uv_line_offset(self) -> f32

get_mappingUvLineOffset() overload

Source

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

set_mappingUvLineOffset(f32) overload

Source

fn get_render_mode(self) -> TextRenderFlags

get_renderMode() overload

Source

fn set_render_mode(self, value: impl Into<TextRenderFlags>)

set_renderMode(crate::tm_pro::textrenderflags::TextRenderFlags) overload

Source

fn get_geometry_sorting_order(self) -> VertexSortingOrder

get_geometrySortingOrder() overload

Source

fn set_geometry_sorting_order(self, value: impl Into<VertexSortingOrder>)

set_geometrySortingOrder(crate::tm_pro::vertexsortingorder::VertexSortingOrder) overload

Source

fn get_is_text_object_scale_static(self) -> bool

get_isTextObjectScaleStatic() overload

Source

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

set_isTextObjectScaleStatic(bool) overload

Source

fn get_vertex_buffer_auto_size_reduction(self) -> bool

get_vertexBufferAutoSizeReduction() overload

Source

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

set_vertexBufferAutoSizeReduction(bool) overload

Source

fn get_first_visible_character(self) -> i32

get_firstVisibleCharacter() overload

Source

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

set_firstVisibleCharacter(i32) overload

Source

fn get_max_visible_characters(self) -> i32

get_maxVisibleCharacters() overload

Source

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

set_maxVisibleCharacters(i32) overload

Source

fn get_max_visible_words(self) -> i32

get_maxVisibleWords() overload

Source

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

set_maxVisibleWords(i32) overload

Source

fn get_max_visible_lines(self) -> i32

get_maxVisibleLines() overload

Source

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

set_maxVisibleLines(i32) overload

Source

fn get_use_max_visible_descender(self) -> bool

get_useMaxVisibleDescender() overload

Source

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

set_useMaxVisibleDescender(bool) overload

Source

fn get_page_to_display(self) -> i32

get_pageToDisplay() overload

Source

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

set_pageToDisplay(i32) overload

Source

fn get_margin(self) -> Vector4

get_margin() overload

Source

fn set_margin(self, value: impl Into<Vector4>)

set_margin(crate::unity_engine::vector4::Vector4) overload

Source

fn get_text_info(self) -> TMP_TextInfo

get_textInfo() overload

Source

fn get_have_properties_changed(self) -> bool

get_havePropertiesChanged() overload

Source

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

set_havePropertiesChanged(bool) overload

Source

fn get_is_using_legacy_animation_component(self) -> bool

get_isUsingLegacyAnimationComponent() overload

Source

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

set_isUsingLegacyAnimationComponent(bool) overload

Source

fn get_transform(self) -> Transform

get_transform() overload

Source

fn get_rect_transform(self) -> RectTransform

get_rectTransform() overload

Source

fn get_auto_size_text_container(self) -> bool

get_autoSizeTextContainer() overload

Source

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

set_autoSizeTextContainer(bool) overload

Source

fn get_mesh(self) -> Mesh

get_mesh() overload

Source

fn get_is_volumetric_text(self) -> bool

get_isVolumetricText() overload

Source

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

set_isVolumetricText(bool) overload

Source

fn get_bounds(self) -> Bounds

get_bounds() overload

Source

fn get_text_bounds(self) -> Bounds

get_textBounds() overload

Source

fn add_on_pre_render_text(self, value: impl Into<Action_1<TMP_TextInfo>>)

add_OnPreRenderText(crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>) overload

Source

fn remove_on_pre_render_text(self, value: impl Into<Action_1<TMP_TextInfo>>)

remove_OnPreRenderText(crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>) overload

Source

fn get_sprite_animator(self) -> TMP_SpriteAnimator

get_spriteAnimator() overload

Source

fn get_flexible_height(self) -> f32

get_flexibleHeight() overload

Source

fn get_flexible_width(self) -> f32

get_flexibleWidth() overload

Source

fn get_min_width(self) -> f32

get_minWidth() overload

Source

fn get_min_height(self) -> f32

get_minHeight() overload

Source

fn get_max_width(self) -> f32

get_maxWidth() overload

Source

fn get_max_height(self) -> f32

get_maxHeight() overload

Source

fn get_layout_element(self) -> LayoutElement

get_layoutElement() overload

Source

fn get_preferred_width(self) -> f32

get_preferredWidth() overload

Source

fn get_preferred_height(self) -> f32

get_preferredHeight() overload

Source

fn get_rendered_width(self) -> f32

get_renderedWidth() overload

Source

fn get_rendered_height(self) -> f32

get_renderedHeight() overload

Source

fn get_layout_priority(self) -> i32

get_layoutPriority() overload

Source

fn load_font_asset(self)

LoadFontAsset() overload

Source

fn set_shared_material(self, mat: impl Into<Material>)

SetSharedMaterial(crate::unity_engine::material::Material) overload

Source

fn get_material(self, mat: impl Into<Material>) -> Material

GetMaterial(crate::unity_engine::material::Material) overload

Source

fn set_font_base_material(self, mat: impl Into<Material>)

SetFontBaseMaterial(crate::unity_engine::material::Material) overload

Source

fn get_shared_materials(self) -> Array<Material>

GetSharedMaterials() overload

Source

fn set_shared_materials(self, materials: impl Into<Array<Material>>)

SetSharedMaterials(::unity::Array<crate::unity_engine::material::Material>) overload

Source

fn get_materials(self, mats: impl Into<Array<Material>>) -> Array<Material>

GetMaterials(::unity::Array<crate::unity_engine::material::Material>) overload

Source

fn create_material_instance(self, source: impl Into<Material>) -> Material

CreateMaterialInstance(crate::unity_engine::material::Material) overload

Source

fn set_vertex_color_gradient(self, gradient: impl Into<TMP_ColorGradient>)

SetVertexColorGradient(crate::tm_pro::tmp_colorgradient::TMP_ColorGradient) overload

Source

fn set_text_sorting_order(self, order: impl Into<VertexSortingOrder>)

SetTextSortingOrder(crate::tm_pro::vertexsortingorder::VertexSortingOrder) overload

Source

fn set_text_sorting_order_2(self, order: impl Into<Array<i32>>)

SetTextSortingOrder(::unity::Array<i32>) overload

Source

fn set_outline_thickness(self, thickness: impl Into<f32>)

SetOutlineThickness(f32) overload

Source

fn set_shader_depth(self)

SetShaderDepth() overload

Source

fn set_culling(self)

SetCulling() overload

Source

fn update_culling(self)

UpdateCulling() overload

Source

fn get_padding_for_material(self) -> f32

GetPaddingForMaterial() overload

Source

fn get_padding_for_material_2(self, mat: impl Into<Material>) -> f32

GetPaddingForMaterial(crate::unity_engine::material::Material) overload

Source

fn get_text_container_local_corners(self) -> Array<Vector3>

GetTextContainerLocalCorners() overload

Source

fn force_mesh_update( self, ignore_active_state: impl Into<bool>, force_text_reparsing: impl Into<bool>, )

ForceMeshUpdate(bool, bool) overload

Source

fn update_geometry(self, mesh: impl Into<Mesh>, index: impl Into<i32>)

UpdateGeometry(crate::unity_engine::mesh::Mesh, i32) overload

Source

fn update_vertex_data(self, flags: impl Into<TMP_VertexDataUpdateFlags>)

UpdateVertexData(crate::tm_pro::tmp_vertexdataupdateflags::TMP_VertexDataUpdateFlags) overload

Source

fn update_vertex_data_2(self)

UpdateVertexData() overload

Source

fn set_vertices(self, vertices: impl Into<Array<Vector3>>)

SetVertices(::unity::Array<crate::unity_engine::vector3::Vector3>) overload

Source

fn update_mesh_padding(self)

UpdateMeshPadding() overload

Source

fn cross_fade_color( self, target_color: impl Into<Color>, duration: impl Into<f32>, ignore_time_scale: impl Into<bool>, use_alpha: impl Into<bool>, )

CrossFadeColor(crate::unity_engine::color::Color, f32, bool, bool) overload

Source

fn cross_fade_alpha( self, alpha: impl Into<f32>, duration: impl Into<f32>, ignore_time_scale: impl Into<bool>, )

CrossFadeAlpha(f32, f32, bool) overload

Source

fn internal_cross_fade_color( self, target_color: impl Into<Color>, duration: impl Into<f32>, ignore_time_scale: impl Into<bool>, use_alpha: impl Into<bool>, )

InternalCrossFadeColor(crate::unity_engine::color::Color, f32, bool, bool) overload

Source

fn internal_cross_fade_alpha( self, alpha: impl Into<f32>, duration: impl Into<f32>, ignore_time_scale: impl Into<bool>, )

InternalCrossFadeAlpha(f32, f32, bool) overload

Source

fn parse_input_text(self)

ParseInputText() overload

Source

fn populate_text_backing_array(self, source_text: impl Into<Il2CppString>)

PopulateTextBackingArray(::unity::Il2CppString) overload

Source

fn populate_text_backing_array_2( self, source_text: impl Into<Il2CppString>, start: impl Into<i32>, length: impl Into<i32>, )

PopulateTextBackingArray(::unity::Il2CppString, i32, i32) overload

Source

fn populate_text_backing_array_3( self, source_text: impl Into<Array<u16>>, start: impl Into<i32>, length: impl Into<i32>, )

PopulateTextBackingArray(::unity::Array<u16>, i32, i32) overload

Source

fn populate_text_processing_array(self)

PopulateTextProcessingArray() overload

Source

fn set_text_internal(self, source_text: impl Into<Il2CppString>)

SetTextInternal(::unity::Il2CppString) overload

Source

fn set_text_2( self, source_text: impl Into<Il2CppString>, sync_text_input_box: impl Into<bool>, )

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

Source

fn set_text_3(self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>)

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

Source

fn set_text_4( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, )

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

Source

fn set_text_5( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, )

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

Source

fn set_text_6( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, arg3: impl Into<f32>, )

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

Source

fn set_text_7( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, arg3: impl Into<f32>, arg4: impl Into<f32>, )

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

Source

fn set_text_8( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, arg3: impl Into<f32>, arg4: impl Into<f32>, arg5: impl Into<f32>, )

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

Source

fn set_text_9( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, arg3: impl Into<f32>, arg4: impl Into<f32>, arg5: impl Into<f32>, arg6: impl Into<f32>, )

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

Source

fn set_text_10( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, arg2: impl Into<f32>, arg3: impl Into<f32>, arg4: impl Into<f32>, arg5: impl Into<f32>, arg6: impl Into<f32>, arg7: impl Into<f32>, )

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

Source

fn set_text_11(self, source_text: impl Into<Array<u16>>)

SetText(::unity::Array<u16>) overload

Source

fn set_text_12( self, source_text: impl Into<Array<u16>>, start: impl Into<i32>, length: impl Into<i32>, )

SetText(::unity::Array<u16>, i32, i32) overload

Source

fn set_char_array(self, source_text: impl Into<Array<u16>>)

SetCharArray(::unity::Array<u16>) overload

Source

fn set_char_array_2( self, source_text: impl Into<Array<u16>>, start: impl Into<i32>, length: impl Into<i32>, )

SetCharArray(::unity::Array<u16>, i32, i32) overload

Source

fn get_style(self, hash_code: impl Into<i32>) -> TMP_Style

GetStyle(i32) overload

Source

fn replace_opening_style_tag( self, src_index: impl Into<i32>, ) -> (bool, TMP_Text_TextBackingContainer, i32, Array<TMP_Text_UnicodeChar>, i32)

ReplaceOpeningStyleTag(*mutcrate::tm_pro::tmp_text::TMP_Text_TextBackingContainer, i32, *muti32, *mut::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>, *muti32) overload

Source

fn replace_opening_style_tag_2( self, src_index: impl Into<i32>, ) -> (bool, Array<i32>, i32, Array<TMP_Text_UnicodeChar>, i32)

ReplaceOpeningStyleTag(*mut::unity::Array<i32>, i32, *muti32, *mut::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>, *muti32) overload

Source

fn replace_closing_style_tag( self, src_index: impl Into<i32>, ) -> (TMP_Text_TextBackingContainer, Array<TMP_Text_UnicodeChar>, i32)

ReplaceClosingStyleTag(*mutcrate::tm_pro::tmp_text::TMP_Text_TextBackingContainer, i32, *mut::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>, *muti32) overload

Source

fn replace_closing_style_tag_2( self, src_index: impl Into<i32>, ) -> (Array<i32>, Array<TMP_Text_UnicodeChar>, i32)

ReplaceClosingStyleTag(*mut::unity::Array<i32>, i32, *mut::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>, *muti32) overload

Source

fn insert_opening_style_tag( self, style: impl Into<TMP_Style>, src_index: impl Into<i32>, ) -> (bool, Array<TMP_Text_UnicodeChar>, i32)

InsertOpeningStyleTag(crate::tm_pro::tmp_style::TMP_Style, i32, *mut::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>, *muti32) overload

Source

fn insert_closing_style_tag(self) -> (Array<TMP_Text_UnicodeChar>, i32)

InsertClosingStyleTag(*mut::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>, *muti32) overload

Source

fn get_markup_tag_hash_code( self, tag_definition: impl Into<Array<i32>>, read_index: impl Into<i32>, ) -> i32

GetMarkupTagHashCode(::unity::Array<i32>, i32) overload

Source

fn get_markup_tag_hash_code_2( self, tag_definition: impl Into<TMP_Text_TextBackingContainer>, read_index: impl Into<i32>, ) -> i32

GetMarkupTagHashCode(crate::tm_pro::tmp_text::TMP_Text_TextBackingContainer, i32) overload

Source

fn get_style_hash_code(self, index: impl Into<i32>) -> (i32, Array<i32>, i32)

GetStyleHashCode(*mut::unity::Array<i32>, i32, *muti32) overload

Source

fn get_style_hash_code_2( self, index: impl Into<i32>, ) -> (i32, TMP_Text_TextBackingContainer, i32)

GetStyleHashCode(*mutcrate::tm_pro::tmp_text::TMP_Text_TextBackingContainer, i32, *muti32) overload

Source

fn resize_internal_array<M0: IlType + Copy + ClassIdentity>( self, array: impl Into<*mut Array<M0>>, )

Source

fn resize_internal_array_2<M0: IlType + Copy + ClassIdentity>( self, array: impl Into<*mut Array<M0>>, size: impl Into<i32>, )

Source

fn add_float_to_internal_text_backing_array( self, value: impl Into<f32>, padding: impl Into<i32>, precision: impl Into<i32>, ) -> i32

AddFloatToInternalTextBackingArray(f32, i32, i32, *muti32) overload

Source

fn add_integer_to_internal_text_backing_array( self, number: impl Into<f64>, padding: impl Into<i32>, ) -> i32

AddIntegerToInternalTextBackingArray(f64, i32, *muti32) overload

Source

fn internal_text_backing_array_to_string(self) -> Il2CppString

InternalTextBackingArrayToString() overload

Source

fn set_array_sizes( self, unicode_chars: impl Into<Array<TMP_Text_UnicodeChar>>, ) -> i32

SetArraySizes(::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>) overload

Source

fn get_preferred_values(self) -> Vector2

GetPreferredValues() overload

Source

fn get_preferred_values_2( self, width: impl Into<f32>, height: impl Into<f32>, ) -> Vector2

GetPreferredValues(f32, f32) overload

Source

fn get_preferred_values_3(self, text: impl Into<Il2CppString>) -> Vector2

GetPreferredValues(::unity::Il2CppString) overload

Source

fn get_preferred_values_4( self, text: impl Into<Il2CppString>, width: impl Into<f32>, height: impl Into<f32>, ) -> Vector2

GetPreferredValues(::unity::Il2CppString, f32, f32) overload

Source

fn get_preferred_width_2(self, margin: impl Into<Vector2>) -> f32

GetPreferredWidth(crate::unity_engine::vector2::Vector2) overload

Source

fn get_preferred_height_2(self, margin: impl Into<Vector2>) -> f32

GetPreferredHeight(crate::unity_engine::vector2::Vector2) overload

Source

fn get_rendered_values(self) -> Vector2

GetRenderedValues() overload

Source

fn get_rendered_values_2( self, only_visible_characters: impl Into<bool>, ) -> Vector2

GetRenderedValues(bool) overload

Source

fn get_rendered_width_2(self, only_visible_characters: impl Into<bool>) -> f32

GetRenderedWidth(bool) overload

Source

fn get_rendered_height_2(self, only_visible_characters: impl Into<bool>) -> f32

GetRenderedHeight(bool) overload

Source

fn calculate_preferred_values( self, margin_size: impl Into<Vector2>, is_text_auto_sizing_enabled: impl Into<bool>, is_word_wrapping_enabled: impl Into<bool>, ) -> (Vector2, f32)

CalculatePreferredValues(*mutf32, crate::unity_engine::vector2::Vector2, bool, bool) overload

Source

fn get_compound_bounds(self) -> Bounds

GetCompoundBounds() overload

Source

fn get_canvas_space_clipping_rect(self) -> Rect

GetCanvasSpaceClippingRect() overload

Source

fn get_text_bounds_2(self, only_visible_characters: impl Into<bool>) -> Bounds

GetTextBounds(bool) overload

Source

fn adjust_line_offset( self, start_index: impl Into<i32>, end_index: impl Into<i32>, offset: impl Into<f32>, )

AdjustLineOffset(i32, i32, f32) overload

Source

fn resize_line_extents(self, size: impl Into<i32>)

ResizeLineExtents(i32) overload

Source

fn get_text_info_2(self, text: impl Into<Il2CppString>) -> TMP_TextInfo

GetTextInfo(::unity::Il2CppString) overload

Source

fn compute_margin_size(self)

ComputeMarginSize() overload

Source

fn insert_new_line( self, i: impl Into<i32>, base_scale: impl Into<f32>, current_element_scale: impl Into<f32>, current_em_scale: impl Into<f32>, glyph_adjustment: impl Into<f32>, bold_spacing_adjustment: impl Into<f32>, character_spacing_adjustment: impl Into<f32>, width: impl Into<f32>, line_gap: impl Into<f32>, ) -> (bool, f32)

InsertNewLine(i32, f32, f32, f32, f32, f32, f32, f32, f32, *mutbool, *mutf32) overload

Source

fn save_word_wrapping_state( self, index: impl Into<i32>, count: impl Into<i32>, ) -> WordWrapState

SaveWordWrappingState(*mutcrate::tm_pro::wordwrapstate::WordWrapState, i32, i32) overload

Source

fn restore_word_wrapping_state(self) -> (i32, WordWrapState)

RestoreWordWrappingState(*mutcrate::tm_pro::wordwrapstate::WordWrapState) overload

Source

fn save_glyph_vertex_info( self, padding: impl Into<f32>, style_padding: impl Into<f32>, vertex_color: impl Into<Color32>, )

SaveGlyphVertexInfo(f32, f32, crate::unity_engine::color32::Color32) overload

Source

fn save_sprite_vertex_info(self, vertex_color: impl Into<Color32>)

SaveSpriteVertexInfo(crate::unity_engine::color32::Color32) overload

Source

fn fill_character_vertex_buffers( self, i: impl Into<i32>, index_x4: impl Into<i32>, )

FillCharacterVertexBuffers(i32, i32) overload

Source

fn fill_character_vertex_buffers_2( self, i: impl Into<i32>, index_x4: impl Into<i32>, is_volumetric: impl Into<bool>, )

FillCharacterVertexBuffers(i32, i32, bool) overload

Source

fn fill_sprite_vertex_buffers(self, i: impl Into<i32>, index_x4: impl Into<i32>)

FillSpriteVertexBuffers(i32, i32) overload

Source

fn draw_underline_mesh( self, start: impl Into<Vector3>, end: impl Into<Vector3>, start_scale: impl Into<f32>, end_scale: impl Into<f32>, max_scale: impl Into<f32>, sdf_scale: impl Into<f32>, underline_color: impl Into<Color32>, ) -> i32

DrawUnderlineMesh(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, *muti32, f32, f32, f32, f32, crate::unity_engine::color32::Color32) overload

Source

fn draw_text_highlight( self, start: impl Into<Vector3>, end: impl Into<Vector3>, highlight_color: impl Into<Color32>, ) -> i32

DrawTextHighlight(crate::unity_engine::vector3::Vector3, crate::unity_engine::vector3::Vector3, *muti32, crate::unity_engine::color32::Color32) overload

Source

fn load_default_settings(self)

LoadDefaultSettings() overload

Source

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

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

Source

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

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

Source

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

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

Source

fn replace_tag_with_character( self, chars: impl Into<Array<i32>>, insertion_index: impl Into<i32>, tag_length: impl Into<i32>, c: impl Into<u16>, )

ReplaceTagWithCharacter(::unity::Array<i32>, i32, i32, u16) overload

Source

fn get_font_asset_for_weight(self, font_weight: impl Into<i32>) -> TMP_FontAsset

GetFontAssetForWeight(i32) overload

Source

fn get_text_element( self, unicode: impl Into<u32>, font_asset: impl Into<TMP_FontAsset>, font_style: impl Into<FontStyles>, font_weight: impl Into<FontWeight>, ) -> (TMP_TextElement, bool)

GetTextElement(u32, crate::tm_pro::tmp_fontasset::TMP_FontAsset, crate::tm_pro::fontstyles::FontStyles, crate::tm_pro::fontweight::FontWeight, *mutbool) overload

Source

fn set_active_sub_meshes(self, state: impl Into<bool>)

SetActiveSubMeshes(bool) overload

Source

fn destroy_sub_mesh_objects(self)

DestroySubMeshObjects() overload

Source

fn clear_mesh(self)

ClearMesh() overload

Source

fn clear_mesh_2(self, upload_geometry: impl Into<bool>)

ClearMesh(bool) overload

Source

fn get_parsed_text(self) -> Il2CppString

GetParsedText() overload

Source

fn is_self_or_linked_ancestor( self, target_text_component: impl Into<TMP_Text>, ) -> bool

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

Source

fn release_linked_text_component( self, target_text_component: impl Into<TMP_Text>, )

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

Source

fn pack_uv( self, x: impl Into<f32>, y: impl Into<f32>, scale: impl Into<f32>, ) -> Vector2

PackUV(f32, f32, f32) overload

Source

fn pack_uv_2(self, x: impl Into<f32>, y: impl Into<f32>) -> f32

PackUV(f32, f32) overload

Source

fn internal_update(self)

InternalUpdate() overload

Source

fn hex_to_int(self, hex: impl Into<u16>) -> i32

HexToInt(u16) overload

Source

fn get_utf16(self, text: impl Into<Il2CppString>, i: impl Into<i32>) -> i32

GetUTF16(::unity::Il2CppString, i32) overload

Source

fn get_utf16_2(self, text: impl Into<Array<i32>>, i: impl Into<i32>) -> i32

GetUTF16(::unity::Array<i32>, i32) overload

Source

fn get_utf16_3(self, text: impl Into<Array<u32>>, i: impl Into<i32>) -> i32

GetUTF16(::unity::Array<u32>, i32) overload

Source

fn get_utf16_4( self, text: impl Into<TMP_Text_TextBackingContainer>, i: impl Into<i32>, ) -> i32

GetUTF16(crate::tm_pro::tmp_text::TMP_Text_TextBackingContainer, i32) overload

Source

fn get_utf32(self, text: impl Into<Il2CppString>, i: impl Into<i32>) -> i32

GetUTF32(::unity::Il2CppString, i32) overload

Source

fn get_utf32_2(self, text: impl Into<Array<i32>>, i: impl Into<i32>) -> i32

GetUTF32(::unity::Array<i32>, i32) overload

Source

fn get_utf32_3(self, text: impl Into<Array<u32>>, i: impl Into<i32>) -> i32

GetUTF32(::unity::Array<u32>, i32) overload

Source

fn get_utf32_4( self, text: impl Into<TMP_Text_TextBackingContainer>, i: impl Into<i32>, ) -> i32

GetUTF32(crate::tm_pro::tmp_text::TMP_Text_TextBackingContainer, i32) overload

Source

fn hex_chars_to_color( self, hex_chars: impl Into<Array<u16>>, tag_count: impl Into<i32>, ) -> Color32

HexCharsToColor(::unity::Array<u16>, i32) overload

Source

fn hex_chars_to_color_2( self, hex_chars: impl Into<Array<u16>>, start_index: impl Into<i32>, length: impl Into<i32>, ) -> Color32

HexCharsToColor(::unity::Array<u16>, i32, i32) overload

Source

fn get_attribute_parameters( self, chars: impl Into<Array<u16>>, start_index: impl Into<i32>, length: impl Into<i32>, ) -> (i32, Array<f32>)

GetAttributeParameters(::unity::Array<u16>, i32, i32, *mut::unity::Array<f32>) overload

Source

fn convert_to_float( self, chars: impl Into<Array<u16>>, start_index: impl Into<i32>, length: impl Into<i32>, ) -> f32

ConvertToFloat(::unity::Array<u16>, i32, i32) overload

Source

fn convert_to_float_2( self, chars: impl Into<Array<u16>>, start_index: impl Into<i32>, length: impl Into<i32>, ) -> (f32, i32)

ConvertToFloat(::unity::Array<u16>, i32, i32, *muti32) overload

Source

fn validate_html_tag( self, chars: impl Into<Array<TMP_Text_UnicodeChar>>, start_index: impl Into<i32>, ) -> (bool, i32)

ValidateHtmlTag(::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>, i32, *muti32) overload

Source

fn ctor(self)

.ctor() 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_Text> ITMP_TextMethods for __T

Available on crate feature tm_pro-tmp_text only.