#[non_exhaustive]pub struct AdditionalInfluenceSetMeasurements {
pub set_index: u32,
pub joints_present: bool,
pub weights_present: bool,
pub joints_without_weights_present: bool,
pub weights_without_joints_present: bool,
}Expand description
Presence of one non-primary skin-influence attribute set in a mesh definition.
The two sides are reported independently so malformed or partial source declarations remain observable without assigning them skinning semantics. The mismatch flags preserve that evidence when independent primitive declarations make the aggregate sides appear paired.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.set_index: u32glTF attribute-set number (n >= 1).
joints_present: boolWhether any primitive declares JOINTS_n.
weights_present: boolWhether any primitive declares WEIGHTS_n.
joints_without_weights_present: boolWhether any primitive declares JOINTS_n without WEIGHTS_n on that
same primitive.
weights_without_joints_present: boolWhether any primitive declares WEIGHTS_n without JOINTS_n on that
same primitive.
Trait Implementations§
Source§impl Clone for AdditionalInfluenceSetMeasurements
impl Clone for AdditionalInfluenceSetMeasurements
Source§fn clone(&self) -> AdditionalInfluenceSetMeasurements
fn clone(&self) -> AdditionalInfluenceSetMeasurements
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 moreimpl Copy for AdditionalInfluenceSetMeasurements
Source§impl<'de> Deserialize<'de> for AdditionalInfluenceSetMeasurements
impl<'de> Deserialize<'de> for AdditionalInfluenceSetMeasurements
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AdditionalInfluenceSetMeasurements
impl StructuralPartialEq for AdditionalInfluenceSetMeasurements
Auto Trait Implementations§
impl Freeze for AdditionalInfluenceSetMeasurements
impl RefUnwindSafe for AdditionalInfluenceSetMeasurements
impl Send for AdditionalInfluenceSetMeasurements
impl Sync for AdditionalInfluenceSetMeasurements
impl Unpin for AdditionalInfluenceSetMeasurements
impl UnsafeUnpin for AdditionalInfluenceSetMeasurements
impl UnwindSafe for AdditionalInfluenceSetMeasurements
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