pub struct AvatarAssetFix {
pub scale: Option<f32>,
pub rotation: Option<[f32; 3]>,
pub position: Option<[f32; 3]>,
pub bone_map: Vec<BoneRename>,
}Expand description
Per-asset load-time corrections stored on AvatarAsset.fix — fix a bad
export in data, not by re-exporting. Applied on EVERY load, before
binding, in order: scale → rotation → position, then boneMap renames.
Fields§
§scale: Option<f32>§rotation: Option<[f32; 3]>euler DEGREES [x, y, z]
position: Option<[f32; 3]>metres [x, y, z]
bone_map: Vec<BoneRename>Trait Implementations§
Source§impl Clone for AvatarAssetFix
impl Clone for AvatarAssetFix
Source§impl Debug for AvatarAssetFix
impl Debug for AvatarAssetFix
Source§impl Default for AvatarAssetFix
impl Default for AvatarAssetFix
Source§impl<'de> Deserialize<'de> for AvatarAssetFix
impl<'de> Deserialize<'de> for AvatarAssetFix
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
Source§impl PartialEq for AvatarAssetFix
impl PartialEq for AvatarAssetFix
Source§impl Serialize for AvatarAssetFix
impl Serialize for AvatarAssetFix
impl StructuralPartialEq for AvatarAssetFix
Auto Trait Implementations§
impl Freeze for AvatarAssetFix
impl RefUnwindSafe for AvatarAssetFix
impl Send for AvatarAssetFix
impl Sync for AvatarAssetFix
impl Unpin for AvatarAssetFix
impl UnsafeUnpin for AvatarAssetFix
impl UnwindSafe for AvatarAssetFix
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