Struct yy_typings::room::Room
source · [−]pub struct Room {Show 17 fields
pub common_data: CommonData<ConstGmRoom>,
pub is_dnd: bool,
pub volume: f64,
pub parent_room: Option<ViewPath>,
pub views: Vec<RoomView>,
pub layers: Vec<Layer>,
pub inherit_layers: bool,
pub creation_code_file: String,
pub inherit_code: bool,
pub instance_creation_order: Vec<ViewPath>,
pub inherit_creation_order: bool,
pub sequence_id: Option<()>,
pub room_settings: RoomSettings,
pub view_settings: ViewSettings,
pub physics_settings: PhysicsSettings,
pub parent: ViewPath,
pub tags: Tags,
}
Fields
common_data: CommonData<ConstGmRoom>
Common data
is_dnd: bool
Is this used in DragNDrop? Hopefully not! that would get messy.
volume: f64
A volume? I have no idea where this appears in the UI. Appears to be a number between 0.0 and 1.0.
parent_room: Option<ViewPath>
The path of the parent room.
views: Vec<RoomView>
Eight (at least) views. Most users won’t have anything meaningful here.
layers: Vec<Layer>
The layers of data which are in the room.
inherit_layers: bool
This is only meaningful if parent_room
is Some
.
creation_code_file: String
The relative subpath of the creation code for this room, if it exists.
inherit_code: bool
instance_creation_order: Vec<ViewPath>
inherit_creation_order: bool
sequence_id: Option<()>
room_settings: RoomSettings
view_settings: ViewSettings
physics_settings: PhysicsSettings
parent: ViewPath
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Room
impl<'de> Deserialize<'de> for Room
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Room> for Room
impl PartialEq<Room> for Room
impl StructuralPartialEq for Room
Auto Trait Implementations
impl RefUnwindSafe for Room
impl Send for Room
impl Sync for Room
impl Unpin for Room
impl UnwindSafe for Room
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more