Skip to main content

IGUISkinMethods

Trait IGUISkinMethods 

Source
pub trait IGUISkinMethods: IGUISkin {
Show 59 methods // Provided methods fn ctor(self) { ... } fn on_enable(self) { ... } fn get_font(self) -> Font { ... } fn set_font(self, value: impl Into<Font>) { ... } fn get_box(self) -> GUIStyle { ... } fn set_box(self, value: impl Into<GUIStyle>) { ... } fn get_label(self) -> GUIStyle { ... } fn set_label(self, value: impl Into<GUIStyle>) { ... } fn get_text_field(self) -> GUIStyle { ... } fn set_text_field(self, value: impl Into<GUIStyle>) { ... } fn get_text_area(self) -> GUIStyle { ... } fn set_text_area(self, value: impl Into<GUIStyle>) { ... } fn get_button(self) -> GUIStyle { ... } fn set_button(self, value: impl Into<GUIStyle>) { ... } fn get_toggle(self) -> GUIStyle { ... } fn set_toggle(self, value: impl Into<GUIStyle>) { ... } fn get_window(self) -> GUIStyle { ... } fn set_window(self, value: impl Into<GUIStyle>) { ... } fn get_horizontal_slider(self) -> GUIStyle { ... } fn set_horizontal_slider(self, value: impl Into<GUIStyle>) { ... } fn get_horizontal_slider_thumb(self) -> GUIStyle { ... } fn set_horizontal_slider_thumb(self, value: impl Into<GUIStyle>) { ... } fn get_horizontal_slider_thumb_extent(self) -> GUIStyle { ... } fn set_horizontal_slider_thumb_extent(self, value: impl Into<GUIStyle>) { ... } fn get_slider_mixed(self) -> GUIStyle { ... } fn set_slider_mixed(self, value: impl Into<GUIStyle>) { ... } fn get_vertical_slider(self) -> GUIStyle { ... } fn set_vertical_slider(self, value: impl Into<GUIStyle>) { ... } fn get_vertical_slider_thumb(self) -> GUIStyle { ... } fn set_vertical_slider_thumb(self, value: impl Into<GUIStyle>) { ... } fn get_vertical_slider_thumb_extent(self) -> GUIStyle { ... } fn set_vertical_slider_thumb_extent(self, value: impl Into<GUIStyle>) { ... } fn get_horizontal_scrollbar(self) -> GUIStyle { ... } fn set_horizontal_scrollbar(self, value: impl Into<GUIStyle>) { ... } fn get_horizontal_scrollbar_thumb(self) -> GUIStyle { ... } fn set_horizontal_scrollbar_thumb(self, value: impl Into<GUIStyle>) { ... } fn get_horizontal_scrollbar_left_button(self) -> GUIStyle { ... } fn set_horizontal_scrollbar_left_button(self, value: impl Into<GUIStyle>) { ... } fn get_horizontal_scrollbar_right_button(self) -> GUIStyle { ... } fn set_horizontal_scrollbar_right_button(self, value: impl Into<GUIStyle>) { ... } fn get_vertical_scrollbar(self) -> GUIStyle { ... } fn set_vertical_scrollbar(self, value: impl Into<GUIStyle>) { ... } fn get_vertical_scrollbar_thumb(self) -> GUIStyle { ... } fn set_vertical_scrollbar_thumb(self, value: impl Into<GUIStyle>) { ... } fn get_vertical_scrollbar_up_button(self) -> GUIStyle { ... } fn set_vertical_scrollbar_up_button(self, value: impl Into<GUIStyle>) { ... } fn get_vertical_scrollbar_down_button(self) -> GUIStyle { ... } fn set_vertical_scrollbar_down_button(self, value: impl Into<GUIStyle>) { ... } fn get_scroll_view(self) -> GUIStyle { ... } fn set_scroll_view(self, value: impl Into<GUIStyle>) { ... } fn get_custom_styles(self) -> Array<GUIStyle> { ... } fn set_custom_styles(self, value: impl Into<Array<GUIStyle>>) { ... } fn get_settings(self) -> GUISettings { ... } fn apply(self) { ... } fn build_style_cache(self) { ... } fn get_style(self, style_name: impl Into<Il2CppString>) -> GUIStyle { ... } fn find_style(self, style_name: impl Into<Il2CppString>) -> GUIStyle { ... } fn make_current(self) { ... } fn get_enumerator(self) -> IEnumerator { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn get_font(self) -> Font

get_font() overload

Source

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

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

Source

fn get_box(self) -> GUIStyle

get_box() overload

Source

fn set_box(self, value: impl Into<GUIStyle>)

set_box(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_label(self) -> GUIStyle

get_label() overload

Source

fn set_label(self, value: impl Into<GUIStyle>)

set_label(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_text_field(self) -> GUIStyle

get_textField() overload

Source

fn set_text_field(self, value: impl Into<GUIStyle>)

set_textField(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_text_area(self) -> GUIStyle

get_textArea() overload

Source

fn set_text_area(self, value: impl Into<GUIStyle>)

set_textArea(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_button(self) -> GUIStyle

get_button() overload

Source

fn set_button(self, value: impl Into<GUIStyle>)

set_button(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_toggle(self) -> GUIStyle

get_toggle() overload

Source

fn set_toggle(self, value: impl Into<GUIStyle>)

set_toggle(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_window(self) -> GUIStyle

get_window() overload

Source

fn set_window(self, value: impl Into<GUIStyle>)

set_window(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_horizontal_slider(self) -> GUIStyle

get_horizontalSlider() overload

Source

fn set_horizontal_slider(self, value: impl Into<GUIStyle>)

set_horizontalSlider(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_horizontal_slider_thumb(self) -> GUIStyle

get_horizontalSliderThumb() overload

Source

fn set_horizontal_slider_thumb(self, value: impl Into<GUIStyle>)

set_horizontalSliderThumb(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_horizontal_slider_thumb_extent(self) -> GUIStyle

get_horizontalSliderThumbExtent() overload

Source

fn set_horizontal_slider_thumb_extent(self, value: impl Into<GUIStyle>)

set_horizontalSliderThumbExtent(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_slider_mixed(self) -> GUIStyle

get_sliderMixed() overload

Source

fn set_slider_mixed(self, value: impl Into<GUIStyle>)

set_sliderMixed(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_vertical_slider(self) -> GUIStyle

get_verticalSlider() overload

Source

fn set_vertical_slider(self, value: impl Into<GUIStyle>)

set_verticalSlider(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_vertical_slider_thumb(self) -> GUIStyle

get_verticalSliderThumb() overload

Source

fn set_vertical_slider_thumb(self, value: impl Into<GUIStyle>)

set_verticalSliderThumb(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_vertical_slider_thumb_extent(self) -> GUIStyle

get_verticalSliderThumbExtent() overload

Source

fn set_vertical_slider_thumb_extent(self, value: impl Into<GUIStyle>)

set_verticalSliderThumbExtent(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_horizontal_scrollbar(self) -> GUIStyle

get_horizontalScrollbar() overload

Source

fn set_horizontal_scrollbar(self, value: impl Into<GUIStyle>)

set_horizontalScrollbar(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_horizontal_scrollbar_thumb(self) -> GUIStyle

get_horizontalScrollbarThumb() overload

Source

fn set_horizontal_scrollbar_thumb(self, value: impl Into<GUIStyle>)

set_horizontalScrollbarThumb(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_horizontal_scrollbar_left_button(self) -> GUIStyle

get_horizontalScrollbarLeftButton() overload

Source

fn set_horizontal_scrollbar_left_button(self, value: impl Into<GUIStyle>)

set_horizontalScrollbarLeftButton(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_horizontal_scrollbar_right_button(self) -> GUIStyle

get_horizontalScrollbarRightButton() overload

Source

fn set_horizontal_scrollbar_right_button(self, value: impl Into<GUIStyle>)

set_horizontalScrollbarRightButton(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_vertical_scrollbar(self) -> GUIStyle

get_verticalScrollbar() overload

Source

fn set_vertical_scrollbar(self, value: impl Into<GUIStyle>)

set_verticalScrollbar(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_vertical_scrollbar_thumb(self) -> GUIStyle

get_verticalScrollbarThumb() overload

Source

fn set_vertical_scrollbar_thumb(self, value: impl Into<GUIStyle>)

set_verticalScrollbarThumb(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_vertical_scrollbar_up_button(self) -> GUIStyle

get_verticalScrollbarUpButton() overload

Source

fn set_vertical_scrollbar_up_button(self, value: impl Into<GUIStyle>)

set_verticalScrollbarUpButton(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_vertical_scrollbar_down_button(self) -> GUIStyle

get_verticalScrollbarDownButton() overload

Source

fn set_vertical_scrollbar_down_button(self, value: impl Into<GUIStyle>)

set_verticalScrollbarDownButton(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_scroll_view(self) -> GUIStyle

get_scrollView() overload

Source

fn set_scroll_view(self, value: impl Into<GUIStyle>)

set_scrollView(crate::unity_engine::guistyle::GUIStyle) overload

Source

fn get_custom_styles(self) -> Array<GUIStyle>

get_customStyles() overload

Source

fn set_custom_styles(self, value: impl Into<Array<GUIStyle>>)

set_customStyles(::unity::Array<crate::unity_engine::guistyle::GUIStyle>) overload

Source

fn get_settings(self) -> GUISettings

get_settings() overload

Source

fn apply(self)

Apply() overload

Source

fn build_style_cache(self)

BuildStyleCache() overload

Source

fn get_style(self, style_name: impl Into<Il2CppString>) -> GUIStyle

GetStyle(::unity::Il2CppString) overload

Source

fn find_style(self, style_name: impl Into<Il2CppString>) -> GUIStyle

FindStyle(::unity::Il2CppString) overload

Source

fn make_current(self)

MakeCurrent() overload

Source

fn get_enumerator(self) -> IEnumerator

GetEnumerator() 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: IGUISkin> IGUISkinMethods for __T

Available on crate feature unity_engine-guiskin only.