Struct veloren_voxygen_anim::arthropod::ArthropodSkeleton
source · pub struct ArthropodSkeleton {}
Fields§
§head: Bone
§chest: Bone
§mandible_l: Bone
§mandible_r: Bone
§wing_fl: Bone
§wing_fr: Bone
§wing_bl: Bone
§wing_br: Bone
§leg_fl: Bone
§leg_fr: Bone
§leg_fcl: Bone
§leg_fcr: Bone
§leg_bcl: Bone
§leg_bcr: Bone
§leg_bl: Bone
§leg_br: Bone
Trait Implementations§
source§impl Clone for ArthropodSkeleton
impl Clone for ArthropodSkeleton
source§fn clone(&self) -> ArthropodSkeleton
fn clone(&self) -> ArthropodSkeleton
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ArthropodSkeleton
impl Default for ArthropodSkeleton
source§fn default() -> ArthropodSkeleton
fn default() -> ArthropodSkeleton
Returns the “default value” for a type. Read more
source§impl<'a, Factor> Lerp<Factor> for &'a ArthropodSkeleton
impl<'a, Factor> Lerp<Factor> for &'a ArthropodSkeleton
§type Output = ArthropodSkeleton
type Output = ArthropodSkeleton
The resulting type after performing the LERP operation.
source§fn lerp_unclamped_precise(from: Self, to: Self, factor: Factor) -> Self::Output
fn lerp_unclamped_precise(from: Self, to: Self, factor: Factor) -> Self::Output
Returns the linear interpolation of
from
to to
with factor
unconstrained,
using a possibly slower but more precise operation. Read moresource§fn lerp_unclamped(from: Self, to: Self, factor: Factor) -> Self::Output
fn lerp_unclamped(from: Self, to: Self, factor: Factor) -> Self::Output
Returns the linear interpolation of
from
to to
with factor
unconstrained,
using the supposedly fastest but less precise implementation. Read moresource§fn lerp_unclamped_inclusive_range(
range: RangeInclusive<Self>,
factor: Factor
) -> Self::Output
fn lerp_unclamped_inclusive_range( range: RangeInclusive<Self>, factor: Factor ) -> Self::Output
Version of
lerp_unclamped()
that used a single RangeInclusive
parameter instead of two values.source§fn lerp_unclamped_precise_inclusive_range(
range: RangeInclusive<Self>,
factor: Factor
) -> Self::Output
fn lerp_unclamped_precise_inclusive_range( range: RangeInclusive<Self>, factor: Factor ) -> Self::Output
Version of
lerp_unclamped_precise()
that used a single RangeInclusive
parameter instead of two values.source§impl Skeleton for ArthropodSkeleton
impl Skeleton for ArthropodSkeleton
type Attr = SkeletonAttr
type Body = Body
const BONE_COUNT: usize = 16usize
fn compute_matrices_inner( &self, base_mat: Mat4<f32>, buf: &mut [FigureBoneData; 16], body: Self::Body ) -> Offsets
fn compute_matrices( &self, base_mat: Mat4<f32>, buf: &mut [FigureBoneData; 16], body: Self::Body ) -> Offsets
Auto Trait Implementations§
impl RefUnwindSafe for ArthropodSkeleton
impl Send for ArthropodSkeleton
impl Sync for ArthropodSkeleton
impl Unpin for ArthropodSkeleton
impl UnwindSafe for ArthropodSkeleton
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<Context> SubContext<Context> for Context
impl<Context> SubContext<Context> for Context
fn sub_context(self) -> Context
§impl<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default
and panics on an error case.