pub struct AvatarImportValidation {
pub compatible: bool,
pub vertex_count: usize,
pub bone_count: usize,
pub animation_count: usize,
pub animation_duration: f32,
pub has_skin_weights: bool,
pub errors: Vec<String>,
pub warnings: Vec<String>,
}Expand description
Result of validating an FBX file for avatar use.
Fields§
§compatible: boolTrue if the FBX is compatible with the Dreamwell avatar pipeline.
vertex_count: usizeNumber of mesh vertices found.
bone_count: usizeNumber of skeleton bones found.
animation_count: usizeNumber of animation clips found.
animation_duration: f32Duration of the primary animation in seconds.
has_skin_weights: boolWhether skin weights were found.
errors: Vec<String>Errors that prevent use.
warnings: Vec<String>Non-fatal warnings.
Trait Implementations§
Source§impl Clone for AvatarImportValidation
impl Clone for AvatarImportValidation
Source§fn clone(&self) -> AvatarImportValidation
fn clone(&self) -> AvatarImportValidation
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 moreAuto Trait Implementations§
impl Freeze for AvatarImportValidation
impl RefUnwindSafe for AvatarImportValidation
impl Send for AvatarImportValidation
impl Sync for AvatarImportValidation
impl Unpin for AvatarImportValidation
impl UnsafeUnpin for AvatarImportValidation
impl UnwindSafe for AvatarImportValidation
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