UnrealPackageReader.js
    Preparing search index...

    Interface UModel

    A BSP model, used for brushes and for the level itself.

    Before version 62 the geometry arrays were separate objects and the model held only a reference to each, so vectors, points, nodes, surfaces and vertices are object references on that side of the branch and arrays on the other. polys is always a reference - the UPolys object.

    interface UModel {
        bounding_box: BoundingBox;
        bounding_sphere: BoundingSphere;
        vectors: ObjectRef | Vector[];
        points: ObjectRef | Vector[];
        nodes: ObjectRef | BspNode[];
        surfaces: ObjectRef | BspSurface[];
        vertices: ObjectRef | ModelVertex[];
        num_shared_sides?: number;
        num_zones?: number;
        zones?: Zone[];
        polys: ObjectRef;
        light_map: LightMap[];
        light_bits: number[];
        bounds: BoundingBox[];
        leaf_hulls: number[];
        leaves: BspLeaf[];
        lights: ObjectRef[];
        leaf_zone?: number;
        leaf_leaf?: number;
        root_outside: boolean;
        linked: boolean;
    }

    Hierarchy (View Summary)

    Index
    bounding_box: BoundingBox
    bounding_sphere: BoundingSphere
    vectors: ObjectRef | Vector[]
    points: ObjectRef | Vector[]
    nodes: ObjectRef | BspNode[]
    surfaces: ObjectRef | BspSurface[]
    vertices: ObjectRef | ModelVertex[]
    num_shared_sides?: number
    num_zones?: number
    zones?: Zone[]
    polys: ObjectRef
    light_map: LightMap[]
    light_bits: number[]
    bounds: BoundingBox[]
    leaf_hulls: number[]
    leaves: BspLeaf[]
    lights: ObjectRef[]
    leaf_zone?: number
    leaf_leaf?: number
    root_outside: boolean
    linked: boolean