Monitor
Monitor
- name : core::option::Optionalloc::string::String
- physical_height : u32
- physical_width : u32
- physical_position : glam::IVec2
- refresh_rate_millihertz : core::option::Option
- scale_factor : f64
- video_modes : alloc::vec::Vec<bevy_window::monitor::VideoMode>
Description
Represents an available monitor as reported by the user's operating system, which can be used to query information about the display, such as its size, position, and video modes.
Each monitor corresponds to an entity and can be used to position a monitor using [
crate::window::MonitorSelection::Entity
].Warning
This component is synchronized with
winit
throughbevy_winit
, but is effectively read-only aswinit
does not support changing monitor properties.