three
Version:
JavaScript 3D library
28 lines (21 loc) • 674 B
TypeScript
import { Material, MaterialParameters } from './Material';
import { Color } from './../math/Color';
import { Texture } from './../textures/Texture';
export interface PointsMaterialParameters extends MaterialParameters {
color?: Color | string | number;
map?: Texture | null;
alphaMap?: Texture | null;
size?: number;
sizeAttenuation?: boolean;
morphTargets?: boolean;
}
export class PointsMaterial extends Material {
constructor( parameters?: PointsMaterialParameters );
color: Color;
map: Texture | null;
alphaMap: Texture | null;
size: number;
sizeAttenuation: boolean;
morphTargets: boolean;
setValues( parameters: PointsMaterialParameters ): void;
}