pub trait ILightmapDataMethods: ILightmapData {
// Provided methods
fn get_lightmap_color(self) -> Texture2D { ... }
fn set_lightmap_color(self, value: impl Into<Texture2D>) { ... }
fn set_lightmap_dir(self, value: impl Into<Texture2D>) { ... }
fn get_shadow_mask(self) -> Texture2D { ... }
fn set_shadow_mask(self, value: impl Into<Texture2D>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_lightmap_color(self) -> Texture2D
fn get_lightmap_color(self) -> Texture2D
get_lightmapColor() overload
Sourcefn set_lightmap_color(self, value: impl Into<Texture2D>)
fn set_lightmap_color(self, value: impl Into<Texture2D>)
set_lightmapColor(crate::unity_engine::texture2d::Texture2D) overload
Sourcefn set_lightmap_dir(self, value: impl Into<Texture2D>)
fn set_lightmap_dir(self, value: impl Into<Texture2D>)
set_lightmapDir(crate::unity_engine::texture2d::Texture2D) overload
Sourcefn get_shadow_mask(self) -> Texture2D
fn get_shadow_mask(self) -> Texture2D
get_shadowMask() overload
Sourcefn set_shadow_mask(self, value: impl Into<Texture2D>)
fn set_shadow_mask(self, value: impl Into<Texture2D>)
set_shadowMask(crate::unity_engine::texture2d::Texture2D) 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: ILightmapData> ILightmapDataMethods for __T
Available on crate feature
unity_engine-lightmapdata only.