1 | import { Color, ColorRepresentation } from "../math/Color.js";
|
2 | import { Material, MaterialParameters } from "./Material.js";
|
3 |
|
4 | export interface ShadowMaterialParameters extends MaterialParameters {
|
5 | color?: ColorRepresentation | undefined;
|
6 | fog?: boolean | undefined;
|
7 | }
|
8 |
|
9 | export class ShadowMaterial extends Material {
|
10 | constructor(parameters?: ShadowMaterialParameters);
|
11 |
|
12 | /**
|
13 | * Read-only flag to check if a given object is of type {@link ShadowMaterial}.
|
14 | * @remarks This is a _constant_ value
|
15 | * @defaultValue `true`
|
16 | */
|
17 | readonly isShadowMaterial: true;
|
18 |
|
19 | |
20 |
|
21 |
|
22 | color: Color;
|
23 |
|
24 | |
25 |
|
26 |
|
27 | transparent: boolean;
|
28 |
|
29 | |
30 |
|
31 |
|
32 |
|
33 | fog: boolean;
|
34 | }
|