soonspacejs 2.8.11 → 2.8.13

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/types/index.d.ts CHANGED
@@ -14,10 +14,10 @@ import Animation from './Animation';
14
14
  import { PathAnimation, PathAnimationOptions } from './Animation/path-animation';
15
15
  import { CreatePathAnimationOptions, CreatePathAnimationActionForCameraOptions, CreateBonePathAnimationOptions, AnimationPath } from './Animation/createPathAnimation';
16
16
  import * as library from './Library';
17
- import { BaseObject3D, BaseObject3DInfo, Model, ModelInfo, Poi, PoiInfo, PoiNode, PoiNodeInfo, Topology, TopologyInfo, Group, GroupInfo, Canvas3D, Canvas3DInfo, PluginObject, PluginObjectInfo } from './Library';
17
+ import { BaseObject3D, Model, ModelInfo, Poi, PoiInfo, PoiNode, PoiNodeInfo, Topology, TopologyInfo, Group, GroupInfo, Canvas3D, Canvas3DInfo, PluginObject, PluginObjectInfo } from './Library';
18
18
  import Viewport from './Viewport';
19
19
  import Manager from './Manager';
20
- import { ViewportOptions, SceneGlobalEvents, PluginsConstructor, IColor, Position, Rotation, OffsetPoint, AnimationOptions, ModelAnimationFindFunc, TopologyNodeInfo, CameraViewpointData, CameraTargetViewData, FlyToViewpoint, FlyToObjOptions, SurroundOptions, LabelOptions, EdgeSelectOptions, StrokeSelectOptions, OpacitySelectOptions, HighlightSelectOptions, EmissiveSelectOptions, FogOptions, UserDataPropertyFindFunc, AmbientLightOptions, DirectionalLightOptions, HemisphereLightOptions, SpotLightOptions, PointLightOptions, CloneModelInfo, ClonePoiInfo, ShortestPathInfo, ShortestPathByMultipleStartPoints, ShortestPathByMultipleEndPoints, TopologyInfoForGml, GridHelperOptions, AxesHelperOptions, BoxHelperOptions, PlaneHelperOptions, GroundHelperOptions, DirectionalLightHelperOptions, HemisphereLightHelperOptions, SpotLightHelperOptions, PointLightHelperOptions, SignalsState, ControlsOptions, RectAreaLightOptions, RectAreaLightHelperOptions, SkyOptions, IColorSpace, ToneMappingOptions, SSROptions, SSAOOptions, BloomOptions, IVector3, EnvironmentOptions, PluginsConstructorWithOptions, TopologyPassableInfo } from './Interface';
20
+ import { BaseObjectInfo, ViewportOptions, SceneGlobalEvents, PluginsConstructor, IColor, Position, Rotation, OffsetPoint, AnimationOptions, ModelAnimationFindFunc, TopologyNodeInfo, CameraViewpointData, CameraTargetViewData, FlyToViewpoint, FlyToObjOptions, SurroundOptions, LabelOptions, EdgeSelectOptions, StrokeSelectOptions, OpacitySelectOptions, HighlightSelectOptions, EmissiveSelectOptions, FogOptions, UserDataPropertyFindFunc, AmbientLightOptions, DirectionalLightOptions, HemisphereLightOptions, SpotLightOptions, PointLightOptions, CloneModelInfo, ClonePoiInfo, ShortestPathInfo, ShortestPathByMultipleStartPoints, ShortestPathByMultipleEndPoints, TopologyInfoForGml, GridHelperOptions, AxesHelperOptions, BoxHelperOptions, PlaneHelperOptions, GroundHelperOptions, DirectionalLightHelperOptions, HemisphereLightHelperOptions, SpotLightHelperOptions, PointLightHelperOptions, SignalsState, ControlsOptions, RectAreaLightOptions, RectAreaLightHelperOptions, SkyOptions, IColorSpace, ToneMappingOptions, SSROptions, SSAOOptions, BloomOptions, IVector3, EnvironmentOptions, PluginsConstructorWithOptions, TopologyPassableInfo } from './Interface';
21
21
  import { BoxSpace, FindObjectsNearPosition, FindNearbyObjects, CreatePoiMeshOptions, CreatePolygonPoiMeshOptions, SetTextureOptions } from './tools';
22
22
  import { ModelsBoundsTreeOptions } from './Viewport/Bvh';
23
23
  import './three-patches';
@@ -622,12 +622,12 @@ export declare class SoonSpace {
622
622
  * 根据 id 查询 Light 对象
623
623
  * @param id
624
624
  */
625
- getLightById<T extends Light>(id: BaseObject3DInfo['id']): T | null;
625
+ getLightById<T extends Light>(id: BaseObjectInfo['id']): T | null;
626
626
  /**
627
627
  * 根据 id 移除 Light 对象
628
628
  * @param id
629
629
  */
630
- removeLightById(id: BaseObject3DInfo['id']): boolean;
630
+ removeLightById(id: BaseObjectInfo['id']): boolean;
631
631
  /**
632
632
  * 获取所有 Light 对象
633
633
  */
@@ -654,10 +654,10 @@ export declare class SoonSpace {
654
654
  /******* Object methods */
655
655
  /******/
656
656
  /******/
657
- getObjectById<T extends Object3D = BaseObject3D>(id: BaseObject3DInfo['id']): T | null;
657
+ getObjectById<T extends Object3D = BaseObject3D>(id: BaseObjectInfo['id']): T | null;
658
658
  getObjectByName<T extends Object3D = BaseObject3D>(name: string): T[];
659
659
  getObjectByUserDataProperty<T extends Object3D = BaseObject3D>(property: string | UserDataPropertyFindFunc, value?: any): T[];
660
- removeObjectById(id: BaseObject3DInfo['id']): boolean;
660
+ removeObjectById(id: BaseObjectInfo['id']): boolean;
661
661
  /******/
662
662
  /******/
663
663
  /******* Group methods */