pub trait IReflectionProbeMethods: IReflectionProbe {
Show 61 methods
// Provided methods
fn get_type(self) -> ReflectionProbeType { ... }
fn set_type(self, value: impl Into<ReflectionProbeType>) { ... }
fn get_size(self) -> Vector3 { ... }
fn set_size(self, value: impl Into<Vector3>) { ... }
fn get_center(self) -> Vector3 { ... }
fn set_center(self, value: impl Into<Vector3>) { ... }
fn get_near_clip_plane(self) -> f32 { ... }
fn set_near_clip_plane(self, value: impl Into<f32>) { ... }
fn get_far_clip_plane(self) -> f32 { ... }
fn set_far_clip_plane(self, value: impl Into<f32>) { ... }
fn get_intensity(self) -> f32 { ... }
fn set_intensity(self, value: impl Into<f32>) { ... }
fn get_bounds(self) -> Bounds { ... }
fn get_hdr(self) -> bool { ... }
fn set_hdr(self, value: impl Into<bool>) { ... }
fn get_render_dynamic_objects(self) -> bool { ... }
fn set_render_dynamic_objects(self, value: impl Into<bool>) { ... }
fn get_shadow_distance(self) -> f32 { ... }
fn set_shadow_distance(self, value: impl Into<f32>) { ... }
fn get_resolution(self) -> i32 { ... }
fn set_resolution(self, value: impl Into<i32>) { ... }
fn get_culling_mask(self) -> i32 { ... }
fn set_culling_mask(self, value: impl Into<i32>) { ... }
fn get_clear_flags(self) -> ReflectionProbeClearFlags { ... }
fn set_clear_flags(self, value: impl Into<ReflectionProbeClearFlags>) { ... }
fn get_background_color(self) -> Color { ... }
fn set_background_color(self, value: impl Into<Color>) { ... }
fn get_blend_distance(self) -> f32 { ... }
fn set_blend_distance(self, value: impl Into<f32>) { ... }
fn get_box_projection(self) -> bool { ... }
fn set_box_projection(self, value: impl Into<bool>) { ... }
fn get_mode(self) -> ReflectionProbeMode { ... }
fn set_mode(self, value: impl Into<ReflectionProbeMode>) { ... }
fn get_importance(self) -> i32 { ... }
fn set_importance(self, value: impl Into<i32>) { ... }
fn get_refresh_mode(self) -> ReflectionProbeRefreshMode { ... }
fn set_refresh_mode(self, value: impl Into<ReflectionProbeRefreshMode>) { ... }
fn get_time_slicing_mode(self) -> ReflectionProbeTimeSlicingMode { ... }
fn set_time_slicing_mode(
self,
value: impl Into<ReflectionProbeTimeSlicingMode>,
) { ... }
fn get_baked_texture(self) -> Texture { ... }
fn set_baked_texture(self, value: impl Into<Texture>) { ... }
fn get_custom_baked_texture(self) -> Texture { ... }
fn set_custom_baked_texture(self, value: impl Into<Texture>) { ... }
fn get_realtime_texture(self) -> RenderTexture { ... }
fn set_realtime_texture(self, value: impl Into<RenderTexture>) { ... }
fn get_texture(self) -> Texture { ... }
fn get_texture_hdr_decode_values(self) -> Vector4 { ... }
fn reset(self) { ... }
fn render_probe(self) -> i32 { ... }
fn render_probe_2(self, target_texture: impl Into<RenderTexture>) -> i32 { ... }
fn is_finished_rendering(self, render_id: impl Into<i32>) -> bool { ... }
fn schedule_render(
self,
time_slicing_mode: impl Into<ReflectionProbeTimeSlicingMode>,
target_texture: impl Into<RenderTexture>,
) -> i32 { ... }
fn ctor(self) { ... }
fn get_size_injected(self) -> Vector3 { ... }
fn set_size_injected(self) -> Vector3 { ... }
fn get_center_injected(self) -> Vector3 { ... }
fn set_center_injected(self) -> Vector3 { ... }
fn get_bounds_injected(self) -> Bounds { ... }
fn get_background_color_injected(self) -> Color { ... }
fn set_background_color_injected(self) -> Color { ... }
fn get_texture_hdr_decode_values_injected(self) -> Vector4 { ... }
}Provided Methods§
Sourcefn get_type(self) -> ReflectionProbeType
fn get_type(self) -> ReflectionProbeType
get_type() overload
Sourcefn set_type(self, value: impl Into<ReflectionProbeType>)
fn set_type(self, value: impl Into<ReflectionProbeType>)
set_type(crate::unity_engine::rendering::reflectionprobetype::ReflectionProbeType) overload
Sourcefn set_size(self, value: impl Into<Vector3>)
fn set_size(self, value: impl Into<Vector3>)
set_size(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_center(self) -> Vector3
fn get_center(self) -> Vector3
get_center() overload
Sourcefn set_center(self, value: impl Into<Vector3>)
fn set_center(self, value: impl Into<Vector3>)
set_center(crate::unity_engine::vector3::Vector3) overload
Sourcefn get_near_clip_plane(self) -> f32
fn get_near_clip_plane(self) -> f32
get_nearClipPlane() overload
Sourcefn set_near_clip_plane(self, value: impl Into<f32>)
fn set_near_clip_plane(self, value: impl Into<f32>)
set_nearClipPlane(f32) overload
Sourcefn get_far_clip_plane(self) -> f32
fn get_far_clip_plane(self) -> f32
get_farClipPlane() overload
Sourcefn set_far_clip_plane(self, value: impl Into<f32>)
fn set_far_clip_plane(self, value: impl Into<f32>)
set_farClipPlane(f32) overload
Sourcefn get_intensity(self) -> f32
fn get_intensity(self) -> f32
get_intensity() overload
Sourcefn set_intensity(self, value: impl Into<f32>)
fn set_intensity(self, value: impl Into<f32>)
set_intensity(f32) overload
Sourcefn get_bounds(self) -> Bounds
fn get_bounds(self) -> Bounds
get_bounds() overload
Sourcefn get_render_dynamic_objects(self) -> bool
fn get_render_dynamic_objects(self) -> bool
get_renderDynamicObjects() overload
Sourcefn set_render_dynamic_objects(self, value: impl Into<bool>)
fn set_render_dynamic_objects(self, value: impl Into<bool>)
set_renderDynamicObjects(bool) overload
Sourcefn get_shadow_distance(self) -> f32
fn get_shadow_distance(self) -> f32
get_shadowDistance() overload
Sourcefn set_shadow_distance(self, value: impl Into<f32>)
fn set_shadow_distance(self, value: impl Into<f32>)
set_shadowDistance(f32) overload
Sourcefn get_resolution(self) -> i32
fn get_resolution(self) -> i32
get_resolution() overload
Sourcefn set_resolution(self, value: impl Into<i32>)
fn set_resolution(self, value: impl Into<i32>)
set_resolution(i32) overload
Sourcefn get_culling_mask(self) -> i32
fn get_culling_mask(self) -> i32
get_cullingMask() overload
Sourcefn set_culling_mask(self, value: impl Into<i32>)
fn set_culling_mask(self, value: impl Into<i32>)
set_cullingMask(i32) overload
Sourcefn get_clear_flags(self) -> ReflectionProbeClearFlags
fn get_clear_flags(self) -> ReflectionProbeClearFlags
get_clearFlags() overload
Sourcefn set_clear_flags(self, value: impl Into<ReflectionProbeClearFlags>)
fn set_clear_flags(self, value: impl Into<ReflectionProbeClearFlags>)
set_clearFlags(crate::unity_engine::rendering::reflectionprobeclearflags::ReflectionProbeClearFlags) overload
Sourcefn get_background_color(self) -> Color
fn get_background_color(self) -> Color
get_backgroundColor() overload
Sourcefn set_background_color(self, value: impl Into<Color>)
fn set_background_color(self, value: impl Into<Color>)
set_backgroundColor(crate::unity_engine::color::Color) overload
Sourcefn get_blend_distance(self) -> f32
fn get_blend_distance(self) -> f32
get_blendDistance() overload
Sourcefn set_blend_distance(self, value: impl Into<f32>)
fn set_blend_distance(self, value: impl Into<f32>)
set_blendDistance(f32) overload
Sourcefn get_box_projection(self) -> bool
fn get_box_projection(self) -> bool
get_boxProjection() overload
Sourcefn set_box_projection(self, value: impl Into<bool>)
fn set_box_projection(self, value: impl Into<bool>)
set_boxProjection(bool) overload
Sourcefn get_mode(self) -> ReflectionProbeMode
fn get_mode(self) -> ReflectionProbeMode
get_mode() overload
Sourcefn set_mode(self, value: impl Into<ReflectionProbeMode>)
fn set_mode(self, value: impl Into<ReflectionProbeMode>)
set_mode(crate::unity_engine::rendering::reflectionprobemode::ReflectionProbeMode) overload
Sourcefn get_importance(self) -> i32
fn get_importance(self) -> i32
get_importance() overload
Sourcefn set_importance(self, value: impl Into<i32>)
fn set_importance(self, value: impl Into<i32>)
set_importance(i32) overload
Sourcefn get_refresh_mode(self) -> ReflectionProbeRefreshMode
fn get_refresh_mode(self) -> ReflectionProbeRefreshMode
get_refreshMode() overload
Sourcefn set_refresh_mode(self, value: impl Into<ReflectionProbeRefreshMode>)
fn set_refresh_mode(self, value: impl Into<ReflectionProbeRefreshMode>)
set_refreshMode(crate::unity_engine::rendering::reflectionproberefreshmode::ReflectionProbeRefreshMode) overload
Sourcefn get_time_slicing_mode(self) -> ReflectionProbeTimeSlicingMode
fn get_time_slicing_mode(self) -> ReflectionProbeTimeSlicingMode
get_timeSlicingMode() overload
Sourcefn set_time_slicing_mode(self, value: impl Into<ReflectionProbeTimeSlicingMode>)
fn set_time_slicing_mode(self, value: impl Into<ReflectionProbeTimeSlicingMode>)
set_timeSlicingMode(crate::unity_engine::rendering::reflectionprobetimeslicingmode::ReflectionProbeTimeSlicingMode) overload
Sourcefn get_baked_texture(self) -> Texture
fn get_baked_texture(self) -> Texture
get_bakedTexture() overload
Sourcefn set_baked_texture(self, value: impl Into<Texture>)
fn set_baked_texture(self, value: impl Into<Texture>)
set_bakedTexture(crate::unity_engine::texture::Texture) overload
Sourcefn get_custom_baked_texture(self) -> Texture
fn get_custom_baked_texture(self) -> Texture
get_customBakedTexture() overload
Sourcefn set_custom_baked_texture(self, value: impl Into<Texture>)
fn set_custom_baked_texture(self, value: impl Into<Texture>)
set_customBakedTexture(crate::unity_engine::texture::Texture) overload
Sourcefn get_realtime_texture(self) -> RenderTexture
fn get_realtime_texture(self) -> RenderTexture
get_realtimeTexture() overload
Sourcefn set_realtime_texture(self, value: impl Into<RenderTexture>)
fn set_realtime_texture(self, value: impl Into<RenderTexture>)
set_realtimeTexture(crate::unity_engine::rendertexture::RenderTexture) overload
Sourcefn get_texture(self) -> Texture
fn get_texture(self) -> Texture
get_texture() overload
Sourcefn get_texture_hdr_decode_values(self) -> Vector4
fn get_texture_hdr_decode_values(self) -> Vector4
get_textureHDRDecodeValues() overload
Sourcefn render_probe(self) -> i32
fn render_probe(self) -> i32
RenderProbe() overload
Sourcefn render_probe_2(self, target_texture: impl Into<RenderTexture>) -> i32
fn render_probe_2(self, target_texture: impl Into<RenderTexture>) -> i32
RenderProbe(crate::unity_engine::rendertexture::RenderTexture) overload
Sourcefn is_finished_rendering(self, render_id: impl Into<i32>) -> bool
fn is_finished_rendering(self, render_id: impl Into<i32>) -> bool
IsFinishedRendering(i32) overload
Sourcefn schedule_render(
self,
time_slicing_mode: impl Into<ReflectionProbeTimeSlicingMode>,
target_texture: impl Into<RenderTexture>,
) -> i32
fn schedule_render( self, time_slicing_mode: impl Into<ReflectionProbeTimeSlicingMode>, target_texture: impl Into<RenderTexture>, ) -> i32
ScheduleRender(crate::unity_engine::rendering::reflectionprobetimeslicingmode::ReflectionProbeTimeSlicingMode, crate::unity_engine::rendertexture::RenderTexture) overload
Sourcefn get_size_injected(self) -> Vector3
fn get_size_injected(self) -> Vector3
get_size_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_size_injected(self) -> Vector3
fn set_size_injected(self) -> Vector3
set_size_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_center_injected(self) -> Vector3
fn get_center_injected(self) -> Vector3
get_center_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn set_center_injected(self) -> Vector3
fn set_center_injected(self) -> Vector3
set_center_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_bounds_injected(self) -> Bounds
fn get_bounds_injected(self) -> Bounds
get_bounds_Injected(*mutcrate::unity_engine::bounds::Bounds) overload
Sourcefn get_background_color_injected(self) -> Color
fn get_background_color_injected(self) -> Color
get_backgroundColor_Injected(*mutcrate::unity_engine::color::Color) overload
Sourcefn set_background_color_injected(self) -> Color
fn set_background_color_injected(self) -> Color
set_backgroundColor_Injected(*mutcrate::unity_engine::color::Color) overload
Sourcefn get_texture_hdr_decode_values_injected(self) -> Vector4
fn get_texture_hdr_decode_values_injected(self) -> Vector4
get_textureHDRDecodeValues_Injected(*mutcrate::unity_engine::vector4::Vector4) 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: IReflectionProbe> IReflectionProbeMethods for __T
unity_engine-reflectionprobe only.