UNPKG

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.

69 lines (68 loc) 1.42 kB
import MaterialProperty from "../../MaterialProperty"; /** * 流动线材质 * @noInheritDoc * @example * ```ts * let material = new BC.PolylineFlowMaterialProperty({ * color: BC.Color.WHITE, * }) * ``` */ declare class PolylineFlowMaterialProperty extends MaterialProperty { private _percent; private _percentSubscription; private _gradient; private _gradientSubscription; /** * 颜色 * @defaultValue BC.Color.fromBytes(0, 255, 255, 255) */ color: Cesium.Color; /** * 速度 * @defaultValue 1 */ speed: number; /** * 比例 */ percent: number; /** * 透明程度 */ gradient: number; constructor(options?: { /** * 颜色 * @defaultValue BC.Color.fromBytes(0, 255, 255, 255) */ color: Cesium.Color; /** * 速度 * @defaultValue 1 */ speed: number; /** * 比例 */ percent: number; /** * 透明程度 */ gradient: number; }); /** * @internal */ getType(time: any): string; /** * @internal */ getValue(time: any, result: any): any; /** * @internal */ equals(other: any): any; } export default PolylineFlowMaterialProperty;