Struct rin::blender::scene_data::bones::Skeleton [−][src]
pub struct Skeleton { /* fields omitted */ }
Implementations
impl Skeleton
[src]
impl Skeleton
[src]pub fn parse(
name: &str,
obj: &Object<'_>,
library_id: &LibraryId,
armature: &Object<'_>,
libraries: &HashMap<LibraryId, File, RandomState>
) -> Skeleton
[src]
name: &str,
obj: &Object<'_>,
library_id: &LibraryId,
armature: &Object<'_>,
libraries: &HashMap<LibraryId, File, RandomState>
) -> Skeleton
pub fn name(&self) -> &ObjectId
[src]
pub fn bones(&self) -> &HashMap<String, NodeId, RandomState>
[src]
pub fn bones_mut(&mut self) -> &mut HashMap<String, NodeId, RandomState>
[src]
pub fn bone(&self, name: &str) -> Option<&Bone>
[src]
pub fn bone_base(&self) -> &[NodeId]ⓘ
[src]
pub fn bones_tree(&self) -> &Arena<Bone>
[src]
pub fn animated_index(&self) -> &HashMap<String, usize, RandomState>
[src]
pub fn armature_mat(
&self
) -> &Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
[src]
&self
) -> &Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
pub fn deform_mat_by_name(
&self,
name: &str
) -> Option<&Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>
[src]
&self,
name: &str
) -> Option<&Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>
pub fn deform_normal_mat_by_name(
&self,
name: &str
) -> Option<&Matrix<f32, U3, U3, <DefaultAllocator as Allocator<f32, U3, U3>>::Buffer>>
[src]
&self,
name: &str
) -> Option<&Matrix<f32, U3, U3, <DefaultAllocator as Allocator<f32, U3, U3>>::Buffer>>
pub fn deform_mat(
&self,
id: usize
) -> Option<&Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>
[src]
&self,
id: usize
) -> Option<&Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>
pub fn deform_normal_mat(
&self,
id: usize
) -> Option<&Matrix<f32, U3, U3, <DefaultAllocator as Allocator<f32, U3, U3>>::Buffer>>
[src]
&self,
id: usize
) -> Option<&Matrix<f32, U3, U3, <DefaultAllocator as Allocator<f32, U3, U3>>::Buffer>>
pub fn transformations(&self) -> &Transformations
[src]
pub fn default_action(&self) -> Option<&ObjectId>
[src]
pub fn animate(&mut self, t: f64, action: &Action, doloop: bool)
[src]
pub fn animate_rot(&mut self, t: f64, action: &Action, doloop: bool)
[src]
pub fn animate_loc(&mut self, t: f64, action: &Action, doloop: bool)
[src]
pub fn changed(&self) -> bool
[src]
pub fn custom_properties(&self) -> &[Property]ⓘ
[src]
Trait Implementations
impl<'de> Deserialize<'de> for Skeleton
[src]
impl<'de> Deserialize<'de> for Skeleton
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Skeleton, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Skeleton, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl Serialize for Skeleton
[src]
impl Serialize for Skeleton
[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 Skeleton
impl Send for Skeleton
impl Sync for Skeleton
impl Unpin for Skeleton
impl UnwindSafe for Skeleton
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>,