@types/three
Version:
TypeScript definitions for three
35 lines (28 loc) • 853 B
TypeScript
import { Color, ColorRepresentation } from "../math/Color.js";
import { Material, MaterialParameters } from "./Material.js";
export interface ShadowMaterialParameters extends MaterialParameters {
color?: ColorRepresentation | undefined;
fog?: boolean | undefined;
}
export class ShadowMaterial extends Material {
constructor(parameters?: ShadowMaterialParameters);
/**
* Read-only flag to check if a given object is of type {@link ShadowMaterial}.
* @remarks This is a _constant_ value
* @defaultValue `true`
*/
readonly isShadowMaterial: true;
/**
* @default new THREE.Color( 0x000000 )
*/
color: Color;
/**
* @default true
*/
transparent: boolean;
/**
* Whether the material is affected by fog. Default is true.
* @default fog
*/
fog: boolean;
}