Struct oxygengine_composite_renderer::mesh_animation_asset_protocol::MeshAnimationSequence[][src]

pub struct MeshAnimationSequence {
    pub submesh_alpha: HashMap<usize, Phase>,
    pub submesh_order: HashMap<usize, Phase>,
    pub bone_position_x: HashMap<String, Phase>,
    pub bone_position_y: HashMap<String, Phase>,
    pub bone_rotation: HashMap<String, Phase>,
    pub bone_scale_x: HashMap<String, Phase>,
    pub bone_scale_y: HashMap<String, Phase>,
    // some fields omitted
}

Fields

submesh_alpha: HashMap<usize, Phase>submesh_order: HashMap<usize, Phase>bone_position_x: HashMap<String, Phase>bone_position_y: HashMap<String, Phase>bone_rotation: HashMap<String, Phase>bone_scale_x: HashMap<String, Phase>bone_scale_y: HashMap<String, Phase>

Implementations

impl MeshAnimationSequence[src]

pub fn initialize(&mut self)[src]

pub fn length(&self) -> Scalar[src]

pub fn sample_submesh_alpha(
    &self,
    time: Scalar,
    index: usize,
    current: Scalar
) -> Scalar
[src]

pub fn sample_submesh_order(
    &self,
    time: Scalar,
    index: usize,
    current: Scalar
) -> Scalar
[src]

pub fn sample_bone_position_x(
    &self,
    time: Scalar,
    name: &str,
    current: Scalar
) -> Scalar
[src]

pub fn sample_bone_position_y(
    &self,
    time: Scalar,
    name: &str,
    current: Scalar
) -> Scalar
[src]

pub fn sample_bone_rotation(
    &self,
    time: Scalar,
    name: &str,
    current: Scalar
) -> Scalar
[src]

pub fn sample_bone_scale_x(
    &self,
    time: Scalar,
    name: &str,
    current: Scalar
) -> Scalar
[src]

pub fn sample_bone_scale_y(
    &self,
    time: Scalar,
    name: &str,
    current: Scalar
) -> Scalar
[src]

Trait Implementations

impl Clone for MeshAnimationSequence[src]

impl Debug for MeshAnimationSequence[src]

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

impl Serialize for MeshAnimationSequence[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

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

impl<T> Event for T where
    T: Send + Sync + 'static, 

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Resource for T where
    T: Any, 

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.