pub struct WmoRoot {Show 13 fields
pub version: WmoVersion,
pub materials: Vec<WmoMaterial>,
pub groups: Vec<WmoGroupInfo>,
pub portals: Vec<WmoPortal>,
pub portal_references: Vec<WmoPortalReference>,
pub visible_block_lists: Vec<Vec<u16>>,
pub lights: Vec<WmoLight>,
pub doodad_defs: Vec<WmoDoodadDef>,
pub doodad_sets: Vec<WmoDoodadSet>,
pub bounding_box: BoundingBox,
pub textures: Vec<String>,
pub header: WmoHeader,
pub skybox: Option<String>,
}Expand description
Represents a WMO root file
Fields§
§version: WmoVersionWMO version
materials: Vec<WmoMaterial>List of materials
groups: Vec<WmoGroupInfo>List of groups
portals: Vec<WmoPortal>List of portals
portal_references: Vec<WmoPortalReference>List of portal references
visible_block_lists: Vec<Vec<u16>>List of visible block lists
lights: Vec<WmoLight>List of lights
doodad_defs: Vec<WmoDoodadDef>List of doodad definitions
doodad_sets: Vec<WmoDoodadSet>List of doodad sets
bounding_box: BoundingBoxGlobal bounding box
textures: Vec<String>List of textures
header: WmoHeaderModel header info
skybox: Option<String>Skybox model path, if any
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WmoRoot
impl RefUnwindSafe for WmoRoot
impl Send for WmoRoot
impl Sync for WmoRoot
impl Unpin for WmoRoot
impl UnwindSafe for WmoRoot
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