#[repr(C)]pub struct ScriptableCullingParameters {}Expand description
Implementations§
Source§impl ScriptableCullingParameters
impl ScriptableCullingParameters
pub fn maximum_culling_plane_count() -> i32
pub fn set_maximum_culling_plane_count(value: i32)
pub fn layer_count() -> i32
pub fn set_layer_count(value: i32)
Source§impl ScriptableCullingParameters
impl ScriptableCullingParameters
Sourcepub fn set_maximum_visible_lights(&mut self, value: impl Into<i32>)
pub fn set_maximum_visible_lights(&mut self, value: impl Into<i32>)
set_maximumVisibleLights(i32) overload
Sourcepub fn get_culling_plane_count(&mut self) -> i32
pub fn get_culling_plane_count(&mut self) -> i32
get_cullingPlaneCount() overload
Sourcepub fn set_is_orthographic(&mut self, value: impl Into<bool>)
pub fn set_is_orthographic(&mut self, value: impl Into<bool>)
set_isOrthographic(bool) overload
Sourcepub fn set_shadow_distance(&mut self, value: impl Into<f32>)
pub fn set_shadow_distance(&mut self, value: impl Into<f32>)
set_shadowDistance(f32) overload
Sourcepub fn get_culling_options(&mut self) -> CullingOptions
pub fn get_culling_options(&mut self) -> CullingOptions
get_cullingOptions() overload
Sourcepub fn set_culling_options(&mut self, value: impl Into<CullingOptions>)
pub fn set_culling_options(&mut self, value: impl Into<CullingOptions>)
set_cullingOptions(crate::unity_engine::rendering::cullingoptions::CullingOptions) overload
Sourcepub fn set_stereo_view_matrix(&mut self, value: impl Into<Matrix4x4>)
pub fn set_stereo_view_matrix(&mut self, value: impl Into<Matrix4x4>)
set_stereoViewMatrix(crate::unity_engine::matrix4x4::Matrix4x4) overload
Sourcepub fn get_stereo_projection_matrix(&mut self) -> Matrix4x4
pub fn get_stereo_projection_matrix(&mut self) -> Matrix4x4
get_stereoProjectionMatrix() overload
Sourcepub fn set_stereo_projection_matrix(&mut self, value: impl Into<Matrix4x4>)
pub fn set_stereo_projection_matrix(&mut self, value: impl Into<Matrix4x4>)
set_stereoProjectionMatrix(crate::unity_engine::matrix4x4::Matrix4x4) overload
Sourcepub fn get_layer_culling_distance(&mut self, layer_index: impl Into<i32>) -> f32
pub fn get_layer_culling_distance(&mut self, layer_index: impl Into<i32>) -> f32
GetLayerCullingDistance(i32) overload
Sourcepub fn get_culling_plane(&mut self, index: impl Into<i32>) -> Plane
pub fn get_culling_plane(&mut self, index: impl Into<i32>) -> Plane
GetCullingPlane(i32) overload
Sourcepub fn equals(&mut self, other: impl Into<ScriptableCullingParameters>) -> bool
pub fn equals(&mut self, other: impl Into<ScriptableCullingParameters>) -> bool
Equals(crate::unity_engine::rendering::scriptablecullingparameters::ScriptableCullingParameters) 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 ScriptableCullingParameters
impl ScriptableCullingParameters
pub fn set_maximum_visible_lights_method_info() -> &'static MethodInfo
pub fn get_culling_plane_count_method_info() -> &'static MethodInfo
pub fn set_is_orthographic_method_info() -> &'static MethodInfo
pub fn set_shadow_distance_method_info() -> &'static MethodInfo
pub fn get_culling_options_method_info() -> &'static MethodInfo
pub fn set_culling_options_method_info() -> &'static MethodInfo
pub fn set_stereo_view_matrix_method_info() -> &'static MethodInfo
pub fn get_stereo_projection_matrix_method_info() -> &'static MethodInfo
pub fn set_stereo_projection_matrix_method_info() -> &'static MethodInfo
pub fn get_layer_culling_distance_method_info() -> &'static MethodInfo
pub fn get_culling_plane_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 Clone for ScriptableCullingParameters
impl Clone for ScriptableCullingParameters
Source§fn clone(&self) -> ScriptableCullingParameters
fn clone(&self) -> ScriptableCullingParameters
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 ScriptableCullingParameters
Auto Trait Implementations§
impl Freeze for ScriptableCullingParameters
impl RefUnwindSafe for ScriptableCullingParameters
impl Send for ScriptableCullingParameters
impl Sync for ScriptableCullingParameters
impl Unpin for ScriptableCullingParameters
impl UnwindSafe for ScriptableCullingParameters
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)