Struct fbxcel_dom::v7400::object::geometry::MeshHandle
source · pub struct MeshHandle<'a> { /* private fields */ }
Expand description
Geometry
node handle (mesh).
Implementations§
source§impl<'a> MeshHandle<'a>
impl<'a> MeshHandle<'a>
sourcepub fn models(&self) -> impl Iterator<Item = MeshHandle<'a>>
pub fn models(&self) -> impl Iterator<Item = MeshHandle<'a>>
Returns an iterator of parent model objects.
sourcepub fn skins(&self) -> impl Iterator<Item = SkinHandle<'a>>
pub fn skins(&self) -> impl Iterator<Item = SkinHandle<'a>>
Returns a child deformer skin if available.
sourcepub fn blendshapes(&self) -> impl Iterator<Item = BlendShapeHandle<'a>>
pub fn blendshapes(&self) -> impl Iterator<Item = BlendShapeHandle<'a>>
Returns a child deformer blendshapes if available.
sourcepub fn polygon_vertices(&self) -> Result<PolygonVertices<'a>, Error>
pub fn polygon_vertices(&self) -> Result<PolygonVertices<'a>, Error>
Returns polygon vertices (control point indices) and control points.
sourcepub fn layers(&self) -> impl Iterator<Item = LayerHandle<'a>>
pub fn layers(&self) -> impl Iterator<Item = LayerHandle<'a>>
Returns layers.
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§
source§impl<'a> Clone for MeshHandle<'a>
impl<'a> Clone for MeshHandle<'a>
source§fn clone(&self) -> MeshHandle<'a>
fn clone(&self) -> MeshHandle<'a>
Returns a copy 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 more