#[non_exhaustive]pub enum ScaleFieldTarget {
BoneRest {
bone: BoneId,
field: ScaleBoneRestField,
},
SourceNodeRest {
source_node_index: usize,
field: ScaleSourceRestField,
},
AnimationValues {
clip_index: usize,
track_index: usize,
bone: BoneId,
property: Property,
},
BoneInverseBind {
bone: BoneId,
},
InstanceInverseBind {
instance_index: usize,
slot: usize,
joint: BoneId,
},
MeshPositions {
mesh_index: usize,
primitive_index: usize,
},
MeshNormals {
mesh_index: usize,
primitive_index: usize,
},
}Expand description
The exact container-level target of one field disposition.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BoneRest
One normalized bone-rest field.
SourceNodeRest
One authored source-node rest field.
Fields
§
field: ScaleSourceRestFieldRest field or component group.
AnimationValues
One animation track’s stored values.
Fields
BoneInverseBind
One bone convenience inverse bind.
InstanceInverseBind
One logical instance inverse-bind slot.
Fields
MeshPositions
One primitive’s complete base-position array.
Fields
MeshNormals
One primitive’s preserved normal array.
Trait Implementations§
Source§impl Clone for ScaleFieldTarget
impl Clone for ScaleFieldTarget
Source§fn clone(&self) -> ScaleFieldTarget
fn clone(&self) -> ScaleFieldTarget
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 ScaleFieldTarget
Source§impl Debug for ScaleFieldTarget
impl Debug for ScaleFieldTarget
impl Eq for ScaleFieldTarget
Source§impl PartialEq for ScaleFieldTarget
impl PartialEq for ScaleFieldTarget
impl StructuralPartialEq for ScaleFieldTarget
Auto Trait Implementations§
impl Freeze for ScaleFieldTarget
impl RefUnwindSafe for ScaleFieldTarget
impl Send for ScaleFieldTarget
impl Sync for ScaleFieldTarget
impl Unpin for ScaleFieldTarget
impl UnsafeUnpin for ScaleFieldTarget
impl UnwindSafe for ScaleFieldTarget
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