pub struct SkyMaterial {
pub base_texture: String,
pub hdr_base_texture: Option<String>,
pub surface_prop: Option<String>,
pub base_texture_transform: TextureTransform,
pub ignore_z: bool,
pub no_fog: bool,
pub no_mip: bool,
}Fields§
§base_texture: StringDefines an albedo texture.
hdr_base_texture: Option<String>Defines an albedo texture.
surface_prop: Option<String>Links the surface to a set of physical properties.
base_texture_transform: TextureTransformTransforms the texture before use in the material. This does not affect lightmaps on the surface.
ignore_z: boolIgnore z filtering
no_fog: boolPrevents fog from overdrawing a material.
no_mip: boolTrait Implementations§
Source§impl Clone for SkyMaterial
impl Clone for SkyMaterial
Source§fn clone(&self) -> SkyMaterial
fn clone(&self) -> SkyMaterial
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkyMaterial
impl Debug for SkyMaterial
Source§impl<'de> Deserialize<'de> for SkyMaterial
impl<'de> Deserialize<'de> for SkyMaterial
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SkyMaterial
impl RefUnwindSafe for SkyMaterial
impl Send for SkyMaterial
impl Sync for SkyMaterial
impl Unpin for SkyMaterial
impl UnwindSafe for SkyMaterial
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more