bcgis-type
Version:
The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.
113 lines (112 loc) • 2.19 kB
TypeScript
/**
* 电弧球材质
* @noInheritDoc
* @example
* ```ts
* let material = new BC.WaterMaterialProperty({
* color: BC.Color.WHITE,
* })
* ```
*/
declare class WaterMaterialProperty {
private _definitionChanged;
private _baseWaterColor;
private _baseWaterColorSubscription;
/**
* 水体颜色
*/
baseWaterColor: Cesium.Color;
private _blendColor;
private _blendColorSubscription;
/**
* 混合颜色
*/
blendColor: Cesium.Color;
private _specularMap;
private _specularMapSubscription;
/**
* 镜面图
*/
specularMap: string;
private _normalMap;
private _normalMapSubscription;
/**
* 法线图
*/
normalMap: string;
/**
* 波纹数量
*/
frequency: number;
/**
* 动画速度
*/
animationSpeed: number;
/**
* 水波振幅
*/
amplitude: number;
/**
* 镜面反射强度
*/
specularIntensity: number;
/**
*
* @param options
*/
constructor(options: {
/**
* 水体颜色
*/
baseWaterColor?: Cesium.Color;
/**
* 混合颜色
*/
blendColor?: Cesium.Color;
/**
* 镜面图
*/
specularMap?: string;
/**
* 法线图
*/
normalMap?: string;
/**
* 波纹数量
*/
frequency?: number;
/**
* 动画速度
*/
animationSpeed?: number;
/**
* 水波振幅
*/
amplitude?: number;
/**
* 镜面反射强度
*/
specularIntensity?: number;
});
/**
* @internal
*/
get isConstant(): boolean;
/**
* @internal
*/
get definitionChanged(): any;
/**
* @internal
*/
getType(time: any): string;
/**
* @internal
*/
getValue(time: any, result: any): any;
/**
* @internal
*/
equals(other: any): any;
}
export default WaterMaterialProperty;