Newer
Older
HuangJiPC / public / static / three / examples / jsm / lines / LineMaterial.d.ts
@zhangdeliang zhangdeliang on 21 Jun 572 bytes update
import {
	Color,
	MaterialParameters,
	ShaderMaterial,
	Vector2
} from '../../../src/Three';

export interface LineMaterialParameters extends MaterialParameters {
	color?: number;
	dashed?: boolean;
	dashScale?: number;
	dashSize?: number;
	gapSize?: number;
	linewidth?: number;
	resolution?: Vector2;
}

export class LineMaterial extends ShaderMaterial {

	constructor( parameters?: LineMaterialParameters );
	color: Color;
	dashed: boolean;
	dashScale: number;
	dashSize: number;
	gapSize: number;
	isLineMaterial: boolean;
	linewidth: number;
	resolution: Vector2;

}