pub trait ILODGroupMethods: ILODGroup {
Show 21 methods
// Provided methods
fn get_local_reference_point(self) -> Vector3 { ... }
fn set_local_reference_point(self, value: impl Into<Vector3>) { ... }
fn get_size(self) -> f32 { ... }
fn set_size(self, value: impl Into<f32>) { ... }
fn get_lod_count(self) -> i32 { ... }
fn get_fade_mode(self) -> LODFadeMode { ... }
fn set_fade_mode(self, value: impl Into<LODFadeMode>) { ... }
fn get_animate_cross_fading(self) -> bool { ... }
fn set_animate_cross_fading(self, value: impl Into<bool>) { ... }
fn get_enabled(self) -> bool { ... }
fn set_enabled(self, value: impl Into<bool>) { ... }
fn recalculate_bounds(self) { ... }
fn get_lo_ds(self) -> Array<LOD> { ... }
fn set_lods(self, lods: impl Into<Array<LOD>>) { ... }
fn set_lo_ds(self, lods: impl Into<Array<LOD>>) { ... }
fn force_lod(self, index: impl Into<i32>) { ... }
fn get_world_reference_point(self) -> Vector3 { ... }
fn ctor(self) { ... }
fn get_local_reference_point_injected(self) -> Vector3 { ... }
fn set_local_reference_point_injected(self) -> Vector3 { ... }
fn get_world_reference_point_injected(self) -> Vector3 { ... }
}Provided Methods§
Sourcefn get_local_reference_point(self) -> Vector3
fn get_local_reference_point(self) -> Vector3
get_localReferencePoint() overload
Sourcefn set_local_reference_point(self, value: impl Into<Vector3>)
fn set_local_reference_point(self, value: impl Into<Vector3>)
set_localReferencePoint(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_lod_count(self) -> i32
fn get_lod_count(self) -> i32
get_lodCount() overload
Sourcefn get_fade_mode(self) -> LODFadeMode
fn get_fade_mode(self) -> LODFadeMode
get_fadeMode() overload
Sourcefn set_fade_mode(self, value: impl Into<LODFadeMode>)
fn set_fade_mode(self, value: impl Into<LODFadeMode>)
set_fadeMode(crate::unity_engine::lodfademode::LODFadeMode) overload
Sourcefn get_animate_cross_fading(self) -> bool
fn get_animate_cross_fading(self) -> bool
get_animateCrossFading() overload
Sourcefn set_animate_cross_fading(self, value: impl Into<bool>)
fn set_animate_cross_fading(self, value: impl Into<bool>)
set_animateCrossFading(bool) overload
Sourcefn get_enabled(self) -> bool
fn get_enabled(self) -> bool
get_enabled() overload
Sourcefn set_enabled(self, value: impl Into<bool>)
fn set_enabled(self, value: impl Into<bool>)
set_enabled(bool) overload
Sourcefn recalculate_bounds(self)
fn recalculate_bounds(self)
RecalculateBounds() overload
Sourcefn set_lods(self, lods: impl Into<Array<LOD>>)
fn set_lods(self, lods: impl Into<Array<LOD>>)
SetLODS(::unity::Array<crate::unity_engine::lod::LOD>) overload
Sourcefn set_lo_ds(self, lods: impl Into<Array<LOD>>)
fn set_lo_ds(self, lods: impl Into<Array<LOD>>)
SetLODs(::unity::Array<crate::unity_engine::lod::LOD>) overload
Sourcefn get_world_reference_point(self) -> Vector3
fn get_world_reference_point(self) -> Vector3
get_worldReferencePoint() overload
Sourcefn get_local_reference_point_injected(self) -> Vector3
fn get_local_reference_point_injected(self) -> Vector3
get_localReferencePoint_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_local_reference_point_injected(self) -> Vector3
fn set_local_reference_point_injected(self) -> Vector3
set_localReferencePoint_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_world_reference_point_injected(self) -> Vector3
fn get_world_reference_point_injected(self) -> Vector3
get_worldReferencePoint_Injected(*mutcrate::unity_engine::vector3::Vector3) 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: ILODGroup> ILODGroupMethods for __T
unity_engine-lodgroup only.