#[repr(C)]pub struct FontAssetCreationSettings {Show 16 fields
pub source_font_file_name: Il2CppString,
pub source_font_file_guid: Il2CppString,
pub point_size_sampling_mode: i32,
pub point_size: i32,
pub padding: i32,
pub packing_mode: i32,
pub atlas_width: i32,
pub atlas_height: i32,
pub character_set_selection_mode: i32,
pub character_sequence: Il2CppString,
pub referenced_font_asset_guid: Il2CppString,
pub referenced_text_asset_guid: Il2CppString,
pub font_style: i32,
pub font_style_modifier: f32,
pub render_mode: i32,
pub include_font_features: bool,
}Expand description
Fields§
§source_font_file_name: Il2CppString§source_font_file_guid: Il2CppString§point_size_sampling_mode: i32§point_size: i32§padding: i32§packing_mode: i32§atlas_width: i32§atlas_height: i32§character_set_selection_mode: i32§character_sequence: Il2CppString§referenced_font_asset_guid: Il2CppString§referenced_text_asset_guid: Il2CppString§font_style: i32§font_style_modifier: f32§render_mode: i32§include_font_features: boolImplementations§
Source§impl FontAssetCreationSettings
impl FontAssetCreationSettings
Sourcepub fn ctor(
&mut self,
source_font_file_guid: impl Into<Il2CppString>,
point_size: impl Into<i32>,
point_size_sampling_mode: impl Into<i32>,
padding: impl Into<i32>,
packing_mode: impl Into<i32>,
atlas_width: impl Into<i32>,
atlas_height: impl Into<i32>,
character_selection_mode: impl Into<i32>,
character_set: impl Into<Il2CppString>,
render_mode: impl Into<i32>,
)
pub fn ctor( &mut self, source_font_file_guid: impl Into<Il2CppString>, point_size: impl Into<i32>, point_size_sampling_mode: impl Into<i32>, padding: impl Into<i32>, packing_mode: impl Into<i32>, atlas_width: impl Into<i32>, atlas_height: impl Into<i32>, character_selection_mode: impl Into<i32>, character_set: impl Into<Il2CppString>, render_mode: impl Into<i32>, )
.ctor(::unity::Il2CppString, i32, i32, i32, i32, i32, i32, i32, ::unity::Il2CppString, i32) overload
Source§impl FontAssetCreationSettings
impl FontAssetCreationSettings
pub fn ctor_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl Clone for FontAssetCreationSettings
impl Clone for FontAssetCreationSettings
Source§fn clone(&self) -> FontAssetCreationSettings
fn clone(&self) -> FontAssetCreationSettings
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FontAssetCreationSettings
Auto Trait Implementations§
impl Freeze for FontAssetCreationSettings
impl RefUnwindSafe for FontAssetCreationSettings
impl !Send for FontAssetCreationSettings
impl !Sync for FontAssetCreationSettings
impl Unpin for FontAssetCreationSettings
impl UnwindSafe for FontAssetCreationSettings
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)