pub struct IkChainDefinition {
pub parent_slots: Vec<Option<usize>>,
pub rest_positions: Vec<Vec3A>,
pub fixed_axes: Vec<Option<Vec3A>>,
pub target_slot: usize,
pub links: Vec<IkChainLinkDefinition>,
pub iteration_count: u32,
pub limit_angle: f32,
}Fields§
§parent_slots: Vec<Option<usize>>§rest_positions: Vec<Vec3A>§fixed_axes: Vec<Option<Vec3A>>Per-bone fixed axis used to constrain the CCD rotation axis during IK link steps. Does not project ordinary pose rotations.
target_slot: usize§links: Vec<IkChainLinkDefinition>§iteration_count: u32§limit_angle: f32Trait Implementations§
Source§impl Clone for IkChainDefinition
impl Clone for IkChainDefinition
Source§fn clone(&self) -> IkChainDefinition
fn clone(&self) -> IkChainDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IkChainDefinition
impl Debug for IkChainDefinition
Source§impl PartialEq for IkChainDefinition
impl PartialEq for IkChainDefinition
impl StructuralPartialEq for IkChainDefinition
Auto Trait Implementations§
impl Freeze for IkChainDefinition
impl RefUnwindSafe for IkChainDefinition
impl Send for IkChainDefinition
impl Sync for IkChainDefinition
impl Unpin for IkChainDefinition
impl UnsafeUnpin for IkChainDefinition
impl UnwindSafe for IkChainDefinition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more