pub struct WmoRoot {Show 15 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 texture_offset_index_map: HashMap<u32, u32>,
pub header: WmoHeader,
pub skybox: Option<String>,
pub convex_volume_planes: Option<WmoConvexVolumePlanes>,
}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
texture_offset_index_map: HashMap<u32, u32>Map of texture offsets to indices in the textures vector
header: WmoHeaderModel header info
skybox: Option<String>Skybox model path, if any
convex_volume_planes: Option<WmoConvexVolumePlanes>Convex volume planes (Cataclysm+, transport WMOs) Contains collision geometry for advanced physics interactions
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