pub struct BoneFlags {
pub ignore_parent_translate: bool,
pub ignore_parent_scale: bool,
pub ignore_parent_rotation: bool,
pub spherical_billboard: bool,
pub cylindrical_billboard_lock_x: bool,
pub cylindrical_billboard_lock_y: bool,
pub cylindrical_billboard_lock_z: bool,
}Expand description
Bone flags for transform computation
Fields§
§ignore_parent_translate: boolDon’t inherit parent translation
ignore_parent_scale: boolDon’t inherit parent scale
ignore_parent_rotation: boolDon’t inherit parent rotation
spherical_billboard: boolSpherical billboard (always faces camera)
cylindrical_billboard_lock_x: boolCylindrical billboard locked to X axis
cylindrical_billboard_lock_y: boolCylindrical billboard locked to Y axis
cylindrical_billboard_lock_z: boolCylindrical billboard locked to Z axis
Implementations§
Trait Implementations§
impl Copy for BoneFlags
Auto Trait Implementations§
impl Freeze for BoneFlags
impl RefUnwindSafe for BoneFlags
impl Send for BoneFlags
impl Sync for BoneFlags
impl Unpin for BoneFlags
impl UnwindSafe for BoneFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().