Skip to main content

OwnedObject

Struct OwnedObject 

Source
pub struct OwnedObject {
    pub object_index: u64,
    pub name: String,
    pub type_name: String,
    pub class_name: String,
    pub properties: HashMap<String, Property>,
    pub attributes: HashMap<String, ElementAttribute>,
    pub connected_object_ids: Vec<u64>,
    pub object_property_targets: Vec<ObjectPropertyConnection>,
    pub pp_property_targets: HashMap<String, ObjectPropertyConnection>,
}
Expand description

Detached FBX object: typed Property map from Properties70, non-property subtree as ElementAttribute map (mesh Vertices, layer elements, etc.), and outgoing connection edges.

Built from Object via From; used as input to crate::objects::ClassifiedFbxObject.

Fields§

§object_index: u64

FBX object id from the Objects section (same as Object::object_index).

§name: String§type_name: String§class_name: String§properties: HashMap<String, Property>§attributes: HashMap<String, ElementAttribute>§connected_object_ids: Vec<u64>

OO destinations from this object (same as Object::connected_object_ids).

§object_property_targets: Vec<ObjectPropertyConnection>

OP targets from this object (same as Object::object_property_targets).

§pp_property_targets: HashMap<String, ObjectPropertyConnection>

For each source property name on this object, the first PP destination (Object::pp_targets) when multiple targets exist for that property.

Trait Implementations§

Source§

impl Debug for OwnedObject

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> From<Object<'a>> for OwnedObject

Source§

fn from(object: Object<'a>) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for OwnedObject

Source§

fn eq(&self, other: &OwnedObject) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<OwnedObject> for AnimationCurve

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for AnimationCurveNode

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for AnimationLayer

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for AnimationStack

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for BlendShape

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for BlendShapeChannel

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for Camera

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for CameraSwitcher

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for ClassifiedFbxObject

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for Cluster

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for LayeredTexture

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for Light

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for LimbNode

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for LineGeometry

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for Material

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for MeshGeometry

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for Model

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for NullNode

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for ShapeGeometry

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for Skin

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for Texture

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OwnedObject> for Video

Source§

type Error = FbxTypeMismatch

The type returned in the event of a conversion error.
Source§

fn try_from(o: OwnedObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl StructuralPartialEq for OwnedObject

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.