pub struct GDLevelEditorState {
pub camera_x: f32,
pub camera_y: f32,
pub camera_zoom: f32,
pub build_tab_page: i32,
pub build_tab: i32,
pub build_tab_pages: SmallVec<[i32; 16]>,
pub editor_layer: f32,
}Expand description
Editor state variables for this level
Fields§
§camera_x: f32Internal key: kI1
camera_y: f32Internal key: kI2
camera_zoom: f32Internal key: kI3
build_tab_page: i32Internal key: kI4
build_tab: i32Internal key: kI5
build_tab_pages: SmallVec<[i32; 16]>A list of indices for each editor tab that describes where the user is currently. For example, build_tab_pages[0] is the page of the first tab that the user was last in.
Internal key: kI6
editor_layer: f32Internal key: kI7
Trait Implementations§
Source§impl Clone for GDLevelEditorState
impl Clone for GDLevelEditorState
Source§fn clone(&self) -> GDLevelEditorState
fn clone(&self) -> GDLevelEditorState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GDLevelEditorState
impl Debug for GDLevelEditorState
Source§impl Default for GDLevelEditorState
impl Default for GDLevelEditorState
Source§fn default() -> GDLevelEditorState
fn default() -> GDLevelEditorState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GDLevelEditorState
impl RefUnwindSafe for GDLevelEditorState
impl Send for GDLevelEditorState
impl Sync for GDLevelEditorState
impl Unpin for GDLevelEditorState
impl UnsafeUnpin for GDLevelEditorState
impl UnwindSafe for GDLevelEditorState
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