pub enum SkinWeights {
Bones(u32),
Unlimited,
}Expand description
How many bone influences a vertex may have under a quality level (QualitySettings’ skinWeights: 1, 2, 4 or
255 for unlimited).
Variants§
Bones(u32)
At most this many influences per vertex (1, 2 or 4).
Unlimited
Every influence a mesh stores.
Implementations§
Source§impl SkinWeights
impl SkinWeights
Sourcepub fn from_setting(value: i64) -> Result<SkinWeights>
pub fn from_setting(value: i64) -> Result<SkinWeights>
The setting value as stored.
Trait Implementations§
Source§impl Clone for SkinWeights
impl Clone for SkinWeights
impl Copy for SkinWeights
Source§impl Debug for SkinWeights
impl Debug for SkinWeights
Source§impl Display for SkinWeights
impl Display for SkinWeights
impl Eq for SkinWeights
Source§impl PartialEq for SkinWeights
impl PartialEq for SkinWeights
impl StructuralPartialEq for SkinWeights
Auto Trait Implementations§
impl Freeze for SkinWeights
impl RefUnwindSafe for SkinWeights
impl Send for SkinWeights
impl Sync for SkinWeights
impl Unpin for SkinWeights
impl UnsafeUnpin for SkinWeights
impl UnwindSafe for SkinWeights
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.