PackageFile beta
Interface of @v12-engine/client/vite
export interface PackageFileA file of the package, as a game sees it: by the path it is served at, its group, its kind and whose it is
Members
animations
animations?: string[];A model's clips and named parts, as the manifest tells them (what a look's names are checked against)
bytes
bytes: number;How big it is
clips
clips?: string[];The files a model's clips are in, by where each is served (models/characters/rig_medium_clips.glb): a rig's, which its characters share. Each is a file of the package of its own, taken with the model
credit
credit?: string;Who made it and its licence, as one line: Kay Lousberg (www.kaylousberg.com), CC0-1.0
file
file: string;Where it is on the disk
group
group: string;The group it is of, by id: characters
groupName
groupName?: string;What the group is called: Characters
kind
kind: 'model' | 'sound' | 'music' | 'texture' | 'icon' | 'image';What it is, as the client reads a game's files
levels
levels?: {
path: string;
file: string;
bytes: number;
ratio?: number;
triangles?: number;
}[];A model's lighter levels (npm run lod), drawn from farther away: each a file of its own, served beside it
parts
parts?: string[];The names of a model's named parts (meshes or nodes) as the manifest lists them, for checking a look's part names against
path
path: string;Where it is served, as a game's shared file is: models/characters/knight.glb