Struct rin::blender::scene_data::bones::Bone[][src]

pub struct Bone { /* fields omitted */ }

Implementations

impl Bone[src]

pub fn new(
    bone: &Object<'_>,
    pose: &Option<Object<'_>>,
    parent: Option<&Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>>
) -> Bone
[src]

pub fn vec(
    &self
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]

pub fn bone_roll(&self) -> Rad<f32>[src]

pub fn head(
    &self
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]

pub fn tail(
    &self
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]

pub fn skeleton_head(
    &self
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]

pub fn skeleton_tail(
    &self
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]

pub fn head_radius(&self) -> f32[src]

pub fn tail_radius(&self) -> f32[src]

pub fn name(&self) -> &str[src]

pub fn rest_mat(
    &self
) -> &Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
[src]

pub fn transformations(&self) -> &Transformations[src]

pub fn inv_rest_mat(
    &self
) -> &Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
[src]

pub fn inv_rest_mat3(
    &self
) -> &Matrix<f32, U3, U3, <DefaultAllocator as Allocator<f32, U3, U3>>::Buffer>
[src]

pub fn animated_id(&self) -> usize[src]

pub fn flags(&self) -> Flags[src]

pub fn original_rot_mode(&self) -> RotMode[src]

Trait Implementations

impl Clone for Bone[src]

impl<'de> Deserialize<'de> for Bone[src]

impl Serialize for Bone[src]

Auto Trait Implementations

impl RefUnwindSafe for Bone

impl Send for Bone

impl Sync for Bone

impl Unpin for Bone

impl UnwindSafe for Bone

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> Serialize for T where
    T: Serialize + ?Sized
[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]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]