web3d / node_modules /three /src /materials /SpriteMaterial.d.ts
julien-c's picture
julien-c HF staff
do not gitignore the builds
6cd9596
raw
history blame contribute delete
582 Bytes
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;
}