pub struct CompositeData {
pub blend_mode: BlendMode,
pub tint: [f32; 3],
pub screen_tint: [f32; 3],
pub opacity: f32,
pub mask: Vec<Mask>,
pub mask_threshold: f32,
pub propagate_meshgroup: Option<bool>,
}Expand description
Visual container data (groups nodes with shared properties).
Fields§
§blend_mode: BlendModeBlend mode for the entire group.
tint: [f32; 3]Additive tint applied to the entire group.
screen_tint: [f32; 3]Group screen tint.
opacity: f32Group global opacity.
mask: Vec<Mask>List of masks.
mask_threshold: f32Alpha clipping threshold.
propagate_meshgroup: Option<bool>If true, propagates meshgroup properties to children.
Trait Implementations§
Source§impl Clone for CompositeData
impl Clone for CompositeData
Source§fn clone(&self) -> CompositeData
fn clone(&self) -> CompositeData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompositeData
impl Debug for CompositeData
Source§impl Default for CompositeData
impl Default for CompositeData
Source§fn default() -> CompositeData
fn default() -> CompositeData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompositeData
impl RefUnwindSafe for CompositeData
impl Send for CompositeData
impl Sync for CompositeData
impl Unpin for CompositeData
impl UnsafeUnpin for CompositeData
impl UnwindSafe for CompositeData
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