rl-loadout-lib
Version:
Load Rocket League assets into three.js
35 lines • 829 B
TypeScript
import { Color, Texture } from 'three';
/**
* Car body texture.
*/
export interface BodyTexture {
/**
* Set the primary color.
* @param color THREE Color object
*/
setPrimary(color: Color): any;
/**
* Set the accent color.
* @param color THREE Color object
*/
setAccent(color: Color): any;
/**
* Set the paint color of the decal.
* @param color THREE Color object
*/
setPaint(color: Color): any;
/**
* Set the paint color of the body.
* @param color THREE Color object
*/
setBodyPaint(color: Color): any;
/**
* Dispose of texture resources.
*/
dispose(): any;
/**
* Get the texture object that can be applied to THREE materials.
*/
getTexture(): Texture;
}
//# sourceMappingURL=body-texture.d.ts.map