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.

75 lines (74 loc) 1.57 kB
import MaterialProperty from "../../MaterialProperty"; /** * 图片轨迹线材质 * @noInheritDoc * @example * ```ts * let material = new BC.PolylineImageTrailMaterialProperty({ * color: BC.Color.WHITE, * image: '**\/*.png', * repeat: { x: 10, y: 1 }, * }) * ``` */ declare class PolylineImageTrailMaterialProperty extends MaterialProperty { private _image; private _imageSubscription; private _repeat; private _repeatSubscription; /** * 颜色 * @defaultValue BC.Color.fromBytes(0, 255, 255, 255) */ color: Cesium.Color; /** * 速度 * @defaultValue 1 */ speed: number; /** * 图片地址 */ image: string; /** * 重复规则 */ repeat: Cesium.Cartesian2; /** * 属性 * @param options */ constructor(options?: { /** * 颜色 * @defaultValue BC.Color.fromBytes(0, 255, 255, 255) */ color: Cesium.Color; /** * 速度 * @defaultValue 1 */ speed: number; /** * 图片地址 */ image: string; /** * 重复规则 */ repeat: Cesium.Cartesian2; }); /** * @internal */ getType(time: any): string; /** * @internal */ getValue(time: any, result: any): any; /** * @internal */ equals(other: any): any; } export default PolylineImageTrailMaterialProperty;