pub struct MaterialColorBind {
pub material_index: u32,
pub color_type: MaterialColorType,
pub target_value: [f32; 4],
}Expand description
A material color bind: the color attribute of a material that an
expression shifts toward target_value.
Fields§
§material_index: u32The glTF material index to modify.
color_type: MaterialColorTypeThe material color property to modify.
target_value: [f32; 4]The value reached at full expression input.
Trait Implementations§
Source§impl Clone for MaterialColorBind
impl Clone for MaterialColorBind
Auto Trait Implementations§
impl Freeze for MaterialColorBind
impl RefUnwindSafe for MaterialColorBind
impl Send for MaterialColorBind
impl Sync for MaterialColorBind
impl Unpin for MaterialColorBind
impl UnsafeUnpin for MaterialColorBind
impl UnwindSafe for MaterialColorBind
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