rl-loadout-lib
Version:
Load Rocket League assets into three.js
29 lines • 858 B
TypeScript
import { Item } from './item';
import { Quality } from './quality';
/**
* Rocket League car topper.
*/
export declare class Topper extends Item {
/**
* Object representing the empty topper slot.
*/
static readonly NONE: Topper;
/**
* Path to the GLTF model file of the topper.
*/
model?: string;
/**
* Path to the base texture of the topper. Null if the texture is in the gltf file.
*/
base_texture?: string;
/**
* Path to the RGBA map of the topper if paintable.
*/
rgba_map?: string;
/**
* Path to the normal map of the topper.
*/
normal_map?: string;
constructor(id: number, icon: string, name: string, quality: Quality, paintable: boolean, model?: string, base_texture?: string, rgba_map?: string, normal_map?: string);
}
//# sourceMappingURL=topper.d.ts.map