pub enum AttachType {
Skinned,
Bone,
}Expand description
How a part attaches to the shared skeleton.
Variants§
Skinned
Skinned mesh — rebinds to the shared skeleton’s bones by name.
Bone
Rigid prop — parents to AvatarAssetDoc::snap_bone.
Trait Implementations§
Source§impl Clone for AttachType
impl Clone for AttachType
impl Copy for AttachType
Source§impl Debug for AttachType
impl Debug for AttachType
Source§impl<'de> Deserialize<'de> for AttachType
impl<'de> Deserialize<'de> for AttachType
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 AttachType
Source§impl PartialEq for AttachType
impl PartialEq for AttachType
Source§impl Serialize for AttachType
impl Serialize for AttachType
impl StructuralPartialEq for AttachType
Auto Trait Implementations§
impl Freeze for AttachType
impl RefUnwindSafe for AttachType
impl Send for AttachType
impl Sync for AttachType
impl Unpin for AttachType
impl UnsafeUnpin for AttachType
impl UnwindSafe for AttachType
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