Struct entmet_lib::entities::entity::Display
source · pub struct Display {Show 15 fields
pub interpolation_delay: i32,
pub transformation_interpolation_duration: i32,
pub position_rotation_interpolation_duration: i32,
pub translation: (f32, f32, f32),
pub scale: (f32, f32, f32),
pub rotation_left: (f32, f32, f32, f32),
pub rotation_right: (f32, f32, f32, f32),
pub billboard_constraints: BillboardConstraints,
pub brightness_override: i32,
pub view_range: f32,
pub shadow_radius: f32,
pub shadow_strength: f32,
pub width: f32,
pub height: f32,
pub glow_color_override: i32,
/* private fields */
}Expand description
An instance of a Display
Fields§
§interpolation_delay: i32The interpolation delay
transformation_interpolation_duration: i32The transformation interpolation duration
position_rotation_interpolation_duration: i32the position rotation interpolation duration
translation: (f32, f32, f32)The translation vector of the display
scale: (f32, f32, f32)The scale of the display
rotation_left: (f32, f32, f32, f32)The left rotation
rotation_right: (f32, f32, f32, f32)The right rotation
billboard_constraints: BillboardConstraintsThe billboard constraints
brightness_override: i32The brightness override
view_range: f32The view range
shadow_radius: f32The shadow radius
shadow_strength: f32The shadow strength
width: f32The width of the display
height: f32The height of the display
glow_color_override: i32Glow color override
Trait Implementations§
source§impl PartialEq for Display
impl PartialEq for Display
impl StructuralPartialEq for Display
Auto Trait Implementations§
impl Freeze for Display
impl RefUnwindSafe for Display
impl Send for Display
impl Sync for Display
impl Unpin for Display
impl UnwindSafe for Display
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