| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- import { Color } from './../math/Color';
- import { Texture } from './../textures/Texture';
- import { MaterialParameters, Material } from './Material';
- import { Combine } from '../constants';
- /**
- * parameters is an object with one or more properties defining the material's appearance.
- */
- export interface MeshBasicMaterialParameters extends MaterialParameters {
- color?: Color | string | number;
- opacity?: number;
- map?: Texture | null;
- aoMap?: Texture | null;
- aoMapIntensity?: number;
- specularMap?: Texture | null;
- alphaMap?: Texture | null;
- envMap?: Texture | null;
- combine?: Combine;
- reflectivity?: number;
- refractionRatio?: number;
- wireframe?: boolean;
- wireframeLinewidth?: number;
- wireframeLinecap?: string;
- wireframeLinejoin?: string;
- skinning?: boolean;
- morphTargets?: boolean;
- }
- export class MeshBasicMaterial extends Material {
- constructor( parameters?: MeshBasicMaterialParameters );
- /**
- * @default 'MeshBasicMaterial'
- */
- type: string;
- /**
- * @default new THREE.Color( 0xffffff )
- */
- color: Color;
- /**
- * @default null
- */
- map: Texture | null;
- /**
- * @default null
- */
- aoMap: Texture | null;
- /**
- * @default 1
- */
- aoMapIntensity: number;
- /**
- * @default null
- */
- specularMap: Texture | null;
- /**
- * @default null
- */
- alphaMap: Texture | null;
- /**
- * @default null
- */
- envMap: Texture | null;
- /**
- * @default THREE.MultiplyOperation
- */
- combine: Combine;
- /**
- * @default 1
- */
- reflectivity: number;
- /**
- * @default 0.98
- */
- refractionRatio: number;
- /**
- * @default false
- */
- wireframe: boolean;
- /**
- * @default 1
- */
- wireframeLinewidth: number;
- /**
- * @default 'round'
- */
- wireframeLinecap: string;
- /**
- * @default 'round'
- */
- wireframeLinejoin: string;
- /**
- * @default false
- */
- skinning: boolean;
- /**
- * @default false
- */
- morphTargets: boolean;
- setValues( parameters: MeshBasicMaterialParameters ): void;
- }
|