Struct rin::blender::scene_data::TriMesh [−][src]
pub struct TriMesh { /* fields omitted */ }
Implementations
impl TriMesh
[src]
impl TriMesh
[src]pub fn from(
blend_mesh: &Object<'_>,
library_id: LibraryId,
mesh: &Mesh,
libraries: &HashMap<LibraryId, File, RandomState>,
scene_data: &mut SceneData
) -> TriMesh
[src]
blend_mesh: &Object<'_>,
library_id: LibraryId,
mesh: &Mesh,
libraries: &HashMap<LibraryId, File, RandomState>,
scene_data: &mut SceneData
) -> TriMesh
pub fn original_vertices(&self) -> &[Vertex]ⓘ
[src]
pub fn original_indices(&self) -> &[u32]ⓘ
[src]
pub fn submeshes(&self) -> SubMeshIter<'_>
[src]
pub fn submeshes_vertices(&self) -> &[Vec<Vertex, Global>]ⓘ
[src]
pub fn submeshes_indices(&self) -> Option<&Vec<Vec<u32, Global>, Global>>
[src]
pub fn materials(&self) -> &[Option<ObjectId>]ⓘ
[src]
pub fn key(&self) -> Option<&ObjectId>
[src]
Trait Implementations
impl<'de> Deserialize<'de> for TriMesh
[src]
impl<'de> Deserialize<'de> for TriMesh
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<TriMesh, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<TriMesh, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Serialize for TriMesh
[src]
impl Serialize for TriMesh
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for TriMesh
impl Send for TriMesh
impl Sync for TriMesh
impl Unpin for TriMesh
impl UnwindSafe for TriMesh
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,