pub struct Zone {
pub id: String,
pub name: String,
pub topology_layer: u8,
pub bounds: ZoneBounds,
pub physics: ZonePhysicsDefaults,
pub entry_points: Vec<EntryPoint>,
pub poi_bindings: Vec<PoiBinding>,
pub lod_profile: LodSuperpositionProfile,
pub cull_profile: ZoneCullingProfile,
pub parent_zone_id: Option<String>,
}Expand description
A runtime zone within the 9-layer topology. Zones are loaded/unloaded as the player traverses the world.
Fields§
§id: String§name: String§topology_layer: u8§bounds: ZoneBounds§physics: ZonePhysicsDefaults§entry_points: Vec<EntryPoint>§poi_bindings: Vec<PoiBinding>§lod_profile: LodSuperpositionProfile§cull_profile: ZoneCullingProfile§parent_zone_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Zone
impl<'de> Deserialize<'de> for Zone
Source§fn 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
Auto Trait Implementations§
impl Freeze for Zone
impl RefUnwindSafe for Zone
impl Send for Zone
impl Sync for Zone
impl Unpin for Zone
impl UnsafeUnpin for Zone
impl UnwindSafe for Zone
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