pub struct LoadedWorldMeta {
pub title: String,
pub world_id: String,
pub spawn: Vec3,
pub portals: Vec<PortalNav>,
pub interactables: Vec<InteractableNav>,
pub sky: SkyNav,
pub presence_relays: Vec<String>,
pub colliders: Vec<ColliderNav>,
}Expand description
What a WorldLoader reports after placing a world into its renderer — the
navigation metadata the Navigator needs, with no GPU handles.
Fields§
§title: String§world_id: StringThe world’s stable id (world.id) — the presence room key for bare relays.
spawn: Vec3Where to teleport the player on arrival.
portals: Vec<PortalNav>§interactables: Vec<InteractableNav>§sky: SkyNav§presence_relays: Vec<String>This world’s presence relays (from presence.relay_list()), primary first.
Empty → the world is solo. The browser tries them in order with fallback.
colliders: Vec<ColliderNav>Placement geometry as oriented boxes, for the browser’s physics. A loader with no collision story (headless, text) just returns empty.
Auto Trait Implementations§
impl Freeze for LoadedWorldMeta
impl RefUnwindSafe for LoadedWorldMeta
impl Send for LoadedWorldMeta
impl Sync for LoadedWorldMeta
impl Unpin for LoadedWorldMeta
impl UnsafeUnpin for LoadedWorldMeta
impl UnwindSafe for LoadedWorldMeta
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