Skip to main content

ITMP_FontAssetMethods

Trait ITMP_FontAssetMethods 

Source
pub trait ITMP_FontAssetMethods: ITMP_FontAsset {
Show 86 methods // Provided methods fn get_version(self) -> Il2CppString { ... } fn set_version(self, value: impl Into<Il2CppString>) { ... } fn get_source_font_file(self) -> Font { ... } fn set_source_font_file(self, value: impl Into<Font>) { ... } fn get_atlas_population_mode(self) -> AtlasPopulationMode { ... } fn set_atlas_population_mode(self, value: impl Into<AtlasPopulationMode>) { ... } fn get_face_info(self) -> FaceInfo { ... } fn set_face_info(self, value: impl Into<FaceInfo>) { ... } fn get_glyph_table(self) -> List_1<Glyph> { ... } fn set_glyph_table(self, value: impl Into<List_1<Glyph>>) { ... } fn get_glyph_lookup_table(self) -> Dictionary_2<u32, Glyph> { ... } fn get_character_table(self) -> List_1<TMP_Character> { ... } fn set_character_table(self, value: impl Into<List_1<TMP_Character>>) { ... } fn get_character_lookup_table(self) -> Dictionary_2<u32, TMP_Character> { ... } fn get_atlas_texture(self) -> Texture2D { ... } fn get_atlas_textures(self) -> Array<Texture2D> { ... } fn set_atlas_textures(self, value: impl Into<Array<Texture2D>>) { ... } fn get_atlas_texture_count(self) -> i32 { ... } fn get_is_multi_atlas_textures_enabled(self) -> bool { ... } fn set_is_multi_atlas_textures_enabled(self, value: impl Into<bool>) { ... } fn get_clear_dynamic_data_on_build(self) -> bool { ... } fn set_clear_dynamic_data_on_build(self, value: impl Into<bool>) { ... } fn get_used_glyph_rects(self) -> List_1<GlyphRect> { ... } fn set_used_glyph_rects(self, value: impl Into<List_1<GlyphRect>>) { ... } fn get_free_glyph_rects(self) -> List_1<GlyphRect> { ... } fn set_free_glyph_rects(self, value: impl Into<List_1<GlyphRect>>) { ... } fn get_font_info(self) -> FaceInfo_Legacy { ... } fn get_atlas_width(self) -> i32 { ... } fn set_atlas_width(self, value: impl Into<i32>) { ... } fn get_atlas_height(self) -> i32 { ... } fn set_atlas_height(self, value: impl Into<i32>) { ... } fn get_atlas_padding(self) -> i32 { ... } fn set_atlas_padding(self, value: impl Into<i32>) { ... } fn get_atlas_render_mode(self) -> GlyphRenderMode { ... } fn set_atlas_render_mode(self, value: impl Into<GlyphRenderMode>) { ... } fn get_font_feature_table(self) -> TMP_FontFeatureTable { ... } fn set_font_feature_table(self, value: impl Into<TMP_FontFeatureTable>) { ... } fn get_fallback_font_asset_table(self) -> List_1<TMP_FontAsset> { ... } fn set_fallback_font_asset_table( self, value: impl Into<List_1<TMP_FontAsset>>, ) { ... } fn get_creation_settings(self) -> FontAssetCreationSettings { ... } fn set_creation_settings(self, value: impl Into<FontAssetCreationSettings>) { ... } fn get_font_weight_table(self) -> Array<TMP_FontWeightPair> { ... } fn set_font_weight_table(self, value: impl Into<Array<TMP_FontWeightPair>>) { ... } fn awake(self) { ... } fn read_font_asset_definition(self) { ... } fn initialize_dictionary_lookup_tables(self) { ... } fn initialize_glyph_lookup_dictionary(self) { ... } fn initialize_character_lookup_dictionary(self) { ... } fn initialize_glyph_paid_adjustment_records_lookup_dictionary(self) { ... } fn add_synthesized_characters_and_face_metrics(self) { ... } fn add_synthesized_character( self, unicode: impl Into<u32>, is_font_face_loaded: impl Into<bool>, add_immediately: impl Into<bool>, ) { ... } fn add_character_to_lookup_cache( self, unicode: impl Into<u32>, character: impl Into<TMP_Character>, ) { ... } fn sort_character_table(self) { ... } fn sort_glyph_table(self) { ... } fn sort_font_feature_table(self) { ... } fn sort_all_tables(self) { ... } fn has_character(self, character: impl Into<i32>) -> bool { ... } fn has_character_2( self, character: impl Into<u16>, search_fallbacks: impl Into<bool>, try_add_character: impl Into<bool>, ) -> bool { ... } fn has_character_internal( self, character: impl Into<u32>, search_fallbacks: impl Into<bool>, try_add_character: impl Into<bool>, ) -> bool { ... } fn has_characters( self, text: impl Into<Il2CppString>, ) -> (bool, List_1<u16>) { ... } fn has_characters_2( self, text: impl Into<Il2CppString>, search_fallbacks: impl Into<bool>, try_add_character: impl Into<bool>, ) -> (bool, Array<u32>) { ... } fn has_characters_3(self, text: impl Into<Il2CppString>) -> bool { ... } fn get_glyph_index(self, unicode: impl Into<u32>) -> u32 { ... } fn try_add_characters( self, unicodes: impl Into<Array<u32>>, include_font_features: impl Into<bool>, ) -> bool { ... } fn try_add_characters_2( self, unicodes: impl Into<Array<u32>>, include_font_features: impl Into<bool>, ) -> (bool, Array<u32>) { ... } fn try_add_characters_3( self, characters: impl Into<Il2CppString>, include_font_features: impl Into<bool>, ) -> bool { ... } fn try_add_characters_4( self, characters: impl Into<Il2CppString>, include_font_features: impl Into<bool>, ) -> (bool, Il2CppString) { ... } fn try_add_character_internal( self, unicode: impl Into<u32>, ) -> (bool, TMP_Character) { ... } fn try_get_character_and_queue_render_to_texture( self, unicode: impl Into<u32>, ) -> (bool, TMP_Character) { ... } fn try_add_glyphs_to_atlas_textures(self) { ... } fn try_add_glyphs_to_new_atlas_texture(self) -> bool { ... } fn setup_new_atlas_texture(self) { ... } fn update_atlas_texture(self) { ... } fn update_glyph_adjustment_records(self) { ... } fn update_glyph_adjustment_records_2( self, glyph_indexes: impl Into<Array<u32>>, ) { ... } fn update_glyph_adjustment_records_3( self, glyph_indexes: impl Into<List_1<u32>>, ) { ... } fn update_glyph_adjustment_records_4( self, new_glyph_indexes: impl Into<List_1<u32>>, all_glyph_indexes: impl Into<List_1<u32>>, ) { ... } fn copy_list_data_to_array<M0: IlType + Copy + ClassIdentity>( self, src_list: impl Into<List_1<M0>>, dst_array: impl Into<*mut Array<M0>>, ) { ... } fn clear_font_asset_data(self, set_atlas_size_to_zero: impl Into<bool>) { ... } fn clear_font_asset_data_internal(self) { ... } fn update_font_asset_data(self) { ... } fn clear_font_asset_tables(self) { ... } fn clear_atlas_textures(self, set_atlas_size_to_zero: impl Into<bool>) { ... } fn upgrade_font_asset(self) { ... } fn upgrade_glyph_adjustment_table_to_font_feature_table(self) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_version(self) -> Il2CppString

get_version() overload

Source

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

set_version(::unity::Il2CppString) overload

Source

fn get_source_font_file(self) -> Font

get_sourceFontFile() overload

Source

fn set_source_font_file(self, value: impl Into<Font>)

set_sourceFontFile(crate::unity_engine::font::Font) overload

Source

fn get_atlas_population_mode(self) -> AtlasPopulationMode

get_atlasPopulationMode() overload

Source

fn set_atlas_population_mode(self, value: impl Into<AtlasPopulationMode>)

set_atlasPopulationMode(crate::tm_pro::atlaspopulationmode::AtlasPopulationMode) overload

Source

fn get_face_info(self) -> FaceInfo

get_faceInfo() overload

Source

fn set_face_info(self, value: impl Into<FaceInfo>)

set_faceInfo(crate::unity_engine::text_core::faceinfo::FaceInfo) overload

Source

fn get_glyph_table(self) -> List_1<Glyph>

get_glyphTable() overload

Source

fn set_glyph_table(self, value: impl Into<List_1<Glyph>>)

set_glyphTable(crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyph::Glyph>) overload

Source

fn get_glyph_lookup_table(self) -> Dictionary_2<u32, Glyph>

get_glyphLookupTable() overload

Source

fn get_character_table(self) -> List_1<TMP_Character>

get_characterTable() overload

Source

fn set_character_table(self, value: impl Into<List_1<TMP_Character>>)

set_characterTable(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_character::TMP_Character>) overload

Source

fn get_character_lookup_table(self) -> Dictionary_2<u32, TMP_Character>

get_characterLookupTable() overload

Source

fn get_atlas_texture(self) -> Texture2D

get_atlasTexture() overload

Source

fn get_atlas_textures(self) -> Array<Texture2D>

get_atlasTextures() overload

Source

fn set_atlas_textures(self, value: impl Into<Array<Texture2D>>)

set_atlasTextures(::unity::Array<crate::unity_engine::texture2d::Texture2D>) overload

Source

fn get_atlas_texture_count(self) -> i32

get_atlasTextureCount() overload

Source

fn get_is_multi_atlas_textures_enabled(self) -> bool

get_isMultiAtlasTexturesEnabled() overload

Source

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

set_isMultiAtlasTexturesEnabled(bool) overload

Source

fn get_clear_dynamic_data_on_build(self) -> bool

get_clearDynamicDataOnBuild() overload

Source

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

set_clearDynamicDataOnBuild(bool) overload

Source

fn get_used_glyph_rects(self) -> List_1<GlyphRect>

get_usedGlyphRects() overload

Source

fn set_used_glyph_rects(self, value: impl Into<List_1<GlyphRect>>)

set_usedGlyphRects(crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect>) overload

Source

fn get_free_glyph_rects(self) -> List_1<GlyphRect>

get_freeGlyphRects() overload

Source

fn set_free_glyph_rects(self, value: impl Into<List_1<GlyphRect>>)

set_freeGlyphRects(crate::system::collections::generic::list_1::List_1<crate::unity_engine::text_core::glyphrect::GlyphRect>) overload

Source

fn get_font_info(self) -> FaceInfo_Legacy

get_fontInfo() overload

Source

fn get_atlas_width(self) -> i32

get_atlasWidth() overload

Source

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

set_atlasWidth(i32) overload

Source

fn get_atlas_height(self) -> i32

get_atlasHeight() overload

Source

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

set_atlasHeight(i32) overload

Source

fn get_atlas_padding(self) -> i32

get_atlasPadding() overload

Source

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

set_atlasPadding(i32) overload

Source

fn get_atlas_render_mode(self) -> GlyphRenderMode

get_atlasRenderMode() overload

Source

fn set_atlas_render_mode(self, value: impl Into<GlyphRenderMode>)

set_atlasRenderMode(crate::unity_engine::text_core::low_level::glyphrendermode::GlyphRenderMode) overload

Source

fn get_font_feature_table(self) -> TMP_FontFeatureTable

get_fontFeatureTable() overload

Source

fn set_font_feature_table(self, value: impl Into<TMP_FontFeatureTable>)

set_fontFeatureTable(crate::tm_pro::tmp_fontfeaturetable::TMP_FontFeatureTable) overload

Source

fn get_fallback_font_asset_table(self) -> List_1<TMP_FontAsset>

get_fallbackFontAssetTable() overload

Source

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

set_fallbackFontAssetTable(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_fontasset::TMP_FontAsset>) overload

Source

fn get_creation_settings(self) -> FontAssetCreationSettings

get_creationSettings() overload

Source

fn set_creation_settings(self, value: impl Into<FontAssetCreationSettings>)

set_creationSettings(crate::tm_pro::fontassetcreationsettings::FontAssetCreationSettings) overload

Source

fn get_font_weight_table(self) -> Array<TMP_FontWeightPair>

get_fontWeightTable() overload

Source

fn set_font_weight_table(self, value: impl Into<Array<TMP_FontWeightPair>>)

set_fontWeightTable(::unity::Array<crate::tm_pro::tmp_fontweightpair::TMP_FontWeightPair>) overload

Source

fn awake(self)

Awake() overload

Source

fn read_font_asset_definition(self)

ReadFontAssetDefinition() overload

Source

fn initialize_dictionary_lookup_tables(self)

InitializeDictionaryLookupTables() overload

Source

fn initialize_glyph_lookup_dictionary(self)

InitializeGlyphLookupDictionary() overload

Source

fn initialize_character_lookup_dictionary(self)

InitializeCharacterLookupDictionary() overload

Source

fn initialize_glyph_paid_adjustment_records_lookup_dictionary(self)

InitializeGlyphPaidAdjustmentRecordsLookupDictionary() overload

Source

fn add_synthesized_characters_and_face_metrics(self)

AddSynthesizedCharactersAndFaceMetrics() overload

Source

fn add_synthesized_character( self, unicode: impl Into<u32>, is_font_face_loaded: impl Into<bool>, add_immediately: impl Into<bool>, )

AddSynthesizedCharacter(u32, bool, bool) overload

Source

fn add_character_to_lookup_cache( self, unicode: impl Into<u32>, character: impl Into<TMP_Character>, )

AddCharacterToLookupCache(u32, crate::tm_pro::tmp_character::TMP_Character) overload

Source

fn sort_character_table(self)

SortCharacterTable() overload

Source

fn sort_glyph_table(self)

SortGlyphTable() overload

Source

fn sort_font_feature_table(self)

SortFontFeatureTable() overload

Source

fn sort_all_tables(self)

SortAllTables() overload

Source

fn has_character(self, character: impl Into<i32>) -> bool

HasCharacter(i32) overload

Source

fn has_character_2( self, character: impl Into<u16>, search_fallbacks: impl Into<bool>, try_add_character: impl Into<bool>, ) -> bool

HasCharacter(u16, bool, bool) overload

Source

fn has_character_internal( self, character: impl Into<u32>, search_fallbacks: impl Into<bool>, try_add_character: impl Into<bool>, ) -> bool

HasCharacter_Internal(u32, bool, bool) overload

Source

fn has_characters(self, text: impl Into<Il2CppString>) -> (bool, List_1<u16>)

HasCharacters(::unity::Il2CppString, *mutcrate::system::collections::generic::list_1::List_1<u16>) overload

Source

fn has_characters_2( self, text: impl Into<Il2CppString>, search_fallbacks: impl Into<bool>, try_add_character: impl Into<bool>, ) -> (bool, Array<u32>)

HasCharacters(::unity::Il2CppString, *mut::unity::Array<u32>, bool, bool) overload

Source

fn has_characters_3(self, text: impl Into<Il2CppString>) -> bool

HasCharacters(::unity::Il2CppString) overload

Source

fn get_glyph_index(self, unicode: impl Into<u32>) -> u32

GetGlyphIndex(u32) overload

Source

fn try_add_characters( self, unicodes: impl Into<Array<u32>>, include_font_features: impl Into<bool>, ) -> bool

TryAddCharacters(::unity::Array<u32>, bool) overload

Source

fn try_add_characters_2( self, unicodes: impl Into<Array<u32>>, include_font_features: impl Into<bool>, ) -> (bool, Array<u32>)

TryAddCharacters(::unity::Array<u32>, *mut::unity::Array<u32>, bool) overload

Source

fn try_add_characters_3( self, characters: impl Into<Il2CppString>, include_font_features: impl Into<bool>, ) -> bool

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

Source

fn try_add_characters_4( self, characters: impl Into<Il2CppString>, include_font_features: impl Into<bool>, ) -> (bool, Il2CppString)

TryAddCharacters(::unity::Il2CppString, *mut::unity::Il2CppString, bool) overload

Source

fn try_add_character_internal( self, unicode: impl Into<u32>, ) -> (bool, TMP_Character)

TryAddCharacterInternal(u32, *mutcrate::tm_pro::tmp_character::TMP_Character) overload

Source

fn try_get_character_and_queue_render_to_texture( self, unicode: impl Into<u32>, ) -> (bool, TMP_Character)

TryGetCharacter_and_QueueRenderToTexture(u32, *mutcrate::tm_pro::tmp_character::TMP_Character) overload

Source

fn try_add_glyphs_to_atlas_textures(self)

TryAddGlyphsToAtlasTextures() overload

Source

fn try_add_glyphs_to_new_atlas_texture(self) -> bool

TryAddGlyphsToNewAtlasTexture() overload

Source

fn setup_new_atlas_texture(self)

SetupNewAtlasTexture() overload

Source

fn update_atlas_texture(self)

UpdateAtlasTexture() overload

Source

fn update_glyph_adjustment_records(self)

UpdateGlyphAdjustmentRecords() overload

Source

fn update_glyph_adjustment_records_2(self, glyph_indexes: impl Into<Array<u32>>)

UpdateGlyphAdjustmentRecords(::unity::Array<u32>) overload

Source

fn update_glyph_adjustment_records_3( self, glyph_indexes: impl Into<List_1<u32>>, )

UpdateGlyphAdjustmentRecords(crate::system::collections::generic::list_1::List_1<u32>) overload

Source

fn update_glyph_adjustment_records_4( self, new_glyph_indexes: impl Into<List_1<u32>>, all_glyph_indexes: impl Into<List_1<u32>>, )

UpdateGlyphAdjustmentRecords(crate::system::collections::generic::list_1::List_1<u32>, crate::system::collections::generic::list_1::List_1<u32>) overload

Source

fn copy_list_data_to_array<M0: IlType + Copy + ClassIdentity>( self, src_list: impl Into<List_1<M0>>, dst_array: impl Into<*mut Array<M0>>, )

Source

fn clear_font_asset_data(self, set_atlas_size_to_zero: impl Into<bool>)

ClearFontAssetData(bool) overload

Source

fn clear_font_asset_data_internal(self)

ClearFontAssetDataInternal() overload

Source

fn update_font_asset_data(self)

UpdateFontAssetData() overload

Source

fn clear_font_asset_tables(self)

ClearFontAssetTables() overload

Source

fn clear_atlas_textures(self, set_atlas_size_to_zero: impl Into<bool>)

ClearAtlasTextures(bool) overload

Source

fn upgrade_font_asset(self)

UpgradeFontAsset() overload

Source

fn upgrade_glyph_adjustment_table_to_font_feature_table(self)

UpgradeGlyphAdjustmentTableToFontFeatureTable() 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_FontAsset> ITMP_FontAssetMethods for __T

Available on crate feature tm_pro-tmp_fontasset only.