pub struct GUIText {Show 15 fields
pub m_Alignment: i16,
pub m_Anchor: i16,
pub m_Enabled: u8,
pub m_Font: PPtr,
pub m_FontSize: i32,
pub m_FontStyle: i32,
pub m_GameObject: PPtr,
pub m_LineSpacing: f32,
pub m_Material: PPtr,
pub m_PixelCorrect: bool,
pub m_PixelOffset: Vector2f,
pub m_TabSize: f32,
pub m_Text: String,
pub m_Color: Option<ColorRGBA>,
pub m_RichText: Option<bool>,
}
Expand description
GUIText is a class of the Unity engine since version 3.4.0.
Fields§
§m_Alignment: i16
§m_Anchor: i16
§m_Enabled: u8
§m_Font: PPtr
PPtr<Font
>: (3.4.0 - 2019.3.0a3)
m_FontSize: i32
§m_FontStyle: i32
§m_GameObject: PPtr
PPtr<GameObject
>: (3.4.0 - 2019.3.0a3)
m_LineSpacing: f32
§m_Material: PPtr
PPtr<Material
>: (3.4.0 - 2019.3.0a3)
m_PixelCorrect: bool
§m_PixelOffset: Vector2f
§m_TabSize: f32
§m_Text: String
§m_Color: Option<ColorRGBA>
ColorRGBA: (4.2.0 - 2019.3.0a3)
m_RichText: Option<bool>
bool: (4.0.0 - 2019.3.0a3)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GUIText
impl<'de> Deserialize<'de> for GUIText
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GUIText
impl RefUnwindSafe for GUIText
impl Send for GUIText
impl Sync for GUIText
impl Unpin for GUIText
impl UnwindSafe for GUIText
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more