pub trait ILightProbesMethods: ILightProbes {
// Provided methods
fn ctor(self) { ... }
fn get_positions(self) -> Array<Vector3> { ... }
fn get_baked_probes(self) -> Array<SphericalHarmonicsL2> { ... }
fn set_baked_probes(self, value: impl Into<Array<SphericalHarmonicsL2>>) { ... }
fn get_count(self) -> i32 { ... }
fn get_cell_count(self) -> i32 { ... }
fn get_interpolated_light_probe(
self,
position: impl Into<Vector3>,
renderer: impl Into<Renderer>,
coefficients: impl Into<Array<f32>>,
) { ... }
fn get_coefficients(self) -> Array<f32> { ... }
fn set_coefficients(self, value: impl Into<Array<f32>>) { ... }
}Provided Methods§
Sourcefn get_positions(self) -> Array<Vector3>
fn get_positions(self) -> Array<Vector3>
get_positions() overload
Sourcefn get_baked_probes(self) -> Array<SphericalHarmonicsL2>
fn get_baked_probes(self) -> Array<SphericalHarmonicsL2>
get_bakedProbes() overload
Sourcefn set_baked_probes(self, value: impl Into<Array<SphericalHarmonicsL2>>)
fn set_baked_probes(self, value: impl Into<Array<SphericalHarmonicsL2>>)
set_bakedProbes(::unity::Array<crate::unity_engine::rendering::sphericalharmonicsl2::SphericalHarmonicsL2>) overload
Sourcefn get_cell_count(self) -> i32
fn get_cell_count(self) -> i32
get_cellCount() overload
Sourcefn get_interpolated_light_probe(
self,
position: impl Into<Vector3>,
renderer: impl Into<Renderer>,
coefficients: impl Into<Array<f32>>,
)
fn get_interpolated_light_probe( self, position: impl Into<Vector3>, renderer: impl Into<Renderer>, coefficients: impl Into<Array<f32>>, )
GetInterpolatedLightProbe(crate::unity_engine::vector3::Vector3, crate::unity_engine::renderer::Renderer, ::unity::Array<f32>) overload
Sourcefn get_coefficients(self) -> Array<f32>
fn get_coefficients(self) -> Array<f32>
get_coefficients() overload
Sourcefn set_coefficients(self, value: impl Into<Array<f32>>)
fn set_coefficients(self, value: impl Into<Array<f32>>)
set_coefficients(::unity::Array<f32>) 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: ILightProbes> ILightProbesMethods for __T
Available on crate feature
unity_engine-lightprobes only.