pub struct QualityLevel {
pub name: String,
pub skin_weights: SkinWeights,
pub shadows: i64,
pub shadow_distance: f32,
pub shadow_cascades: i64,
}Expand description
A quality level of the player (Player::quality_levels): its name, the bone influences a vertex may have and
its shadow settings (shadows: 0 disabled, 1 hard shadows only, 2 all; the distance shadows are drawn to; the
built-in pipeline’s cascade count, which a Universal Render Pipeline asset replaces with its own).
Fields§
§name: StringThe level’s name.
skin_weights: SkinWeightsThe bone influences a vertex may have (skinWeights).
shadows: i64shadows: 0 disabled, 1 hard shadows only, 2 all.
shadow_distance: f32shadowDistance: how far from the camera shadows are drawn.
shadow_cascades: i64shadowCascades: the built-in pipeline’s cascade count.
Trait Implementations§
Source§impl Clone for QualityLevel
impl Clone for QualityLevel
Source§impl Debug for QualityLevel
impl Debug for QualityLevel
Source§impl PartialEq for QualityLevel
impl PartialEq for QualityLevel
impl StructuralPartialEq for QualityLevel
Auto Trait Implementations§
impl Freeze for QualityLevel
impl RefUnwindSafe for QualityLevel
impl Send for QualityLevel
impl Sync for QualityLevel
impl Unpin for QualityLevel
impl UnsafeUnpin for QualityLevel
impl UnwindSafe for QualityLevel
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