pub struct SkeletonControllerSettings {
pub premultiplied_alpha: bool,
pub cull_direction: CullDirection,
pub color_space: ColorSpace,
}
Fields§
§premultiplied_alpha: bool
Set to true
if the textures are expected to have premultiplied alpha.
cull_direction: CullDirection
The cull direction to use for the vertices.
color_space: ColorSpace
The color space to use for the colors returned in SkeletonRenderable
or SkeletonCombinedRenderable
.
Implementations§
source§impl SkeletonControllerSettings
impl SkeletonControllerSettings
pub fn new() -> Self
pub const fn with_premultiplied_alpha(self, premultiplied_alpha: bool) -> Self
pub const fn with_cull_direction(self, cull_direction: CullDirection) -> Self
pub const fn with_color_space(self, color_space: ColorSpace) -> Self
Trait Implementations§
source§impl Clone for SkeletonControllerSettings
impl Clone for SkeletonControllerSettings
source§fn clone(&self) -> SkeletonControllerSettings
fn clone(&self) -> SkeletonControllerSettings
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 moresource§impl Debug for SkeletonControllerSettings
impl Debug for SkeletonControllerSettings
source§impl Default for SkeletonControllerSettings
impl Default for SkeletonControllerSettings
source§impl PartialEq for SkeletonControllerSettings
impl PartialEq for SkeletonControllerSettings
source§fn eq(&self, other: &SkeletonControllerSettings) -> bool
fn eq(&self, other: &SkeletonControllerSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SkeletonControllerSettings
impl StructuralPartialEq for SkeletonControllerSettings
Auto Trait Implementations§
impl Freeze for SkeletonControllerSettings
impl RefUnwindSafe for SkeletonControllerSettings
impl Send for SkeletonControllerSettings
impl Sync for SkeletonControllerSettings
impl Unpin for SkeletonControllerSettings
impl UnwindSafe for SkeletonControllerSettings
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