Enum gltf::mesh::util::ReadJoints
source · pub enum ReadJoints<'a> {
U8(Iter<'a, [u8; 4]>),
U16(Iter<'a, [u16; 4]>),
}
Available on crate feature
utils
only.Expand description
Vertex joints.
Variants§
U8(Iter<'a, [u8; 4]>)
Joints of type [u8; 4]
.
Refer to the documentation on morph targets and skins for more
information.
U16(Iter<'a, [u16; 4]>)
Joints of type [u16; 4]
.
Refer to the documentation on morph targets and skins for more
information.
Implementations§
source§impl<'a> ReadJoints<'a>
impl<'a> ReadJoints<'a>
sourcepub fn into_u16(self) -> CastingIter<'a, U16> ⓘ
pub fn into_u16(self) -> CastingIter<'a, U16> ⓘ
Reinterpret joints as u16, which can fit any possible joint.
Trait Implementations§
source§impl<'a> Clone for ReadJoints<'a>
impl<'a> Clone for ReadJoints<'a>
source§fn clone(&self) -> ReadJoints<'a>
fn clone(&self) -> ReadJoints<'a>
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 more