pub trait ITMP_SpriteAssetMethods: ITMP_SpriteAsset {
Show 21 methods
// Provided methods
fn get_version(self) -> Il2CppString { ... }
fn set_version(self, value: impl Into<Il2CppString>) { ... }
fn get_face_info(self) -> FaceInfo { ... }
fn set_face_info(self, value: impl Into<FaceInfo>) { ... }
fn get_sprite_character_table(self) -> List_1<TMP_SpriteCharacter> { ... }
fn set_sprite_character_table(
self,
value: impl Into<List_1<TMP_SpriteCharacter>>,
) { ... }
fn get_sprite_character_lookup_table(
self,
) -> Dictionary_2<u32, TMP_SpriteCharacter> { ... }
fn set_sprite_character_lookup_table(
self,
value: impl Into<Dictionary_2<u32, TMP_SpriteCharacter>>,
) { ... }
fn get_sprite_glyph_table(self) -> List_1<TMP_SpriteGlyph> { ... }
fn set_sprite_glyph_table(self, value: impl Into<List_1<TMP_SpriteGlyph>>) { ... }
fn awake(self) { ... }
fn get_default_sprite_material(self) -> Material { ... }
fn update_lookup_tables(self) { ... }
fn get_sprite_index_from_hashcode(self, hash_code: impl Into<i32>) -> i32 { ... }
fn get_sprite_index_from_unicode(self, unicode: impl Into<u32>) -> i32 { ... }
fn get_sprite_index_from_name(self, name: impl Into<Il2CppString>) -> i32 { ... }
fn sort_glyph_table(self) { ... }
fn sort_character_table(self) { ... }
fn sort_glyph_and_character_tables(self) { ... }
fn upgrade_sprite_asset(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_version(self) -> Il2CppString
fn get_version(self) -> Il2CppString
get_version() overload
Sourcefn set_version(self, value: impl Into<Il2CppString>)
fn set_version(self, value: impl Into<Il2CppString>)
set_version(::unity::Il2CppString) overload
Sourcefn get_face_info(self) -> FaceInfo
fn get_face_info(self) -> FaceInfo
get_faceInfo() overload
Sourcefn set_face_info(self, value: impl Into<FaceInfo>)
fn set_face_info(self, value: impl Into<FaceInfo>)
set_faceInfo(crate::unity_engine::text_core::faceinfo::FaceInfo) overload
Sourcefn get_sprite_character_table(self) -> List_1<TMP_SpriteCharacter>
fn get_sprite_character_table(self) -> List_1<TMP_SpriteCharacter>
get_spriteCharacterTable() overload
Sourcefn set_sprite_character_table(
self,
value: impl Into<List_1<TMP_SpriteCharacter>>,
)
fn set_sprite_character_table( self, value: impl Into<List_1<TMP_SpriteCharacter>>, )
set_spriteCharacterTable(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_spritecharacter::TMP_SpriteCharacter>) overload
Sourcefn get_sprite_character_lookup_table(
self,
) -> Dictionary_2<u32, TMP_SpriteCharacter>
fn get_sprite_character_lookup_table( self, ) -> Dictionary_2<u32, TMP_SpriteCharacter>
get_spriteCharacterLookupTable() overload
Sourcefn set_sprite_character_lookup_table(
self,
value: impl Into<Dictionary_2<u32, TMP_SpriteCharacter>>,
)
fn set_sprite_character_lookup_table( self, value: impl Into<Dictionary_2<u32, TMP_SpriteCharacter>>, )
set_spriteCharacterLookupTable(crate::system::collections::generic::dictionary_2::Dictionary_2<u32,crate::tm_pro::tmp_spritecharacter::TMP_SpriteCharacter>) overload
Sourcefn get_sprite_glyph_table(self) -> List_1<TMP_SpriteGlyph>
fn get_sprite_glyph_table(self) -> List_1<TMP_SpriteGlyph>
get_spriteGlyphTable() overload
Sourcefn set_sprite_glyph_table(self, value: impl Into<List_1<TMP_SpriteGlyph>>)
fn set_sprite_glyph_table(self, value: impl Into<List_1<TMP_SpriteGlyph>>)
set_spriteGlyphTable(crate::system::collections::generic::list_1::List_1<crate::tm_pro::tmp_spriteglyph::TMP_SpriteGlyph>) overload
Sourcefn get_default_sprite_material(self) -> Material
fn get_default_sprite_material(self) -> Material
GetDefaultSpriteMaterial() overload
Sourcefn update_lookup_tables(self)
fn update_lookup_tables(self)
UpdateLookupTables() overload
Sourcefn get_sprite_index_from_hashcode(self, hash_code: impl Into<i32>) -> i32
fn get_sprite_index_from_hashcode(self, hash_code: impl Into<i32>) -> i32
GetSpriteIndexFromHashcode(i32) overload
Sourcefn get_sprite_index_from_unicode(self, unicode: impl Into<u32>) -> i32
fn get_sprite_index_from_unicode(self, unicode: impl Into<u32>) -> i32
GetSpriteIndexFromUnicode(u32) overload
Sourcefn get_sprite_index_from_name(self, name: impl Into<Il2CppString>) -> i32
fn get_sprite_index_from_name(self, name: impl Into<Il2CppString>) -> i32
GetSpriteIndexFromName(::unity::Il2CppString) overload
Sourcefn sort_glyph_table(self)
fn sort_glyph_table(self)
SortGlyphTable() overload
Sourcefn sort_character_table(self)
fn sort_character_table(self)
SortCharacterTable() overload
Sourcefn sort_glyph_and_character_tables(self)
fn sort_glyph_and_character_tables(self)
SortGlyphAndCharacterTables() overload
Sourcefn upgrade_sprite_asset(self)
fn upgrade_sprite_asset(self)
UpgradeSpriteAsset() 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_SpriteAsset> ITMP_SpriteAssetMethods for __T
tm_pro-tmp_spriteasset only.