UNPKG

848 BTypeScriptView Raw
1import { LineBasicMaterial, LineBasicMaterialParameters } from "./LineBasicMaterial.js";
2
3export interface LineDashedMaterialParameters extends LineBasicMaterialParameters {
4 scale?: number | undefined;
5 dashSize?: number | undefined;
6 gapSize?: number | undefined;
7}
8
9export class LineDashedMaterial extends LineBasicMaterial {
10 constructor(parameters?: LineDashedMaterialParameters);
11
12 /**
13 * Read-only flag to check if a given object is of type {@link LineDashedMaterial}.
14 * @remarks This is a _constant_ value
15 * @defaultValue `true`
16 */
17 readonly isLineDashedMaterial: true;
18
19 /**
20 * @default 1
21 */
22 scale: number;
23
24 /**
25 * @default 1
26 */
27 dashSize: number;
28
29 /**
30 * @default 1
31 */
32 gapSize: number;
33
34 setValues(parameters: LineDashedMaterialParameters): void;
35}