#[repr(C)]pub struct DrawingSettings {}Expand description
Implementations§
Source§impl DrawingSettings
impl DrawingSettings
pub fn max_shader_passes() -> i32
pub fn set_max_shader_passes(value: i32)
Source§impl DrawingSettings
impl DrawingSettings
Sourcepub fn ctor(
&mut self,
shader_pass_name: impl Into<ShaderTagId>,
sorting_settings: impl Into<SortingSettings>,
)
pub fn ctor( &mut self, shader_pass_name: impl Into<ShaderTagId>, sorting_settings: impl Into<SortingSettings>, )
.ctor(crate::unity_engine::rendering::shadertagid::ShaderTagId, crate::unity_engine::rendering::sortingsettings::SortingSettings) overload
Sourcepub fn get_sorting_settings(&mut self) -> SortingSettings
pub fn get_sorting_settings(&mut self) -> SortingSettings
get_sortingSettings() overload
Sourcepub fn set_sorting_settings(&mut self, value: impl Into<SortingSettings>)
pub fn set_sorting_settings(&mut self, value: impl Into<SortingSettings>)
set_sortingSettings(crate::unity_engine::rendering::sortingsettings::SortingSettings) overload
Sourcepub fn set_per_object_data(&mut self, value: impl Into<PerObjectData>)
pub fn set_per_object_data(&mut self, value: impl Into<PerObjectData>)
set_perObjectData(crate::unity_engine::rendering::perobjectdata::PerObjectData) overload
Sourcepub fn set_enable_dynamic_batching(&mut self, value: impl Into<bool>)
pub fn set_enable_dynamic_batching(&mut self, value: impl Into<bool>)
set_enableDynamicBatching(bool) overload
Sourcepub fn set_enable_instancing(&mut self, value: impl Into<bool>)
pub fn set_enable_instancing(&mut self, value: impl Into<bool>)
set_enableInstancing(bool) overload
Sourcepub fn set_override_material(&mut self, value: impl Into<Material>)
pub fn set_override_material(&mut self, value: impl Into<Material>)
set_overrideMaterial(crate::unity_engine::material::Material) overload
Sourcepub fn set_override_material_pass_index(&mut self, value: impl Into<i32>)
pub fn set_override_material_pass_index(&mut self, value: impl Into<i32>)
set_overrideMaterialPassIndex(i32) overload
Sourcepub fn set_main_light_index(&mut self, value: impl Into<i32>)
pub fn set_main_light_index(&mut self, value: impl Into<i32>)
set_mainLightIndex(i32) overload
Sourcepub fn get_shader_pass_name(&mut self, index: impl Into<i32>) -> ShaderTagId
pub fn get_shader_pass_name(&mut self, index: impl Into<i32>) -> ShaderTagId
GetShaderPassName(i32) overload
Sourcepub fn set_shader_pass_name(
&mut self,
index: impl Into<i32>,
shader_pass_name: impl Into<ShaderTagId>,
)
pub fn set_shader_pass_name( &mut self, index: impl Into<i32>, shader_pass_name: impl Into<ShaderTagId>, )
SetShaderPassName(i32, crate::unity_engine::rendering::shadertagid::ShaderTagId) overload
Sourcepub fn equals(&mut self, other: impl Into<DrawingSettings>) -> bool
pub fn equals(&mut self, other: impl Into<DrawingSettings>) -> bool
Equals(crate::unity_engine::rendering::drawingsettings::DrawingSettings) overload
Sourcepub fn equals_2(&mut self, obj: impl Into<Object>) -> bool
pub fn equals_2(&mut self, obj: impl Into<Object>) -> bool
Equals(crate::system::object::Object) overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl DrawingSettings
impl DrawingSettings
pub fn ctor_method_info() -> &'static MethodInfo
pub fn get_sorting_settings_method_info() -> &'static MethodInfo
pub fn set_sorting_settings_method_info() -> &'static MethodInfo
pub fn set_per_object_data_method_info() -> &'static MethodInfo
pub fn set_enable_dynamic_batching_method_info() -> &'static MethodInfo
pub fn set_enable_instancing_method_info() -> &'static MethodInfo
pub fn set_override_material_method_info() -> &'static MethodInfo
pub fn set_override_material_pass_index_method_info() -> &'static MethodInfo
pub fn set_main_light_index_method_info() -> &'static MethodInfo
pub fn get_shader_pass_name_method_info() -> &'static MethodInfo
pub fn set_shader_pass_name_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
pub fn equals_2_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn cctor_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for DrawingSettings
impl ClassIdentity for DrawingSettings
Source§impl Clone for DrawingSettings
impl Clone for DrawingSettings
Source§fn clone(&self) -> DrawingSettings
fn clone(&self) -> DrawingSettings
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DrawingSettings
Auto Trait Implementations§
impl Freeze for DrawingSettings
impl RefUnwindSafe for DrawingSettings
impl Send for DrawingSettings
impl Sync for DrawingSettings
impl Unpin for DrawingSettings
impl UnwindSafe for DrawingSettings
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
§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)
clone_to_uninit)