[−][src]Struct bsp::Bsp
Fields
header: Header
entities: Entities
textures: Vec<Texture>
planes: Vec<Plane>
nodes: Vec<Node>
leafs: Vec<Leaf>
leaf_faces: Vec<LeafFace>
leaf_brushes: Vec<LeafBrush>
models: Vec<Model>
brushes: Vec<Brush>
brush_sides: Vec<BrushSide>
vertexes: Vec<Vertex>
mesh_verts: Vec<MeshVert>
effects: Vec<Effect>
faces: Vec<Face>
lightmaps: Vec<Lightmap>
lightvols: Vec<Lightvol>
vis_data: VisData
Methods
impl Bsp
[src]
pub fn read<R: Read + Seek>(reader: R) -> Result<Self>
[src]
pub fn leaf(&self, n: usize) -> Option<Handle<Leaf>>
[src]
pub fn plane(&self, n: usize) -> Option<Handle<Plane>>
[src]
pub fn face(&self, n: usize) -> Option<Handle<Face>>
[src]
pub fn texture(&self, n: usize) -> Option<&Texture>
[src]
pub fn node(&self, n: usize) -> Option<Handle<Node>>
[src]
pub fn root_node(&self) -> Option<Handle<Node>>
[src]
pub fn leaf_at(&self, point: [f32; 3]) -> Option<Handle<Leaf>>
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,