aircitytype 1.1.25 → 1.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aircity/index.d.ts +7 -0
- package/package.json +1 -1
package/aircity/index.d.ts
CHANGED
@@ -497,6 +497,7 @@ type RadiationPointData = {
|
|
497
497
|
|
498
498
|
type CustomObjectType = {
|
499
499
|
id: string; //自定义对象唯一标识
|
500
|
+
groupId?:string;
|
500
501
|
pakFilePath: string; //pak文件路径
|
501
502
|
assetPath: string; //资源目录,自定义对象在pak文件资源包里的相对路径
|
502
503
|
coordinateType?: number;
|
@@ -504,6 +505,7 @@ type CustomObjectType = {
|
|
504
505
|
rotation?: [number, number, number]; //旋转
|
505
506
|
isEffectRotation?:boolean;
|
506
507
|
supportAttach?:boolean;
|
508
|
+
range?:number[];
|
507
509
|
localRotation?: [number, number, number];
|
508
510
|
scale?: [number, number, number] | number[]; //缩放
|
509
511
|
smoothMotion?: number; //1: 平滑插值,0: 跳跃
|
@@ -752,6 +754,11 @@ interface Marker3D {
|
|
752
754
|
* o2 flytime
|
753
755
|
*/
|
754
756
|
focus(id: string, o1?: number, o2?: number): any; //
|
757
|
+
callBatchBPFunction(v:{
|
758
|
+
id: string,
|
759
|
+
functionName: string,
|
760
|
+
parameters: { paramType: number, paramValue: any }[],
|
761
|
+
}):void;
|
755
762
|
show(ids: string[] | string, fn?: () => void): void;
|
756
763
|
hide(ids: string[] | string, fn?: () => void): void;
|
757
764
|
delete(ids: string[] | string): void;
|
package/package.json
CHANGED