pub struct Material {
pub base_color_texture: Option<Handle<Texture>>,
pub base_color_factor: [f32; 4],
pub normal_texture: Option<Handle<Texture>>,
pub normal_scale: f32,
pub transparent: bool,
}Fields§
§base_color_texture: Option<Handle<Texture>>§base_color_factor: [f32; 4]§normal_texture: Option<Handle<Texture>>§normal_scale: f32§transparent: boolAuto Trait Implementations§
impl Freeze for Material
impl !RefUnwindSafe for Material
impl Send for Material
impl Sync for Material
impl Unpin for Material
impl UnsafeUnpin for Material
impl !UnwindSafe for Material
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