Skip to main content

ILightmapDataMethods

Trait ILightmapDataMethods 

Source
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§

Source

fn get_lightmap_color(self) -> Texture2D

get_lightmapColor() overload

Source

fn set_lightmap_color(self, value: impl Into<Texture2D>)

set_lightmapColor(crate::unity_engine::texture2d::Texture2D) overload

Source

fn set_lightmap_dir(self, value: impl Into<Texture2D>)

set_lightmapDir(crate::unity_engine::texture2d::Texture2D) overload

Source

fn get_shadow_mask(self) -> Texture2D

get_shadowMask() overload

Source

fn set_shadow_mask(self, value: impl Into<Texture2D>)

set_shadowMask(crate::unity_engine::texture2d::Texture2D) overload

Source

fn ctor(self)

.ctor() 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§

Source§

impl<__T: ILightmapData> ILightmapDataMethods for __T

Available on crate feature unity_engine-lightmapdata only.