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§
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 get_text_preprocessor(self) -> ITextPreprocessor
fn get_text_preprocessor(self) -> ITextPreprocessor
get_textPreprocessor() overload
Sourcefn set_text_preprocessor(self, value: impl Into<ITextPreprocessor>)
fn set_text_preprocessor(self, value: impl Into<ITextPreprocessor>)
set_textPreprocessor(crate::tm_pro::itextpreprocessor::ITextPreprocessor) overload
Sourcefn get_is_right_to_left_text(self) -> bool
fn get_is_right_to_left_text(self) -> bool
get_isRightToLeftText() overload
Sourcefn set_is_right_to_left_text(self, value: impl Into<bool>)
fn set_is_right_to_left_text(self, value: impl Into<bool>)
set_isRightToLeftText(bool) overload
Sourcefn get_font(self) -> TMP_FontAsset
fn get_font(self) -> TMP_FontAsset
get_font() overload
Sourcefn set_font(self, value: impl Into<TMP_FontAsset>)
fn set_font(self, value: impl Into<TMP_FontAsset>)
set_font(crate::tm_pro::tmp_fontasset::TMP_FontAsset) overload
get_fontSharedMaterial() overload
set_fontSharedMaterial(crate::unity_engine::material::Material) overload
get_fontSharedMaterials() overload
set_fontSharedMaterials(::unity::Array<crate::unity_engine::material::Material>) overload
Sourcefn get_font_material(self) -> Material
fn get_font_material(self) -> Material
get_fontMaterial() overload
Sourcefn set_font_material(self, value: impl Into<Material>)
fn set_font_material(self, value: impl Into<Material>)
set_fontMaterial(crate::unity_engine::material::Material) overload
Sourcefn get_font_materials(self) -> Array<Material>
fn get_font_materials(self) -> Array<Material>
get_fontMaterials() overload
Sourcefn set_font_materials(self, value: impl Into<Array<Material>>)
fn set_font_materials(self, value: impl Into<Array<Material>>)
set_fontMaterials(::unity::Array<crate::unity_engine::material::Material>) overload
Sourcefn set_color(self, value: impl Into<Color>)
fn set_color(self, value: impl Into<Color>)
set_color(crate::unity_engine::color::Color) overload
Sourcefn get_enable_vertex_gradient(self) -> bool
fn get_enable_vertex_gradient(self) -> bool
get_enableVertexGradient() overload
Sourcefn set_enable_vertex_gradient(self, value: impl Into<bool>)
fn set_enable_vertex_gradient(self, value: impl Into<bool>)
set_enableVertexGradient(bool) overload
Sourcefn get_color_gradient(self) -> VertexGradient
fn get_color_gradient(self) -> VertexGradient
get_colorGradient() overload
Sourcefn set_color_gradient(self, value: impl Into<VertexGradient>)
fn set_color_gradient(self, value: impl Into<VertexGradient>)
set_colorGradient(crate::tm_pro::vertexgradient::VertexGradient) overload
Sourcefn get_color_gradient_preset(self) -> TMP_ColorGradient
fn get_color_gradient_preset(self) -> TMP_ColorGradient
get_colorGradientPreset() overload
Sourcefn set_color_gradient_preset(self, value: impl Into<TMP_ColorGradient>)
fn set_color_gradient_preset(self, value: impl Into<TMP_ColorGradient>)
set_colorGradientPreset(crate::tm_pro::tmp_colorgradient::TMP_ColorGradient) overload
Sourcefn get_sprite_asset(self) -> TMP_SpriteAsset
fn get_sprite_asset(self) -> TMP_SpriteAsset
get_spriteAsset() overload
Sourcefn set_sprite_asset(self, value: impl Into<TMP_SpriteAsset>)
fn set_sprite_asset(self, value: impl Into<TMP_SpriteAsset>)
set_spriteAsset(crate::tm_pro::tmp_spriteasset::TMP_SpriteAsset) overload
Sourcefn get_tint_all_sprites(self) -> bool
fn get_tint_all_sprites(self) -> bool
get_tintAllSprites() overload
Sourcefn set_tint_all_sprites(self, value: impl Into<bool>)
fn set_tint_all_sprites(self, value: impl Into<bool>)
set_tintAllSprites(bool) overload
Sourcefn get_style_sheet(self) -> TMP_StyleSheet
fn get_style_sheet(self) -> TMP_StyleSheet
get_styleSheet() overload
Sourcefn set_style_sheet(self, value: impl Into<TMP_StyleSheet>)
fn set_style_sheet(self, value: impl Into<TMP_StyleSheet>)
set_styleSheet(crate::tm_pro::tmp_stylesheet::TMP_StyleSheet) overload
Sourcefn get_text_style(self) -> TMP_Style
fn get_text_style(self) -> TMP_Style
get_textStyle() overload
Sourcefn set_text_style(self, value: impl Into<TMP_Style>)
fn set_text_style(self, value: impl Into<TMP_Style>)
set_textStyle(crate::tm_pro::tmp_style::TMP_Style) overload
get_overrideColorTags() overload
set_overrideColorTags(bool) overload
Sourcefn get_face_color(self) -> Color32
fn get_face_color(self) -> Color32
get_faceColor() overload
Sourcefn set_face_color(self, value: impl Into<Color32>)
fn set_face_color(self, value: impl Into<Color32>)
set_faceColor(crate::unity_engine::color32::Color32) overload
Sourcefn get_outline_color(self) -> Color32
fn get_outline_color(self) -> Color32
get_outlineColor() overload
Sourcefn set_outline_color(self, value: impl Into<Color32>)
fn set_outline_color(self, value: impl Into<Color32>)
set_outlineColor(crate::unity_engine::color32::Color32) overload
Sourcefn get_outline_width(self) -> f32
fn get_outline_width(self) -> f32
get_outlineWidth() overload
Sourcefn set_outline_width(self, value: impl Into<f32>)
fn set_outline_width(self, value: impl Into<f32>)
set_outlineWidth(f32) overload
Sourcefn get_font_size(self) -> f32
fn get_font_size(self) -> f32
get_fontSize() overload
Sourcefn set_font_size(self, value: impl Into<f32>)
fn set_font_size(self, value: impl Into<f32>)
set_fontSize(f32) overload
Sourcefn get_font_weight(self) -> FontWeight
fn get_font_weight(self) -> FontWeight
get_fontWeight() overload
Sourcefn set_font_weight(self, value: impl Into<FontWeight>)
fn set_font_weight(self, value: impl Into<FontWeight>)
set_fontWeight(crate::tm_pro::fontweight::FontWeight) overload
Sourcefn get_pixels_per_unit(self) -> f32
fn get_pixels_per_unit(self) -> f32
get_pixelsPerUnit() overload
Sourcefn get_enable_auto_sizing(self) -> bool
fn get_enable_auto_sizing(self) -> bool
get_enableAutoSizing() overload
Sourcefn set_enable_auto_sizing(self, value: impl Into<bool>)
fn set_enable_auto_sizing(self, value: impl Into<bool>)
set_enableAutoSizing(bool) overload
Sourcefn get_font_size_min(self) -> f32
fn get_font_size_min(self) -> f32
get_fontSizeMin() overload
Sourcefn set_font_size_min(self, value: impl Into<f32>)
fn set_font_size_min(self, value: impl Into<f32>)
set_fontSizeMin(f32) overload
Sourcefn get_font_size_max(self) -> f32
fn get_font_size_max(self) -> f32
get_fontSizeMax() overload
Sourcefn set_font_size_max(self, value: impl Into<f32>)
fn set_font_size_max(self, value: impl Into<f32>)
set_fontSizeMax(f32) overload
Sourcefn get_font_style(self) -> FontStyles
fn get_font_style(self) -> FontStyles
get_fontStyle() overload
Sourcefn set_font_style(self, value: impl Into<FontStyles>)
fn set_font_style(self, value: impl Into<FontStyles>)
set_fontStyle(crate::tm_pro::fontstyles::FontStyles) overload
Sourcefn get_is_using_bold(self) -> bool
fn get_is_using_bold(self) -> bool
get_isUsingBold() overload
Sourcefn get_horizontal_alignment(self) -> HorizontalAlignmentOptions
fn get_horizontal_alignment(self) -> HorizontalAlignmentOptions
get_horizontalAlignment() overload
Sourcefn set_horizontal_alignment(self, value: impl Into<HorizontalAlignmentOptions>)
fn set_horizontal_alignment(self, value: impl Into<HorizontalAlignmentOptions>)
set_horizontalAlignment(crate::tm_pro::horizontalalignmentoptions::HorizontalAlignmentOptions) overload
Sourcefn get_vertical_alignment(self) -> VerticalAlignmentOptions
fn get_vertical_alignment(self) -> VerticalAlignmentOptions
get_verticalAlignment() overload
Sourcefn set_vertical_alignment(self, value: impl Into<VerticalAlignmentOptions>)
fn set_vertical_alignment(self, value: impl Into<VerticalAlignmentOptions>)
set_verticalAlignment(crate::tm_pro::verticalalignmentoptions::VerticalAlignmentOptions) overload
Sourcefn get_alignment(self) -> TextAlignmentOptions
fn get_alignment(self) -> TextAlignmentOptions
get_alignment() overload
Sourcefn set_alignment(self, value: impl Into<TextAlignmentOptions>)
fn set_alignment(self, value: impl Into<TextAlignmentOptions>)
set_alignment(crate::tm_pro::textalignmentoptions::TextAlignmentOptions) overload
Sourcefn get_character_spacing(self) -> f32
fn get_character_spacing(self) -> f32
get_characterSpacing() overload
Sourcefn set_character_spacing(self, value: impl Into<f32>)
fn set_character_spacing(self, value: impl Into<f32>)
set_characterSpacing(f32) overload
Sourcefn get_word_spacing(self) -> f32
fn get_word_spacing(self) -> f32
get_wordSpacing() overload
Sourcefn set_word_spacing(self, value: impl Into<f32>)
fn set_word_spacing(self, value: impl Into<f32>)
set_wordSpacing(f32) overload
Sourcefn get_line_spacing(self) -> f32
fn get_line_spacing(self) -> f32
get_lineSpacing() overload
Sourcefn set_line_spacing(self, value: impl Into<f32>)
fn set_line_spacing(self, value: impl Into<f32>)
set_lineSpacing(f32) overload
Sourcefn get_line_spacing_adjustment(self) -> f32
fn get_line_spacing_adjustment(self) -> f32
get_lineSpacingAdjustment() overload
Sourcefn set_line_spacing_adjustment(self, value: impl Into<f32>)
fn set_line_spacing_adjustment(self, value: impl Into<f32>)
set_lineSpacingAdjustment(f32) overload
Sourcefn get_paragraph_spacing(self) -> f32
fn get_paragraph_spacing(self) -> f32
get_paragraphSpacing() overload
Sourcefn set_paragraph_spacing(self, value: impl Into<f32>)
fn set_paragraph_spacing(self, value: impl Into<f32>)
set_paragraphSpacing(f32) overload
Sourcefn get_character_width_adjustment(self) -> f32
fn get_character_width_adjustment(self) -> f32
get_characterWidthAdjustment() overload
Sourcefn set_character_width_adjustment(self, value: impl Into<f32>)
fn set_character_width_adjustment(self, value: impl Into<f32>)
set_characterWidthAdjustment(f32) overload
Sourcefn get_enable_word_wrapping(self) -> bool
fn get_enable_word_wrapping(self) -> bool
get_enableWordWrapping() overload
Sourcefn set_enable_word_wrapping(self, value: impl Into<bool>)
fn set_enable_word_wrapping(self, value: impl Into<bool>)
set_enableWordWrapping(bool) overload
Sourcefn get_word_wrapping_ratios(self) -> f32
fn get_word_wrapping_ratios(self) -> f32
get_wordWrappingRatios() overload
Sourcefn set_word_wrapping_ratios(self, value: impl Into<f32>)
fn set_word_wrapping_ratios(self, value: impl Into<f32>)
set_wordWrappingRatios(f32) overload
Sourcefn get_overflow_mode(self) -> TextOverflowModes
fn get_overflow_mode(self) -> TextOverflowModes
get_overflowMode() overload
Sourcefn set_overflow_mode(self, value: impl Into<TextOverflowModes>)
fn set_overflow_mode(self, value: impl Into<TextOverflowModes>)
set_overflowMode(crate::tm_pro::textoverflowmodes::TextOverflowModes) overload
Sourcefn get_is_text_overflowing(self) -> bool
fn get_is_text_overflowing(self) -> bool
get_isTextOverflowing() overload
Sourcefn get_first_overflow_character_index(self) -> i32
fn get_first_overflow_character_index(self) -> i32
get_firstOverflowCharacterIndex() overload
Sourcefn get_linked_text_component(self) -> TMP_Text
fn get_linked_text_component(self) -> TMP_Text
get_linkedTextComponent() overload
Sourcefn set_linked_text_component(self, value: impl Into<TMP_Text>)
fn set_linked_text_component(self, value: impl Into<TMP_Text>)
set_linkedTextComponent(crate::tm_pro::tmp_text::TMP_Text) overload
Sourcefn get_is_text_truncated(self) -> bool
fn get_is_text_truncated(self) -> bool
get_isTextTruncated() overload
Sourcefn get_enable_kerning(self) -> bool
fn get_enable_kerning(self) -> bool
get_enableKerning() overload
Sourcefn set_enable_kerning(self, value: impl Into<bool>)
fn set_enable_kerning(self, value: impl Into<bool>)
set_enableKerning(bool) overload
Sourcefn get_extra_padding(self) -> bool
fn get_extra_padding(self) -> bool
get_extraPadding() overload
Sourcefn set_extra_padding(self, value: impl Into<bool>)
fn set_extra_padding(self, value: impl Into<bool>)
set_extraPadding(bool) overload
Sourcefn get_rich_text(self) -> bool
fn get_rich_text(self) -> bool
get_richText() overload
Sourcefn set_rich_text(self, value: impl Into<bool>)
fn set_rich_text(self, value: impl Into<bool>)
set_richText(bool) overload
Sourcefn get_parse_ctrl_characters(self) -> bool
fn get_parse_ctrl_characters(self) -> bool
get_parseCtrlCharacters() overload
Sourcefn set_parse_ctrl_characters(self, value: impl Into<bool>)
fn set_parse_ctrl_characters(self, value: impl Into<bool>)
set_parseCtrlCharacters(bool) overload
Sourcefn get_is_overlay(self) -> bool
fn get_is_overlay(self) -> bool
get_isOverlay() overload
Sourcefn set_is_overlay(self, value: impl Into<bool>)
fn set_is_overlay(self, value: impl Into<bool>)
set_isOverlay(bool) overload
Sourcefn get_is_orthographic(self) -> bool
fn get_is_orthographic(self) -> bool
get_isOrthographic() overload
Sourcefn set_is_orthographic(self, value: impl Into<bool>)
fn set_is_orthographic(self, value: impl Into<bool>)
set_isOrthographic(bool) overload
Sourcefn get_enable_culling(self) -> bool
fn get_enable_culling(self) -> bool
get_enableCulling() overload
Sourcefn set_enable_culling(self, value: impl Into<bool>)
fn set_enable_culling(self, value: impl Into<bool>)
set_enableCulling(bool) overload
Sourcefn get_ignore_visibility(self) -> bool
fn get_ignore_visibility(self) -> bool
get_ignoreVisibility() overload
Sourcefn set_ignore_visibility(self, value: impl Into<bool>)
fn set_ignore_visibility(self, value: impl Into<bool>)
set_ignoreVisibility(bool) overload
Sourcefn get_horizontal_mapping(self) -> TextureMappingOptions
fn get_horizontal_mapping(self) -> TextureMappingOptions
get_horizontalMapping() overload
Sourcefn set_horizontal_mapping(self, value: impl Into<TextureMappingOptions>)
fn set_horizontal_mapping(self, value: impl Into<TextureMappingOptions>)
set_horizontalMapping(crate::tm_pro::texturemappingoptions::TextureMappingOptions) overload
Sourcefn get_vertical_mapping(self) -> TextureMappingOptions
fn get_vertical_mapping(self) -> TextureMappingOptions
get_verticalMapping() overload
Sourcefn set_vertical_mapping(self, value: impl Into<TextureMappingOptions>)
fn set_vertical_mapping(self, value: impl Into<TextureMappingOptions>)
set_verticalMapping(crate::tm_pro::texturemappingoptions::TextureMappingOptions) overload
Sourcefn get_mapping_uv_line_offset(self) -> f32
fn get_mapping_uv_line_offset(self) -> f32
get_mappingUvLineOffset() overload
Sourcefn set_mapping_uv_line_offset(self, value: impl Into<f32>)
fn set_mapping_uv_line_offset(self, value: impl Into<f32>)
set_mappingUvLineOffset(f32) overload
Sourcefn get_render_mode(self) -> TextRenderFlags
fn get_render_mode(self) -> TextRenderFlags
get_renderMode() overload
Sourcefn set_render_mode(self, value: impl Into<TextRenderFlags>)
fn set_render_mode(self, value: impl Into<TextRenderFlags>)
set_renderMode(crate::tm_pro::textrenderflags::TextRenderFlags) overload
Sourcefn get_geometry_sorting_order(self) -> VertexSortingOrder
fn get_geometry_sorting_order(self) -> VertexSortingOrder
get_geometrySortingOrder() overload
Sourcefn set_geometry_sorting_order(self, value: impl Into<VertexSortingOrder>)
fn set_geometry_sorting_order(self, value: impl Into<VertexSortingOrder>)
set_geometrySortingOrder(crate::tm_pro::vertexsortingorder::VertexSortingOrder) overload
Sourcefn get_is_text_object_scale_static(self) -> bool
fn get_is_text_object_scale_static(self) -> bool
get_isTextObjectScaleStatic() overload
Sourcefn set_is_text_object_scale_static(self, value: impl Into<bool>)
fn set_is_text_object_scale_static(self, value: impl Into<bool>)
set_isTextObjectScaleStatic(bool) overload
Sourcefn get_vertex_buffer_auto_size_reduction(self) -> bool
fn get_vertex_buffer_auto_size_reduction(self) -> bool
get_vertexBufferAutoSizeReduction() overload
Sourcefn set_vertex_buffer_auto_size_reduction(self, value: impl Into<bool>)
fn set_vertex_buffer_auto_size_reduction(self, value: impl Into<bool>)
set_vertexBufferAutoSizeReduction(bool) overload
Sourcefn get_first_visible_character(self) -> i32
fn get_first_visible_character(self) -> i32
get_firstVisibleCharacter() overload
Sourcefn set_first_visible_character(self, value: impl Into<i32>)
fn set_first_visible_character(self, value: impl Into<i32>)
set_firstVisibleCharacter(i32) overload
Sourcefn get_max_visible_characters(self) -> i32
fn get_max_visible_characters(self) -> i32
get_maxVisibleCharacters() overload
Sourcefn set_max_visible_characters(self, value: impl Into<i32>)
fn set_max_visible_characters(self, value: impl Into<i32>)
set_maxVisibleCharacters(i32) overload
Sourcefn get_max_visible_words(self) -> i32
fn get_max_visible_words(self) -> i32
get_maxVisibleWords() overload
Sourcefn set_max_visible_words(self, value: impl Into<i32>)
fn set_max_visible_words(self, value: impl Into<i32>)
set_maxVisibleWords(i32) overload
Sourcefn get_max_visible_lines(self) -> i32
fn get_max_visible_lines(self) -> i32
get_maxVisibleLines() overload
Sourcefn set_max_visible_lines(self, value: impl Into<i32>)
fn set_max_visible_lines(self, value: impl Into<i32>)
set_maxVisibleLines(i32) overload
Sourcefn get_use_max_visible_descender(self) -> bool
fn get_use_max_visible_descender(self) -> bool
get_useMaxVisibleDescender() overload
Sourcefn set_use_max_visible_descender(self, value: impl Into<bool>)
fn set_use_max_visible_descender(self, value: impl Into<bool>)
set_useMaxVisibleDescender(bool) overload
Sourcefn get_page_to_display(self) -> i32
fn get_page_to_display(self) -> i32
get_pageToDisplay() overload
Sourcefn set_page_to_display(self, value: impl Into<i32>)
fn set_page_to_display(self, value: impl Into<i32>)
set_pageToDisplay(i32) overload
Sourcefn get_margin(self) -> Vector4
fn get_margin(self) -> Vector4
get_margin() overload
Sourcefn set_margin(self, value: impl Into<Vector4>)
fn set_margin(self, value: impl Into<Vector4>)
set_margin(crate::unity_engine::vector4::Vector4) overload
Sourcefn get_text_info(self) -> TMP_TextInfo
fn get_text_info(self) -> TMP_TextInfo
get_textInfo() overload
Sourcefn get_have_properties_changed(self) -> bool
fn get_have_properties_changed(self) -> bool
get_havePropertiesChanged() overload
Sourcefn set_have_properties_changed(self, value: impl Into<bool>)
fn set_have_properties_changed(self, value: impl Into<bool>)
set_havePropertiesChanged(bool) overload
Sourcefn get_is_using_legacy_animation_component(self) -> bool
fn get_is_using_legacy_animation_component(self) -> bool
get_isUsingLegacyAnimationComponent() overload
Sourcefn set_is_using_legacy_animation_component(self, value: impl Into<bool>)
fn set_is_using_legacy_animation_component(self, value: impl Into<bool>)
set_isUsingLegacyAnimationComponent(bool) overload
Sourcefn get_transform(self) -> Transform
fn get_transform(self) -> Transform
get_transform() overload
Sourcefn get_rect_transform(self) -> RectTransform
fn get_rect_transform(self) -> RectTransform
get_rectTransform() overload
Sourcefn get_auto_size_text_container(self) -> bool
fn get_auto_size_text_container(self) -> bool
get_autoSizeTextContainer() overload
Sourcefn set_auto_size_text_container(self, value: impl Into<bool>)
fn set_auto_size_text_container(self, value: impl Into<bool>)
set_autoSizeTextContainer(bool) overload
Sourcefn get_is_volumetric_text(self) -> bool
fn get_is_volumetric_text(self) -> bool
get_isVolumetricText() overload
Sourcefn set_is_volumetric_text(self, value: impl Into<bool>)
fn set_is_volumetric_text(self, value: impl Into<bool>)
set_isVolumetricText(bool) overload
Sourcefn get_bounds(self) -> Bounds
fn get_bounds(self) -> Bounds
get_bounds() overload
Sourcefn get_text_bounds(self) -> Bounds
fn get_text_bounds(self) -> Bounds
get_textBounds() overload
Sourcefn add_on_pre_render_text(self, value: impl Into<Action_1<TMP_TextInfo>>)
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
Sourcefn remove_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>>)
remove_OnPreRenderText(crate::system::action_1::Action_1<crate::tm_pro::tmp_textinfo::TMP_TextInfo>) overload
Sourcefn get_sprite_animator(self) -> TMP_SpriteAnimator
fn get_sprite_animator(self) -> TMP_SpriteAnimator
get_spriteAnimator() overload
Sourcefn get_flexible_height(self) -> f32
fn get_flexible_height(self) -> f32
get_flexibleHeight() overload
Sourcefn get_flexible_width(self) -> f32
fn get_flexible_width(self) -> f32
get_flexibleWidth() overload
Sourcefn get_min_width(self) -> f32
fn get_min_width(self) -> f32
get_minWidth() overload
Sourcefn get_min_height(self) -> f32
fn get_min_height(self) -> f32
get_minHeight() overload
Sourcefn get_max_width(self) -> f32
fn get_max_width(self) -> f32
get_maxWidth() overload
Sourcefn get_max_height(self) -> f32
fn get_max_height(self) -> f32
get_maxHeight() overload
Sourcefn get_layout_element(self) -> LayoutElement
fn get_layout_element(self) -> LayoutElement
get_layoutElement() overload
Sourcefn get_preferred_width(self) -> f32
fn get_preferred_width(self) -> f32
get_preferredWidth() overload
Sourcefn get_preferred_height(self) -> f32
fn get_preferred_height(self) -> f32
get_preferredHeight() overload
Sourcefn get_rendered_width(self) -> f32
fn get_rendered_width(self) -> f32
get_renderedWidth() overload
Sourcefn get_rendered_height(self) -> f32
fn get_rendered_height(self) -> f32
get_renderedHeight() overload
Sourcefn get_layout_priority(self) -> i32
fn get_layout_priority(self) -> i32
get_layoutPriority() overload
Sourcefn load_font_asset(self)
fn load_font_asset(self)
LoadFontAsset() overload
SetSharedMaterial(crate::unity_engine::material::Material) overload
Sourcefn get_material(self, mat: impl Into<Material>) -> Material
fn get_material(self, mat: impl Into<Material>) -> Material
GetMaterial(crate::unity_engine::material::Material) overload
Sourcefn set_font_base_material(self, mat: impl Into<Material>)
fn set_font_base_material(self, mat: impl Into<Material>)
SetFontBaseMaterial(crate::unity_engine::material::Material) overload
GetSharedMaterials() overload
SetSharedMaterials(::unity::Array<crate::unity_engine::material::Material>) overload
Sourcefn get_materials(self, mats: impl Into<Array<Material>>) -> Array<Material>
fn get_materials(self, mats: impl Into<Array<Material>>) -> Array<Material>
GetMaterials(::unity::Array<crate::unity_engine::material::Material>) overload
Sourcefn create_material_instance(self, source: impl Into<Material>) -> Material
fn create_material_instance(self, source: impl Into<Material>) -> Material
CreateMaterialInstance(crate::unity_engine::material::Material) overload
Sourcefn set_vertex_color_gradient(self, gradient: impl Into<TMP_ColorGradient>)
fn set_vertex_color_gradient(self, gradient: impl Into<TMP_ColorGradient>)
SetVertexColorGradient(crate::tm_pro::tmp_colorgradient::TMP_ColorGradient) overload
Sourcefn set_text_sorting_order(self, order: impl Into<VertexSortingOrder>)
fn set_text_sorting_order(self, order: impl Into<VertexSortingOrder>)
SetTextSortingOrder(crate::tm_pro::vertexsortingorder::VertexSortingOrder) overload
Sourcefn set_text_sorting_order_2(self, order: impl Into<Array<i32>>)
fn set_text_sorting_order_2(self, order: impl Into<Array<i32>>)
SetTextSortingOrder(::unity::Array<i32>) overload
Sourcefn set_outline_thickness(self, thickness: impl Into<f32>)
fn set_outline_thickness(self, thickness: impl Into<f32>)
SetOutlineThickness(f32) overload
Sourcefn set_shader_depth(self)
fn set_shader_depth(self)
SetShaderDepth() overload
Sourcefn set_culling(self)
fn set_culling(self)
SetCulling() overload
Sourcefn update_culling(self)
fn update_culling(self)
UpdateCulling() overload
Sourcefn get_padding_for_material(self) -> f32
fn get_padding_for_material(self) -> f32
GetPaddingForMaterial() overload
Sourcefn get_padding_for_material_2(self, mat: impl Into<Material>) -> f32
fn get_padding_for_material_2(self, mat: impl Into<Material>) -> f32
GetPaddingForMaterial(crate::unity_engine::material::Material) overload
Sourcefn get_text_container_local_corners(self) -> Array<Vector3>
fn get_text_container_local_corners(self) -> Array<Vector3>
GetTextContainerLocalCorners() overload
Sourcefn force_mesh_update(
self,
ignore_active_state: impl Into<bool>,
force_text_reparsing: impl Into<bool>,
)
fn force_mesh_update( self, ignore_active_state: impl Into<bool>, force_text_reparsing: impl Into<bool>, )
ForceMeshUpdate(bool, bool) overload
Sourcefn update_geometry(self, mesh: impl Into<Mesh>, index: impl Into<i32>)
fn update_geometry(self, mesh: impl Into<Mesh>, index: impl Into<i32>)
UpdateGeometry(crate::unity_engine::mesh::Mesh, i32) overload
Sourcefn update_vertex_data(self, flags: impl Into<TMP_VertexDataUpdateFlags>)
fn update_vertex_data(self, flags: impl Into<TMP_VertexDataUpdateFlags>)
UpdateVertexData(crate::tm_pro::tmp_vertexdataupdateflags::TMP_VertexDataUpdateFlags) overload
Sourcefn update_vertex_data_2(self)
fn update_vertex_data_2(self)
UpdateVertexData() overload
Sourcefn set_vertices(self, vertices: impl Into<Array<Vector3>>)
fn set_vertices(self, vertices: impl Into<Array<Vector3>>)
SetVertices(::unity::Array<crate::unity_engine::vector3::Vector3>) overload
Sourcefn update_mesh_padding(self)
fn update_mesh_padding(self)
UpdateMeshPadding() overload
Sourcefn 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_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
Sourcefn cross_fade_alpha(
self,
alpha: impl Into<f32>,
duration: impl Into<f32>,
ignore_time_scale: impl Into<bool>,
)
fn cross_fade_alpha( self, alpha: impl Into<f32>, duration: impl Into<f32>, ignore_time_scale: impl Into<bool>, )
CrossFadeAlpha(f32, f32, bool) overload
Sourcefn 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_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
Sourcefn internal_cross_fade_alpha(
self,
alpha: impl Into<f32>,
duration: impl Into<f32>,
ignore_time_scale: impl Into<bool>,
)
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
Sourcefn parse_input_text(self)
fn parse_input_text(self)
ParseInputText() overload
Sourcefn populate_text_backing_array(self, source_text: impl Into<Il2CppString>)
fn populate_text_backing_array(self, source_text: impl Into<Il2CppString>)
PopulateTextBackingArray(::unity::Il2CppString) overload
Sourcefn populate_text_backing_array_2(
self,
source_text: impl Into<Il2CppString>,
start: impl Into<i32>,
length: impl Into<i32>,
)
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
Sourcefn populate_text_backing_array_3(
self,
source_text: impl Into<Array<u16>>,
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>, )
PopulateTextBackingArray(::unity::Array<u16>, i32, i32) overload
Sourcefn populate_text_processing_array(self)
fn populate_text_processing_array(self)
PopulateTextProcessingArray() overload
Sourcefn set_text_internal(self, source_text: impl Into<Il2CppString>)
fn set_text_internal(self, source_text: impl Into<Il2CppString>)
SetTextInternal(::unity::Il2CppString) overload
Sourcefn set_text_2(
self,
source_text: impl Into<Il2CppString>,
sync_text_input_box: impl Into<bool>,
)
fn set_text_2( self, source_text: impl Into<Il2CppString>, sync_text_input_box: impl Into<bool>, )
SetText(::unity::Il2CppString, bool) overload
Sourcefn set_text_3(self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>)
fn set_text_3(self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>)
SetText(::unity::Il2CppString, f32) overload
Sourcefn set_text_4(
self,
source_text: impl Into<Il2CppString>,
arg0: impl Into<f32>,
arg1: impl Into<f32>,
)
fn set_text_4( self, source_text: impl Into<Il2CppString>, arg0: impl Into<f32>, arg1: impl Into<f32>, )
SetText(::unity::Il2CppString, f32, f32) overload
Sourcefn set_text_5(
self,
source_text: impl Into<Il2CppString>,
arg0: impl Into<f32>,
arg1: impl Into<f32>,
arg2: 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>, )
SetText(::unity::Il2CppString, f32, f32, f32) overload
Sourcefn 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_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
Sourcefn 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_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
Sourcefn 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_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
Sourcefn 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_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
Sourcefn 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_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
Sourcefn set_text_11(self, source_text: impl Into<Array<u16>>)
fn set_text_11(self, source_text: impl Into<Array<u16>>)
SetText(::unity::Array<u16>) overload
Sourcefn set_text_12(
self,
source_text: impl Into<Array<u16>>,
start: impl Into<i32>,
length: impl Into<i32>,
)
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
Sourcefn set_char_array(self, source_text: impl Into<Array<u16>>)
fn set_char_array(self, source_text: impl Into<Array<u16>>)
SetCharArray(::unity::Array<u16>) overload
Sourcefn set_char_array_2(
self,
source_text: impl Into<Array<u16>>,
start: impl Into<i32>,
length: impl Into<i32>,
)
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
Sourcefn 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( 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
Sourcefn replace_opening_style_tag_2(
self,
src_index: impl Into<i32>,
) -> (bool, Array<i32>, 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)
ReplaceOpeningStyleTag(*mut::unity::Array<i32>, i32, *muti32, *mut::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>, *muti32) overload
Sourcefn replace_closing_style_tag(
self,
src_index: impl Into<i32>,
) -> (TMP_Text_TextBackingContainer, Array<TMP_Text_UnicodeChar>, i32)
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
Sourcefn replace_closing_style_tag_2(
self,
src_index: impl Into<i32>,
) -> (Array<i32>, Array<TMP_Text_UnicodeChar>, i32)
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
Sourcefn insert_opening_style_tag(
self,
style: impl Into<TMP_Style>,
src_index: impl Into<i32>,
) -> (bool, 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)
InsertOpeningStyleTag(crate::tm_pro::tmp_style::TMP_Style, i32, *mut::unity::Array<crate::tm_pro::tmp_text::TMP_Text_UnicodeChar>, *muti32) overload
Sourcefn insert_closing_style_tag(self) -> (Array<TMP_Text_UnicodeChar>, i32)
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
Sourcefn get_markup_tag_hash_code(
self,
tag_definition: impl Into<Array<i32>>,
read_index: impl Into<i32>,
) -> i32
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
Sourcefn get_markup_tag_hash_code_2(
self,
tag_definition: impl Into<TMP_Text_TextBackingContainer>,
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
GetMarkupTagHashCode(crate::tm_pro::tmp_text::TMP_Text_TextBackingContainer, i32) overload
Sourcefn get_style_hash_code(self, index: impl Into<i32>) -> (i32, Array<i32>, i32)
fn get_style_hash_code(self, index: impl Into<i32>) -> (i32, Array<i32>, i32)
GetStyleHashCode(*mut::unity::Array<i32>, i32, *muti32) overload
Sourcefn get_style_hash_code_2(
self,
index: impl Into<i32>,
) -> (i32, TMP_Text_TextBackingContainer, i32)
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
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>, )
Sourcefn add_float_to_internal_text_backing_array(
self,
value: impl Into<f32>,
padding: impl Into<i32>,
precision: impl Into<i32>,
) -> i32
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
Sourcefn add_integer_to_internal_text_backing_array(
self,
number: impl Into<f64>,
padding: impl Into<i32>,
) -> i32
fn add_integer_to_internal_text_backing_array( self, number: impl Into<f64>, padding: impl Into<i32>, ) -> i32
AddIntegerToInternalTextBackingArray(f64, i32, *muti32) overload
Sourcefn internal_text_backing_array_to_string(self) -> Il2CppString
fn internal_text_backing_array_to_string(self) -> Il2CppString
InternalTextBackingArrayToString() overload
Sourcefn set_array_sizes(
self,
unicode_chars: impl Into<Array<TMP_Text_UnicodeChar>>,
) -> i32
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
Sourcefn get_preferred_values(self) -> Vector2
fn get_preferred_values(self) -> Vector2
GetPreferredValues() overload
Sourcefn get_preferred_values_2(
self,
width: impl Into<f32>,
height: impl Into<f32>,
) -> Vector2
fn get_preferred_values_2( self, width: impl Into<f32>, height: impl Into<f32>, ) -> Vector2
GetPreferredValues(f32, f32) overload
Sourcefn get_preferred_values_3(self, text: impl Into<Il2CppString>) -> Vector2
fn get_preferred_values_3(self, text: impl Into<Il2CppString>) -> Vector2
GetPreferredValues(::unity::Il2CppString) overload
Sourcefn get_preferred_values_4(
self,
text: impl Into<Il2CppString>,
width: impl Into<f32>,
height: impl Into<f32>,
) -> Vector2
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
Sourcefn get_preferred_width_2(self, margin: impl Into<Vector2>) -> f32
fn get_preferred_width_2(self, margin: impl Into<Vector2>) -> f32
GetPreferredWidth(crate::unity_engine::vector2::Vector2) overload
Sourcefn get_preferred_height_2(self, margin: impl Into<Vector2>) -> f32
fn get_preferred_height_2(self, margin: impl Into<Vector2>) -> f32
GetPreferredHeight(crate::unity_engine::vector2::Vector2) overload
Sourcefn get_rendered_values(self) -> Vector2
fn get_rendered_values(self) -> Vector2
GetRenderedValues() overload
Sourcefn get_rendered_values_2(
self,
only_visible_characters: impl Into<bool>,
) -> Vector2
fn get_rendered_values_2( self, only_visible_characters: impl Into<bool>, ) -> Vector2
GetRenderedValues(bool) overload
Sourcefn get_rendered_width_2(self, only_visible_characters: impl Into<bool>) -> f32
fn get_rendered_width_2(self, only_visible_characters: impl Into<bool>) -> f32
GetRenderedWidth(bool) overload
Sourcefn get_rendered_height_2(self, only_visible_characters: impl Into<bool>) -> f32
fn get_rendered_height_2(self, only_visible_characters: impl Into<bool>) -> f32
GetRenderedHeight(bool) overload
Sourcefn 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 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
Sourcefn get_compound_bounds(self) -> Bounds
fn get_compound_bounds(self) -> Bounds
GetCompoundBounds() overload
Sourcefn get_canvas_space_clipping_rect(self) -> Rect
fn get_canvas_space_clipping_rect(self) -> Rect
GetCanvasSpaceClippingRect() overload
Sourcefn get_text_bounds_2(self, only_visible_characters: impl Into<bool>) -> Bounds
fn get_text_bounds_2(self, only_visible_characters: impl Into<bool>) -> Bounds
GetTextBounds(bool) overload
Sourcefn adjust_line_offset(
self,
start_index: impl Into<i32>,
end_index: impl Into<i32>,
offset: impl Into<f32>,
)
fn adjust_line_offset( self, start_index: impl Into<i32>, end_index: impl Into<i32>, offset: impl Into<f32>, )
AdjustLineOffset(i32, i32, f32) overload
Sourcefn resize_line_extents(self, size: impl Into<i32>)
fn resize_line_extents(self, size: impl Into<i32>)
ResizeLineExtents(i32) overload
Sourcefn get_text_info_2(self, text: impl Into<Il2CppString>) -> TMP_TextInfo
fn get_text_info_2(self, text: impl Into<Il2CppString>) -> TMP_TextInfo
GetTextInfo(::unity::Il2CppString) overload
Sourcefn compute_margin_size(self)
fn compute_margin_size(self)
ComputeMarginSize() overload
Sourcefn 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 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
Sourcefn save_word_wrapping_state(
self,
index: impl Into<i32>,
count: impl Into<i32>,
) -> WordWrapState
fn save_word_wrapping_state( self, index: impl Into<i32>, count: impl Into<i32>, ) -> WordWrapState
SaveWordWrappingState(*mutcrate::tm_pro::wordwrapstate::WordWrapState, i32, i32) overload
Sourcefn restore_word_wrapping_state(self) -> (i32, WordWrapState)
fn restore_word_wrapping_state(self) -> (i32, WordWrapState)
RestoreWordWrappingState(*mutcrate::tm_pro::wordwrapstate::WordWrapState) overload
Sourcefn save_glyph_vertex_info(
self,
padding: impl Into<f32>,
style_padding: impl Into<f32>,
vertex_color: impl Into<Color32>,
)
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
Sourcefn save_sprite_vertex_info(self, vertex_color: impl Into<Color32>)
fn save_sprite_vertex_info(self, vertex_color: impl Into<Color32>)
SaveSpriteVertexInfo(crate::unity_engine::color32::Color32) overload
Sourcefn fill_character_vertex_buffers(
self,
i: impl Into<i32>,
index_x4: impl Into<i32>,
)
fn fill_character_vertex_buffers( self, i: impl Into<i32>, index_x4: impl Into<i32>, )
FillCharacterVertexBuffers(i32, i32) overload
Sourcefn fill_character_vertex_buffers_2(
self,
i: impl Into<i32>,
index_x4: impl Into<i32>,
is_volumetric: impl Into<bool>,
)
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
Sourcefn fill_sprite_vertex_buffers(self, i: impl Into<i32>, index_x4: impl Into<i32>)
fn fill_sprite_vertex_buffers(self, i: impl Into<i32>, index_x4: impl Into<i32>)
FillSpriteVertexBuffers(i32, i32) overload
Sourcefn 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_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
Sourcefn draw_text_highlight(
self,
start: impl Into<Vector3>,
end: impl Into<Vector3>,
highlight_color: impl Into<Color32>,
) -> i32
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
Sourcefn load_default_settings(self)
fn load_default_settings(self)
LoadDefaultSettings() overload
Sourcefn get_special_characters(self, font_asset: impl Into<TMP_FontAsset>)
fn get_special_characters(self, font_asset: impl Into<TMP_FontAsset>)
GetSpecialCharacters(crate::tm_pro::tmp_fontasset::TMP_FontAsset) overload
Sourcefn get_ellipsis_special_character(self, font_asset: impl Into<TMP_FontAsset>)
fn get_ellipsis_special_character(self, font_asset: impl Into<TMP_FontAsset>)
GetEllipsisSpecialCharacter(crate::tm_pro::tmp_fontasset::TMP_FontAsset) overload
Sourcefn get_underline_special_character(self, font_asset: impl Into<TMP_FontAsset>)
fn get_underline_special_character(self, font_asset: impl Into<TMP_FontAsset>)
GetUnderlineSpecialCharacter(crate::tm_pro::tmp_fontasset::TMP_FontAsset) overload
Sourcefn 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 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
Sourcefn get_font_asset_for_weight(self, font_weight: impl Into<i32>) -> TMP_FontAsset
fn get_font_asset_for_weight(self, font_weight: impl Into<i32>) -> TMP_FontAsset
GetFontAssetForWeight(i32) overload
Sourcefn 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 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
Sourcefn set_active_sub_meshes(self, state: impl Into<bool>)
fn set_active_sub_meshes(self, state: impl Into<bool>)
SetActiveSubMeshes(bool) overload
Sourcefn destroy_sub_mesh_objects(self)
fn destroy_sub_mesh_objects(self)
DestroySubMeshObjects() overload
Sourcefn clear_mesh(self)
fn clear_mesh(self)
ClearMesh() overload
Sourcefn clear_mesh_2(self, upload_geometry: impl Into<bool>)
fn clear_mesh_2(self, upload_geometry: impl Into<bool>)
ClearMesh(bool) overload
Sourcefn get_parsed_text(self) -> Il2CppString
fn get_parsed_text(self) -> Il2CppString
GetParsedText() overload
Sourcefn is_self_or_linked_ancestor(
self,
target_text_component: impl Into<TMP_Text>,
) -> bool
fn is_self_or_linked_ancestor( self, target_text_component: impl Into<TMP_Text>, ) -> bool
IsSelfOrLinkedAncestor(crate::tm_pro::tmp_text::TMP_Text) overload
Sourcefn release_linked_text_component(
self,
target_text_component: impl Into<TMP_Text>,
)
fn release_linked_text_component( self, target_text_component: impl Into<TMP_Text>, )
ReleaseLinkedTextComponent(crate::tm_pro::tmp_text::TMP_Text) overload
Sourcefn pack_uv(
self,
x: impl Into<f32>,
y: impl Into<f32>,
scale: impl Into<f32>,
) -> Vector2
fn pack_uv( self, x: impl Into<f32>, y: impl Into<f32>, scale: impl Into<f32>, ) -> Vector2
PackUV(f32, f32, f32) overload
Sourcefn internal_update(self)
fn internal_update(self)
InternalUpdate() overload
Sourcefn hex_to_int(self, hex: impl Into<u16>) -> i32
fn hex_to_int(self, hex: impl Into<u16>) -> i32
HexToInt(u16) overload
Sourcefn get_utf16(self, text: impl Into<Il2CppString>, i: impl Into<i32>) -> i32
fn get_utf16(self, text: impl Into<Il2CppString>, i: impl Into<i32>) -> i32
GetUTF16(::unity::Il2CppString, i32) overload
Sourcefn get_utf16_2(self, text: impl Into<Array<i32>>, i: impl Into<i32>) -> i32
fn get_utf16_2(self, text: impl Into<Array<i32>>, i: impl Into<i32>) -> i32
GetUTF16(::unity::Array<i32>, i32) overload
Sourcefn get_utf16_3(self, text: impl Into<Array<u32>>, i: impl Into<i32>) -> i32
fn get_utf16_3(self, text: impl Into<Array<u32>>, i: impl Into<i32>) -> i32
GetUTF16(::unity::Array<u32>, i32) overload
Sourcefn get_utf16_4(
self,
text: impl Into<TMP_Text_TextBackingContainer>,
i: impl Into<i32>,
) -> i32
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
Sourcefn get_utf32(self, text: impl Into<Il2CppString>, i: impl Into<i32>) -> i32
fn get_utf32(self, text: impl Into<Il2CppString>, i: impl Into<i32>) -> i32
GetUTF32(::unity::Il2CppString, i32) overload
Sourcefn get_utf32_2(self, text: impl Into<Array<i32>>, i: impl Into<i32>) -> i32
fn get_utf32_2(self, text: impl Into<Array<i32>>, i: impl Into<i32>) -> i32
GetUTF32(::unity::Array<i32>, i32) overload
Sourcefn get_utf32_3(self, text: impl Into<Array<u32>>, i: impl Into<i32>) -> i32
fn get_utf32_3(self, text: impl Into<Array<u32>>, i: impl Into<i32>) -> i32
GetUTF32(::unity::Array<u32>, i32) overload
Sourcefn get_utf32_4(
self,
text: impl Into<TMP_Text_TextBackingContainer>,
i: impl Into<i32>,
) -> i32
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
Sourcefn hex_chars_to_color(
self,
hex_chars: impl Into<Array<u16>>,
tag_count: impl Into<i32>,
) -> Color32
fn hex_chars_to_color( self, hex_chars: impl Into<Array<u16>>, tag_count: impl Into<i32>, ) -> Color32
HexCharsToColor(::unity::Array<u16>, i32) overload
Sourcefn hex_chars_to_color_2(
self,
hex_chars: impl Into<Array<u16>>,
start_index: impl Into<i32>,
length: 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
HexCharsToColor(::unity::Array<u16>, i32, i32) overload
Sourcefn get_attribute_parameters(
self,
chars: impl Into<Array<u16>>,
start_index: impl Into<i32>,
length: impl Into<i32>,
) -> (i32, Array<f32>)
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
Sourcefn convert_to_float(
self,
chars: impl Into<Array<u16>>,
start_index: impl Into<i32>,
length: impl Into<i32>,
) -> f32
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
Sourcefn convert_to_float_2(
self,
chars: impl Into<Array<u16>>,
start_index: impl Into<i32>,
length: impl Into<i32>,
) -> (f32, i32)
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
Sourcefn validate_html_tag(
self,
chars: impl Into<Array<TMP_Text_UnicodeChar>>,
start_index: impl Into<i32>,
) -> (bool, i32)
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
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: ITMP_Text> ITMP_TextMethods for __T
tm_pro-tmp_text only.