pub struct SubmeshTopology { /* private fields */ }Expand description
Wraps the corresponding Model I/O submesh topology counterpart.
Implementations§
Source§impl SubmeshTopology
impl SubmeshTopology
Sourcepub fn new(submesh: &Submesh) -> Result<Self>
pub fn new(submesh: &Submesh) -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O submesh topology counterpart.
Sourcepub fn face_topology(&self) -> Option<MeshBuffer>
pub fn face_topology(&self) -> Option<MeshBuffer>
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn set_face_topology(&self, buffer: Option<&MeshBuffer>)
pub fn set_face_topology(&self, buffer: Option<&MeshBuffer>)
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn face_count(&self) -> usize
pub fn face_count(&self) -> usize
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn set_face_count(&self, count: usize)
pub fn set_face_count(&self, count: usize)
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn vertex_crease_indices(&self) -> Option<MeshBuffer>
pub fn vertex_crease_indices(&self) -> Option<MeshBuffer>
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn set_vertex_crease_indices(&self, buffer: Option<&MeshBuffer>)
pub fn set_vertex_crease_indices(&self, buffer: Option<&MeshBuffer>)
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn vertex_creases(&self) -> Option<MeshBuffer>
pub fn vertex_creases(&self) -> Option<MeshBuffer>
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn set_vertex_creases(&self, buffer: Option<&MeshBuffer>)
pub fn set_vertex_creases(&self, buffer: Option<&MeshBuffer>)
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn vertex_crease_count(&self) -> usize
pub fn vertex_crease_count(&self) -> usize
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn set_vertex_crease_count(&self, count: usize)
pub fn set_vertex_crease_count(&self, count: usize)
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn edge_crease_indices(&self) -> Option<MeshBuffer>
pub fn edge_crease_indices(&self) -> Option<MeshBuffer>
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn set_edge_crease_indices(&self, buffer: Option<&MeshBuffer>)
pub fn set_edge_crease_indices(&self, buffer: Option<&MeshBuffer>)
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn edge_creases(&self) -> Option<MeshBuffer>
pub fn edge_creases(&self) -> Option<MeshBuffer>
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn set_edge_creases(&self, buffer: Option<&MeshBuffer>)
pub fn set_edge_creases(&self, buffer: Option<&MeshBuffer>)
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn edge_crease_count(&self) -> usize
pub fn edge_crease_count(&self) -> usize
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Sourcepub fn set_edge_crease_count(&self, count: usize)
pub fn set_edge_crease_count(&self, count: usize)
Calls the corresponding Model I/O method on the wrapped Model I/O submesh topology counterpart.
Trait Implementations§
Source§impl Clone for SubmeshTopology
impl Clone for SubmeshTopology
Source§fn clone(&self) -> SubmeshTopology
fn clone(&self) -> SubmeshTopology
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more