pub struct HumanBone {
pub m_BoneName: String,
pub m_HumanName: String,
pub m_Limit: SkeletonBoneLimit,
}Expand description
HumanBone is a sub class of the Unity engine since version 4.0.0. Exert from Unity’s scripting documentation: The mapping between a bone in the model and the conceptual bone in the Mecanim human anatomy. The names of the Mecanim human bone and the bone in the model are stored along with the limiting muscle values that constrain the bone’s rotation during animation. See Also: HumanDescription, AvatarBuilder.
Fields§
§m_BoneName: StringThe name of the bone to which the Mecanim human bone is mapped.
m_HumanName: StringThe name of the Mecanim human bone to which the bone from the model is mapped.
m_Limit: SkeletonBoneLimitThe rotation limits that define the muscle for this bone.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HumanBone
impl<'de> Deserialize<'de> for HumanBone
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
Auto Trait Implementations§
impl Freeze for HumanBone
impl RefUnwindSafe for HumanBone
impl Send for HumanBone
impl Sync for HumanBone
impl Unpin for HumanBone
impl UnwindSafe for HumanBone
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