Spaces:
Running
Running
File size: 582 Bytes
6cd9596 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import { Color } from './../math/Color';
import { Texture } from './../textures/Texture';
import { MaterialParameters, Material } from './Material';
export interface SpriteMaterialParameters extends MaterialParameters {
color?: Color | string | number;
map?: Texture;
rotation?: number;
}
export class SpriteMaterial extends Material {
constructor(parameters?: SpriteMaterialParameters);
color: Color;
map: Texture | null;
rotation: number;
isSpriteMaterial: true;
setValues(parameters: SpriteMaterialParameters): void;
copy(source: SpriteMaterial): this;
}
|