pub struct MaterialOptions {
pub blend: BlendMode,
pub bounds_padding: f32,
pub casts_shadows: bool,
pub receives_shadows: bool,
}Fields§
§blend: BlendMode§bounds_padding: f32Authored local-space bound expansion for vertex displacement.
casts_shadows: bool§receives_shadows: boolTrait Implementations§
Source§impl Clone for MaterialOptions
impl Clone for MaterialOptions
Source§fn clone(&self) -> MaterialOptions
fn clone(&self) -> MaterialOptions
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 MaterialOptions
impl Debug for MaterialOptions
Source§impl Default for MaterialOptions
impl Default for MaterialOptions
Source§fn default() -> MaterialOptions
fn default() -> MaterialOptions
Returns the “default value” for a type. Read more
impl Copy for MaterialOptions
Auto Trait Implementations§
impl Freeze for MaterialOptions
impl RefUnwindSafe for MaterialOptions
impl Send for MaterialOptions
impl Sync for MaterialOptions
impl Unpin for MaterialOptions
impl UnwindSafe for MaterialOptions
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