@metagl/sdk-render 1.0.13 → 1.0.14
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/README.md +156 -4
- package/README_EN.md +156 -4
- package/amd/lacdt.render.amd.js +61 -56
- package/cjs/lacdt.render.cjs.js +62 -56
- package/cjs/lacdt.render.d.ts +21 -1
- package/esm/lacdt.render.d.ts +21 -1
- package/esm/lacdt.render.js +58 -56
- package/lacdt.render.d.ts +21 -1
- package/lacdt.render.js +62 -56
- package/package.json +1 -1
- package/resources/readme.txt +1 -0
- package/resources/textures/grey.png +0 -0
- package/resources/textures/mesh.png +0 -0
- package/resources/textures/waterNormalsSmall.jpg +0 -0
- package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.js +3519 -0
- package/resources/thirdParty/html2canvas/0.5.0-beta4/html2canvas.min.js +8 -0
- package/resources/thirdParty/wangEditor/colorpicker.js +481 -0
- package/resources/thirdParty/wangEditor/wangEditor.js +50897 -0
- package/resources/thirdParty/wangEditor/wangeditor.css +945 -0
- package/resources/water/sea 50_1.json.json +578 -0
- package/resources/workers/satellite.worker.js +3175 -0
- /package/assets/{images → Images}/rain.png +0 -0
- /package/{Textures → assets/Images}/waterNormals.jpg +0 -0
- /package/{Textures → assets/Textures}/bluenoise.png +0 -0
- /package/assets/{images → Textures}/waterNormals.jpg +0 -0
package/cjs/lacdt.render.d.ts
CHANGED
|
@@ -2474,6 +2474,7 @@ interface RenderConfig {
|
|
|
2474
2474
|
machineCode?: string;
|
|
2475
2475
|
lic?: string;
|
|
2476
2476
|
rsaPubKey?: string;
|
|
2477
|
+
assetsBasePath?: string;
|
|
2477
2478
|
directionalLight?: DirectionalLightConfig;
|
|
2478
2479
|
shadow?: ShadowConfig;
|
|
2479
2480
|
volumetricClouds?: VolumetricCloudsConfig;
|
|
@@ -4770,6 +4771,19 @@ declare class VectorTileSystem {
|
|
|
4770
4771
|
destroy(): Promise<void>;
|
|
4771
4772
|
}
|
|
4772
4773
|
|
|
4774
|
+
/**
|
|
4775
|
+
* 设置全局基础路径(供用户手动配置)
|
|
4776
|
+
*/
|
|
4777
|
+
declare function setSdkBasePath(path: string): void;
|
|
4778
|
+
/**
|
|
4779
|
+
* 获取当前基础路径
|
|
4780
|
+
*/
|
|
4781
|
+
declare function getSdkBasePath(): string;
|
|
4782
|
+
/**
|
|
4783
|
+
* 解析资源路径
|
|
4784
|
+
*/
|
|
4785
|
+
declare function resolveAssetPath(relativePath: string): string;
|
|
4786
|
+
|
|
4773
4787
|
declare global {
|
|
4774
4788
|
interface Window {
|
|
4775
4789
|
LACDT?: Record<string, any>;
|
|
@@ -4818,6 +4832,12 @@ declare const render: {
|
|
|
4818
4832
|
SeaSystem: typeof SeaSystem;
|
|
4819
4833
|
/** 矢量瓦片系统 */
|
|
4820
4834
|
VectorTileSystem: typeof VectorTileSystem;
|
|
4835
|
+
/** 设置资源基础路径 */
|
|
4836
|
+
setSdkBasePath: typeof setSdkBasePath;
|
|
4837
|
+
/** 获取当前资源基础路径 */
|
|
4838
|
+
getSdkBasePath: typeof getSdkBasePath;
|
|
4839
|
+
/** 解析资源路径 */
|
|
4840
|
+
resolveAssetPath: typeof resolveAssetPath;
|
|
4821
4841
|
};
|
|
4822
4842
|
|
|
4823
|
-
export { AtmosphereControl, type AtmosphereScatteringConfig, AtmosphereScatteringSystem, BuildingControl, BuildingSystem, CameraListener, type CameraListenerConfig, CameraListenerSystem, type CameraListenerSystemConfig, type CameraParams, CameraUrlManager, type CameraUrlManagerConfig, type DirectionalLightConfig, type DistanceFogConfig, DistanceFogSystem, EnvironmentControl, FogControl, type HeightFogConfig, HeightFogSystem, LayerControl, LayerSystem, LightingControl, LightingSystem, PlottingControl, type PostProcessingConfig, PostProcessingControl, PostProcessingSystem, RainSystem, Render, type RenderConfig, RenderControl, type SeaConfig, SeaSystem, type ShadowConfig, ShadowControl, ShadowSystem, SidebarControl, TilesetManager, TilesetSearchControl, ToolboxControl, ToolboxSystem, VectorTileSystem, Version, type VersionInfo, VolumetricCloudControl, type VolumetricCloudsConfig, VolumetricCloudsSystem, type WaterConfig, WaterControl, WaterSystem, type WeatherAreaData, getVersionInfo, printVersion, render };
|
|
4843
|
+
export { AtmosphereControl, type AtmosphereScatteringConfig, AtmosphereScatteringSystem, BuildingControl, BuildingSystem, CameraListener, type CameraListenerConfig, CameraListenerSystem, type CameraListenerSystemConfig, type CameraParams, CameraUrlManager, type CameraUrlManagerConfig, type DirectionalLightConfig, type DistanceFogConfig, DistanceFogSystem, EnvironmentControl, FogControl, type HeightFogConfig, HeightFogSystem, LayerControl, LayerSystem, LightingControl, LightingSystem, PlottingControl, type PostProcessingConfig, PostProcessingControl, PostProcessingSystem, RainSystem, Render, type RenderConfig, RenderControl, type SeaConfig, SeaSystem, type ShadowConfig, ShadowControl, ShadowSystem, SidebarControl, TilesetManager, TilesetSearchControl, ToolboxControl, ToolboxSystem, VectorTileSystem, Version, type VersionInfo, VolumetricCloudControl, type VolumetricCloudsConfig, VolumetricCloudsSystem, type WaterConfig, WaterControl, WaterSystem, type WeatherAreaData, getSdkBasePath, getVersionInfo, printVersion, render, resolveAssetPath, setSdkBasePath };
|
package/esm/lacdt.render.d.ts
CHANGED
|
@@ -2474,6 +2474,7 @@ interface RenderConfig {
|
|
|
2474
2474
|
machineCode?: string;
|
|
2475
2475
|
lic?: string;
|
|
2476
2476
|
rsaPubKey?: string;
|
|
2477
|
+
assetsBasePath?: string;
|
|
2477
2478
|
directionalLight?: DirectionalLightConfig;
|
|
2478
2479
|
shadow?: ShadowConfig;
|
|
2479
2480
|
volumetricClouds?: VolumetricCloudsConfig;
|
|
@@ -4770,6 +4771,19 @@ declare class VectorTileSystem {
|
|
|
4770
4771
|
destroy(): Promise<void>;
|
|
4771
4772
|
}
|
|
4772
4773
|
|
|
4774
|
+
/**
|
|
4775
|
+
* 设置全局基础路径(供用户手动配置)
|
|
4776
|
+
*/
|
|
4777
|
+
declare function setSdkBasePath(path: string): void;
|
|
4778
|
+
/**
|
|
4779
|
+
* 获取当前基础路径
|
|
4780
|
+
*/
|
|
4781
|
+
declare function getSdkBasePath(): string;
|
|
4782
|
+
/**
|
|
4783
|
+
* 解析资源路径
|
|
4784
|
+
*/
|
|
4785
|
+
declare function resolveAssetPath(relativePath: string): string;
|
|
4786
|
+
|
|
4773
4787
|
declare global {
|
|
4774
4788
|
interface Window {
|
|
4775
4789
|
LACDT?: Record<string, any>;
|
|
@@ -4818,6 +4832,12 @@ declare const render: {
|
|
|
4818
4832
|
SeaSystem: typeof SeaSystem;
|
|
4819
4833
|
/** 矢量瓦片系统 */
|
|
4820
4834
|
VectorTileSystem: typeof VectorTileSystem;
|
|
4835
|
+
/** 设置资源基础路径 */
|
|
4836
|
+
setSdkBasePath: typeof setSdkBasePath;
|
|
4837
|
+
/** 获取当前资源基础路径 */
|
|
4838
|
+
getSdkBasePath: typeof getSdkBasePath;
|
|
4839
|
+
/** 解析资源路径 */
|
|
4840
|
+
resolveAssetPath: typeof resolveAssetPath;
|
|
4821
4841
|
};
|
|
4822
4842
|
|
|
4823
|
-
export { AtmosphereControl, type AtmosphereScatteringConfig, AtmosphereScatteringSystem, BuildingControl, BuildingSystem, CameraListener, type CameraListenerConfig, CameraListenerSystem, type CameraListenerSystemConfig, type CameraParams, CameraUrlManager, type CameraUrlManagerConfig, type DirectionalLightConfig, type DistanceFogConfig, DistanceFogSystem, EnvironmentControl, FogControl, type HeightFogConfig, HeightFogSystem, LayerControl, LayerSystem, LightingControl, LightingSystem, PlottingControl, type PostProcessingConfig, PostProcessingControl, PostProcessingSystem, RainSystem, Render, type RenderConfig, RenderControl, type SeaConfig, SeaSystem, type ShadowConfig, ShadowControl, ShadowSystem, SidebarControl, TilesetManager, TilesetSearchControl, ToolboxControl, ToolboxSystem, VectorTileSystem, Version, type VersionInfo, VolumetricCloudControl, type VolumetricCloudsConfig, VolumetricCloudsSystem, type WaterConfig, WaterControl, WaterSystem, type WeatherAreaData, getVersionInfo, printVersion, render };
|
|
4843
|
+
export { AtmosphereControl, type AtmosphereScatteringConfig, AtmosphereScatteringSystem, BuildingControl, BuildingSystem, CameraListener, type CameraListenerConfig, CameraListenerSystem, type CameraListenerSystemConfig, type CameraParams, CameraUrlManager, type CameraUrlManagerConfig, type DirectionalLightConfig, type DistanceFogConfig, DistanceFogSystem, EnvironmentControl, FogControl, type HeightFogConfig, HeightFogSystem, LayerControl, LayerSystem, LightingControl, LightingSystem, PlottingControl, type PostProcessingConfig, PostProcessingControl, PostProcessingSystem, RainSystem, Render, type RenderConfig, RenderControl, type SeaConfig, SeaSystem, type ShadowConfig, ShadowControl, ShadowSystem, SidebarControl, TilesetManager, TilesetSearchControl, ToolboxControl, ToolboxSystem, VectorTileSystem, Version, type VersionInfo, VolumetricCloudControl, type VolumetricCloudsConfig, VolumetricCloudsSystem, type WaterConfig, WaterControl, WaterSystem, type WeatherAreaData, getSdkBasePath, getVersionInfo, printVersion, render, resolveAssetPath, setSdkBasePath };
|