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.44 kB
TypeScript
import MaterialProperty from "../../MaterialProperty";
/**
* 图片轨迹墙体材质
* @noInheritDoc
* @example
* ```ts
* let material = new BC.WallImageTrailMaterialProperty({
* color: BC.Color.WHITE,
* })
* ```
*/
declare class WallImageTrailMaterialProperty 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: Object;
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 WallImageTrailMaterialProperty;