API

Interface ISOGLODMetadata

Parsed contents of a PlayCanvas-style lod-meta.json file.

interface ISOGLODMetadata {
    environment?: string;
    filenames: string[];
    lodLevels: number;
    tree: ISOGLODNode;
}
Index
environment?: string

Optional always-on environment .sog bundle, relative to the metadata file.

filenames: string[]

SOG meta.json paths, relative to the metadata file, indexed by ISOGLODEntry.file.

lodLevels: number

Number of LOD levels (0 = highest detail).

tree: ISOGLODNode

Root of the LOD octree.