pub struct FbxMaterialData {
pub name: String,
pub base_color: [f32; 4],
pub roughness: f32,
pub metallic: f32,
pub emissive: [f32; 3],
}Expand description
Extracted material data from FBX.
Fields§
§name: String§base_color: [f32; 4]§roughness: f32§metallic: f32§emissive: [f32; 3]Trait Implementations§
Source§impl Clone for FbxMaterialData
impl Clone for FbxMaterialData
Source§fn clone(&self) -> FbxMaterialData
fn clone(&self) -> FbxMaterialData
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 FbxMaterialData
impl Debug for FbxMaterialData
Auto Trait Implementations§
impl Freeze for FbxMaterialData
impl RefUnwindSafe for FbxMaterialData
impl Send for FbxMaterialData
impl Sync for FbxMaterialData
impl Unpin for FbxMaterialData
impl UnsafeUnpin for FbxMaterialData
impl UnwindSafe for FbxMaterialData
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