pub enum ClassifiedFbxObject {
Show 25 variants
Model(Model),
MeshGeometry(MeshGeometry),
LineGeometry(LineGeometry),
ShapeGeometry(ShapeGeometry),
Camera(Camera),
CameraSwitcher(CameraSwitcher),
Light(Light),
NullNode(NullNode),
LimbNode(LimbNode),
Material(Material),
Texture(Texture),
LayeredTexture(LayeredTexture),
Video(Video),
Cluster(Cluster),
Skin(Skin),
BlendShape(BlendShape),
BlendShapeChannel(BlendShapeChannel),
AnimationStack(AnimationStack),
AnimationLayer(AnimationLayer),
AnimationCurve(AnimationCurve),
AnimationCurveNode(AnimationCurveNode),
UnknownDeformer(OwnedObject),
UnknownGeometry(OwnedObject),
UnknownNodeAttribute(OwnedObject),
Unknown(OwnedObject),
}Expand description
Success result of classifying an OwnedObject: a concrete wrapper or an explicit unknown bucket.
Use ClassifiedFbxObject::inner to recover the underlying OwnedObject and connections.
Variants§
Model(Model)
MeshGeometry(MeshGeometry)
LineGeometry(LineGeometry)
ShapeGeometry(ShapeGeometry)
Camera(Camera)
CameraSwitcher(CameraSwitcher)
Light(Light)
NullNode(NullNode)
LimbNode(LimbNode)
Material(Material)
Texture(Texture)
LayeredTexture(LayeredTexture)
Video(Video)
Cluster(Cluster)
Skin(Skin)
BlendShape(BlendShape)
BlendShapeChannel(BlendShapeChannel)
AnimationStack(AnimationStack)
AnimationLayer(AnimationLayer)
AnimationCurve(AnimationCurve)
AnimationCurveNode(AnimationCurveNode)
UnknownDeformer(OwnedObject)
Deformer object with unhandled class name.
UnknownGeometry(OwnedObject)
Geometry object with unhandled class name.
UnknownNodeAttribute(OwnedObject)
NodeAttribute object with unhandled class name.
Unknown(OwnedObject)
Any Objects row not mapped to a known Assimp DOM class pair.
Implementations§
Source§impl ClassifiedFbxObject
impl ClassifiedFbxObject
pub fn object_index(&self) -> u64
pub fn inner(&self) -> &OwnedObject
Trait Implementations§
Source§impl Debug for ClassifiedFbxObject
impl Debug for ClassifiedFbxObject
Source§impl PartialEq for ClassifiedFbxObject
impl PartialEq for ClassifiedFbxObject
Source§impl TryFrom<OwnedObject> for ClassifiedFbxObject
impl TryFrom<OwnedObject> for ClassifiedFbxObject
Source§type Error = FbxTypeMismatch
type Error = FbxTypeMismatch
The type returned in the event of a conversion error.
impl StructuralPartialEq for ClassifiedFbxObject
Auto Trait Implementations§
impl Freeze for ClassifiedFbxObject
impl RefUnwindSafe for ClassifiedFbxObject
impl Send for ClassifiedFbxObject
impl Sync for ClassifiedFbxObject
impl Unpin for ClassifiedFbxObject
impl UnsafeUnpin for ClassifiedFbxObject
impl UnwindSafe for ClassifiedFbxObject
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