#[non_exhaustive]pub enum FbxWarningCode {
MalformedNullRecord,
MissingNodeEndOffset,
PropertyListLengthMismatch,
NodeEndPastEndOfFile,
UnsupportedTransformInherit,
UnsupportedLayerMapping,
DroppedLayerElement,
NameKeyedObjectModel,
DroppedNodeAttribute,
}fbx-reader or fbx-writer only.Expand description
What kind of deviation or loss a FbxWarning describes.
Codes are stable identifiers; the human-readable text lives on the warning itself and may be reworded.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
MalformedNullRecord
A terminator record carried non-zero property fields.
MissingNodeEndOffset
A named node declared no end offset, so it was read without children.
PropertyListLengthMismatch
A node’s property list ended somewhere other than its header declared.
NodeEndPastEndOfFile
A node record claimed to end past the end of the file.
UnsupportedTransformInherit
A Model used an FBX inheritance rule the imported transform cannot express, so its local TRS is missing that rule.
UnsupportedLayerMapping
A layer element used a mapping or reference mode that could not be resolved, so default values were substituted.
DroppedLayerElement
A geometry carried a LayerElement* this crate does not import, so
that layer’s data is absent from the decoded scene.
NameKeyedObjectModel
The document uses the pre-7000 object model, which identifies objects
and connections by name instead of by id, so nothing was imported from
its Objects block.
DroppedNodeAttribute
A node carried a NodeAttribute class this crate does not represent,
so the attribute’s own properties are absent from the scene.
Implementations§
Source§impl FbxWarningCode
impl FbxWarningCode
Sourcepub fn is_data_loss(self) -> bool
pub fn is_data_loss(self) -> bool
Whether data present in the file is absent from the decoded scene.
Container-layout notices describe a tolerated deviation but no loss; the semantic codes describe something the caller will not find in the result. A converter can use this to decide what to surface downstream.
Trait Implementations§
Source§impl Clone for FbxWarningCode
impl Clone for FbxWarningCode
Source§fn clone(&self) -> FbxWarningCode
fn clone(&self) -> FbxWarningCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more