Struct fbxcel_dom::v7400::object::model::MeshHandle
source · [−]pub struct MeshHandle<'a> { /* private fields */ }
Expand description
Model
node handle (mesh).
Implementations
sourceimpl<'a> MeshHandle<'a>
impl<'a> MeshHandle<'a>
sourcepub fn geometry(&self) -> Result<MeshHandle<'a>, Error>
pub fn geometry(&self) -> Result<MeshHandle<'a>, Error>
Returns object handle of child geometry object.
sourcepub fn materials(&self) -> impl Iterator<Item = MaterialHandle<'a>>
pub fn materials(&self) -> impl Iterator<Item = MaterialHandle<'a>>
Returns an iterator of child material objects.
Methods from Deref<Target = ModelHandle<'a>>
sourcepub fn parent_model(&self) -> Option<TypedModelHandle<'a>>
pub fn parent_model(&self) -> Option<TypedModelHandle<'a>>
Returns the parent model if available.
sourcepub fn child_models(&self) -> impl Iterator<Item = TypedModelHandle<'a>>
pub fn child_models(&self) -> impl Iterator<Item = TypedModelHandle<'a>>
Returns an iterator of the child models.
Methods from Deref<Target = ObjectHandle<'a>>
sourcepub fn object_node_id(&self) -> ObjectNodeId
pub fn object_node_id(&self) -> ObjectNodeId
Returns object node ID.
sourcepub fn node(&self) -> NodeHandle<'a>
pub fn node(&self) -> NodeHandle<'a>
Returns the node handle.
sourcepub fn get_typed(&self) -> TypedObjectHandle<'a>
pub fn get_typed(&self) -> TypedObjectHandle<'a>
Returns the object type.
sourcepub fn destination_objects(
&self
) -> impl Iterator<Item = ConnectedObjectHandle<'a>>
pub fn destination_objects(
&self
) -> impl Iterator<Item = ConnectedObjectHandle<'a>>
Returns an iterator of destination objects and connection labels.
sourcepub fn source_objects(&self) -> impl Iterator<Item = ConnectedObjectHandle<'a>>
pub fn source_objects(&self) -> impl Iterator<Item = ConnectedObjectHandle<'a>>
Returns an iterator of source objects and connection labels.
sourcepub fn direct_properties(&self) -> Option<PropertiesHandle<'a>>
pub fn direct_properties(&self) -> Option<PropertiesHandle<'a>>
Returns a handle of the directly associated properties node.
sourcepub fn properties_by_native_typename(
&self,
native_typename: &str
) -> ObjectProperties<'a>
pub fn properties_by_native_typename(
&self,
native_typename: &str
) -> ObjectProperties<'a>
Returns a proxy to object properties using the given native typename.
native_typename
should be the value of the first attribute of
the PropertyTemplate
node to be used.
Trait Implementations
sourceimpl<'a> Clone for MeshHandle<'a>
impl<'a> Clone for MeshHandle<'a>
sourcefn clone(&self) -> MeshHandle<'a>
fn clone(&self) -> MeshHandle<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for MeshHandle<'a>
impl<'a> Debug for MeshHandle<'a>
sourceimpl<'a> Deref for MeshHandle<'a>
impl<'a> Deref for MeshHandle<'a>
type Target = ModelHandle<'a>
type Target = ModelHandle<'a>
The resulting type after dereferencing.
impl<'a> Copy for MeshHandle<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for MeshHandle<'a>
impl<'a> Send for MeshHandle<'a>
impl<'a> Sync for MeshHandle<'a>
impl<'a> Unpin for MeshHandle<'a>
impl<'a> UnwindSafe for MeshHandle<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more