index.d.ts 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. declare module 'babylonjs/cameraBehaviors' {
  2. class FramingBehavior implements Behavior<ArcRotateCamera> {
  3. readonly name: string;
  4. private _mode;
  5. private _radiusScale;
  6. private _positionScale;
  7. private _defaultElevation;
  8. private _elevationReturnTime;
  9. private _elevationReturnWaitTime;
  10. private _zoomStopsAnimation;
  11. private _framingTime;
  12. /**
  13. * The easing function used by animations
  14. */
  15. static EasingFunction: ExponentialEase;
  16. /**
  17. * The easing mode used by animations
  18. */
  19. static EasingMode: number;
  20. /**
  21. * Gets current mode used by the behavior.
  22. */
  23. /**
  24. * Sets the current mode used by the behavior
  25. */
  26. mode: number;
  27. /**
  28. * Gets the scale applied to the radius
  29. */
  30. /**
  31. * Sets the scale applied to the radius (1 by default)
  32. */
  33. radiusScale: number;
  34. /**
  35. * Gets the scale to apply on Y axis to position camera focus. 0.5 by default which means the center of the bounding box.
  36. */
  37. /**
  38. * Sets the scale to apply on Y axis to position camera focus. 0.5 by default which means the center of the bounding box.
  39. */
  40. positionScale: number;
  41. /**
  42. * Gets the angle above/below the horizontal plane to return to when the return to default elevation idle
  43. * behaviour is triggered, in radians.
  44. */
  45. /**
  46. * Sets the angle above/below the horizontal plane to return to when the return to default elevation idle
  47. * behaviour is triggered, in radians.
  48. */
  49. defaultElevation: number;
  50. /**
  51. * Gets the time (in milliseconds) taken to return to the default beta position.
  52. * Negative value indicates camera should not return to default.
  53. */
  54. /**
  55. * Sets the time (in milliseconds) taken to return to the default beta position.
  56. * Negative value indicates camera should not return to default.
  57. */
  58. elevationReturnTime: number;
  59. /**
  60. * Gets the delay (in milliseconds) taken before the camera returns to the default beta position.
  61. */
  62. /**
  63. * Sets the delay (in milliseconds) taken before the camera returns to the default beta position.
  64. */
  65. elevationReturnWaitTime: number;
  66. /**
  67. * Gets the flag that indicates if user zooming should stop animation.
  68. */
  69. /**
  70. * Sets the flag that indicates if user zooming should stop animation.
  71. */
  72. zoomStopsAnimation: boolean;
  73. /**
  74. * Gets the transition time when framing the mesh, in milliseconds
  75. */
  76. /**
  77. * Sets the transition time when framing the mesh, in milliseconds
  78. */
  79. framingTime: number;
  80. private _onPrePointerObservableObserver;
  81. private _onAfterCheckInputsObserver;
  82. private _onMeshTargetChangedObserver;
  83. private _attachedCamera;
  84. private _isPointerDown;
  85. private _lastInteractionTime;
  86. init(): void;
  87. attach(camera: ArcRotateCamera): void;
  88. detach(): void;
  89. private _animatables;
  90. private _betaIsAnimating;
  91. private _betaTransition;
  92. private _radiusTransition;
  93. private _vectorTransition;
  94. /**
  95. * Targets the given mesh and updates zoom level accordingly.
  96. * @param mesh The mesh to target.
  97. * @param radius Optional. If a cached radius position already exists, overrides default.
  98. * @param framingPositionY Position on mesh to center camera focus where 0 corresponds bottom of its bounding box and 1, the top
  99. * @param focusOnOriginXZ Determines if the camera should focus on 0 in the X and Z axis instead of the mesh
  100. * @param onAnimationEnd Callback triggered at the end of the framing animation
  101. */
  102. zoomOnMesh(mesh: AbstractMesh, focusOnOriginXZ?: boolean, onAnimationEnd?: Nullable<() => void>): void;
  103. /**
  104. * Targets the given mesh with its children and updates zoom level accordingly.
  105. * @param mesh The mesh to target.
  106. * @param radius Optional. If a cached radius position already exists, overrides default.
  107. * @param framingPositionY Position on mesh to center camera focus where 0 corresponds bottom of its bounding box and 1, the top
  108. * @param focusOnOriginXZ Determines if the camera should focus on 0 in the X and Z axis instead of the mesh
  109. * @param onAnimationEnd Callback triggered at the end of the framing animation
  110. */
  111. zoomOnMeshHierarchy(mesh: AbstractMesh, focusOnOriginXZ?: boolean, onAnimationEnd?: Nullable<() => void>): void;
  112. /**
  113. * Targets the given meshes with their children and updates zoom level accordingly.
  114. * @param meshes The mesh to target.
  115. * @param radius Optional. If a cached radius position already exists, overrides default.
  116. * @param framingPositionY Position on mesh to center camera focus where 0 corresponds bottom of its bounding box and 1, the top
  117. * @param focusOnOriginXZ Determines if the camera should focus on 0 in the X and Z axis instead of the mesh
  118. * @param onAnimationEnd Callback triggered at the end of the framing animation
  119. */
  120. zoomOnMeshesHierarchy(meshes: AbstractMesh[], focusOnOriginXZ?: boolean, onAnimationEnd?: Nullable<() => void>): void;
  121. /**
  122. * Targets the given mesh and updates zoom level accordingly.
  123. * @param mesh The mesh to target.
  124. * @param radius Optional. If a cached radius position already exists, overrides default.
  125. * @param framingPositionY Position on mesh to center camera focus where 0 corresponds bottom of its bounding box and 1, the top
  126. * @param focusOnOriginXZ Determines if the camera should focus on 0 in the X and Z axis instead of the mesh
  127. * @param onAnimationEnd Callback triggered at the end of the framing animation
  128. */
  129. zoomOnBoundingInfo(minimumWorld: Vector3, maximumWorld: Vector3, focusOnOriginXZ?: boolean, onAnimationEnd?: Nullable<() => void>): void;
  130. /**
  131. * Calculates the lowest radius for the camera based on the bounding box of the mesh.
  132. * @param mesh The mesh on which to base the calculation. mesh boundingInfo used to estimate necessary
  133. * frustum width.
  134. * @return The minimum distance from the primary mesh's center point at which the camera must be kept in order
  135. * to fully enclose the mesh in the viewing frustum.
  136. */
  137. protected _calculateLowerRadiusFromModelBoundingSphere(minimumWorld: Vector3, maximumWorld: Vector3): number;
  138. /**
  139. * Keeps the camera above the ground plane. If the user pulls the camera below the ground plane, the camera
  140. * is automatically returned to its default position (expected to be above ground plane).
  141. */
  142. private _maintainCameraAboveGround();
  143. /**
  144. * Returns the frustum slope based on the canvas ratio and camera FOV
  145. * @returns The frustum slope represented as a Vector2 with X and Y slopes
  146. */
  147. private _getFrustumSlope();
  148. /**
  149. * Removes all animation locks. Allows new animations to be added to any of the arcCamera properties.
  150. */
  151. private _clearAnimationLocks();
  152. /**
  153. * Applies any current user interaction to the camera. Takes into account maximum alpha rotation.
  154. */
  155. private _applyUserInteraction();
  156. /**
  157. * Stops and removes all animations that have been applied to the camera
  158. */
  159. stopAllAnimations(): void;
  160. /**
  161. * Gets a value indicating if the user is moving the camera
  162. */
  163. readonly isUserIsMoving: boolean;
  164. /**
  165. * The camera can move all the way towards the mesh.
  166. */
  167. static IgnoreBoundsSizeMode: number;
  168. /**
  169. * The camera is not allowed to zoom closer to the mesh than the point at which the adjusted bounding sphere touches the frustum sides
  170. */
  171. static FitFrustumSidesMode: number;
  172. }
  173. }
  174. declare module 'babylonjs/cameraBehaviors' {
  175. /**
  176. * Add a bouncing effect to an ArcRotateCamera when reaching a specified minimum and maximum radius
  177. */
  178. class BouncingBehavior implements Behavior<ArcRotateCamera> {
  179. readonly name: string;
  180. /**
  181. * The easing function used by animations
  182. */
  183. static EasingFunction: BackEase;
  184. /**
  185. * The easing mode used by animations
  186. */
  187. static EasingMode: number;
  188. /**
  189. * The duration of the animation, in milliseconds
  190. */
  191. transitionDuration: number;
  192. /**
  193. * Length of the distance animated by the transition when lower radius is reached
  194. */
  195. lowerRadiusTransitionRange: number;
  196. /**
  197. * Length of the distance animated by the transition when upper radius is reached
  198. */
  199. upperRadiusTransitionRange: number;
  200. private _autoTransitionRange;
  201. /**
  202. * Gets a value indicating if the lowerRadiusTransitionRange and upperRadiusTransitionRange are defined automatically
  203. */
  204. /**
  205. * Sets a value indicating if the lowerRadiusTransitionRange and upperRadiusTransitionRange are defined automatically
  206. * Transition ranges will be set to 5% of the bounding box diagonal in world space
  207. */
  208. autoTransitionRange: boolean;
  209. private _attachedCamera;
  210. private _onAfterCheckInputsObserver;
  211. private _onMeshTargetChangedObserver;
  212. init(): void;
  213. attach(camera: ArcRotateCamera): void;
  214. detach(): void;
  215. private _radiusIsAnimating;
  216. private _radiusBounceTransition;
  217. private _animatables;
  218. private _cachedWheelPrecision;
  219. /**
  220. * Checks if the camera radius is at the specified limit. Takes into account animation locks.
  221. * @param radiusLimit The limit to check against.
  222. * @return Bool to indicate if at limit.
  223. */
  224. private _isRadiusAtLimit(radiusLimit);
  225. /**
  226. * Applies an animation to the radius of the camera, extending by the radiusDelta.
  227. * @param radiusDelta The delta by which to animate to. Can be negative.
  228. */
  229. private _applyBoundRadiusAnimation(radiusDelta);
  230. /**
  231. * Removes all animation locks. Allows new animations to be added to any of the camera properties.
  232. */
  233. protected _clearAnimationLocks(): void;
  234. /**
  235. * Stops and removes all animations that have been applied to the camera
  236. */
  237. stopAllAnimations(): void;
  238. }
  239. }
  240. declare module 'babylonjs/cameraBehaviors' {
  241. class AutoRotationBehavior implements Behavior<ArcRotateCamera> {
  242. readonly name: string;
  243. private _zoomStopsAnimation;
  244. private _idleRotationSpeed;
  245. private _idleRotationWaitTime;
  246. private _idleRotationSpinupTime;
  247. /**
  248. * Gets the flag that indicates if user zooming should stop animation.
  249. */
  250. /**
  251. * Sets the flag that indicates if user zooming should stop animation.
  252. */
  253. zoomStopsAnimation: boolean;
  254. /**
  255. * Gets the default speed at which the camera rotates around the model.
  256. */
  257. /**
  258. * Sets the default speed at which the camera rotates around the model.
  259. */
  260. idleRotationSpeed: number;
  261. /**
  262. * Gets the time (milliseconds) to wait after user interaction before the camera starts rotating.
  263. */
  264. /**
  265. * Sets the time (in milliseconds) to wait after user interaction before the camera starts rotating.
  266. */
  267. idleRotationWaitTime: number;
  268. /**
  269. * Gets the time (milliseconds) to take to spin up to the full idle rotation speed.
  270. */
  271. /**
  272. * Sets the time (milliseconds) to take to spin up to the full idle rotation speed.
  273. */
  274. idleRotationSpinupTime: number;
  275. /**
  276. * Gets a value indicating if the camera is currently rotating because of this behavior
  277. */
  278. readonly rotationInProgress: boolean;
  279. private _onPrePointerObservableObserver;
  280. private _onAfterCheckInputsObserver;
  281. private _attachedCamera;
  282. private _isPointerDown;
  283. private _lastFrameTime;
  284. private _lastInteractionTime;
  285. private _cameraRotationSpeed;
  286. init(): void;
  287. attach(camera: ArcRotateCamera): void;
  288. detach(): void;
  289. /**
  290. * Returns true if user is scrolling.
  291. * @return true if user is scrolling.
  292. */
  293. private _userIsZooming();
  294. private _lastFrameRadius;
  295. private _shouldAnimationStopForInteraction();
  296. /**
  297. * Applies any current user interaction to the camera. Takes into account maximum alpha rotation.
  298. */
  299. private _applyUserInteraction();
  300. private _userIsMoving();
  301. }
  302. }
  303. import {EffectFallbacks,EffectCreationOptions,Effect,Nullable,float,double,int,FloatArray,IndicesArray,KeyboardEventTypes,KeyboardInfo,KeyboardInfoPre,PointerEventTypes,PointerInfoBase,PointerInfoPre,PointerInfo,ToGammaSpace,ToLinearSpace,Epsilon,Color3,Color4,Vector2,Vector3,Vector4,ISize,Size,Quaternion,Matrix,Plane,Viewport,Frustum,Space,Axis,BezierCurve,Orientation,Angle,Arc2,Path2,Path3D,Curve3,PositionNormalVertex,PositionNormalTextureVertex,Tmp,Scalar,expandToProperty,serialize,serializeAsTexture,serializeAsColor3,serializeAsFresnelParameters,serializeAsVector2,serializeAsVector3,serializeAsMeshReference,serializeAsColorCurves,serializeAsColor4,serializeAsImageProcessingConfiguration,serializeAsQuaternion,SerializationHelper,EventState,Observer,MultiObserver,Observable,SmartArray,SmartArrayNoDuplicate,IAnimatable,LoadFileError,RetryStrategy,IFileRequest,Tools,PerfCounter,className,AsyncLoop,_AlphaState,_DepthCullingState,_StencilState,InstancingAttributeInfo,RenderTargetCreationOptions,EngineCapabilities,EngineOptions,IDisplayChangedEventArgs,Engine,Node,BoundingSphere,BoundingBox,ICullable,BoundingInfo,TransformNode,AbstractMesh,Light,Camera,RenderingManager,RenderingGroup,IDisposable,IActiveMeshCandidateProvider,RenderingGroupInfo,Scene,Buffer,VertexBuffer,InternalTexture,BaseTexture,Texture,_InstancesBatch,Mesh,BaseSubMesh,SubMesh,MaterialDefines,Material,UniformBuffer,IGetSetVerticesData,VertexData,Geometry,_PrimitiveGeometry,RibbonGeometry,BoxGeometry,SphereGeometry,DiscGeometry,CylinderGeometry,TorusGeometry,GroundGeometry,TiledGroundGeometry,PlaneGeometry,TorusKnotGeometry,PostProcessManager,PerformanceMonitor,RollingAverage,IImageProcessingConfigurationDefines,ImageProcessingConfiguration,ColorGradingTexture,ColorCurves,Behavior,MaterialHelper,PushMaterial,StandardMaterialDefines,StandardMaterial} from 'babylonjs/core';
  304. import {EngineInstrumentation,SceneInstrumentation,_TimeToken} from 'babylonjs/instrumentation';
  305. import {Particle,IParticleSystem,ParticleSystem,BoxParticleEmitter,ConeParticleEmitter,SphereParticleEmitter,SphereDirectedParticleEmitter,IParticleEmitterType} from 'babylonjs/particles';
  306. import {GPUParticleSystem} from 'babylonjs/gpuParticles';
  307. import {NullEngineOptions,NullEngine} from 'babylonjs/nullEngine';
  308. import {TextureTools} from 'babylonjs/textureTools';
  309. import {SolidParticle,ModelShape,DepthSortedParticle,SolidParticleSystem} from 'babylonjs/solidParticles';
  310. import {Collider,CollisionWorker,ICollisionCoordinator,SerializedMesh,SerializedSubMesh,SerializedGeometry,BabylonMessage,SerializedColliderToWorker,WorkerTaskType,WorkerReply,CollisionReplyPayload,InitPayload,CollidePayload,UpdatePayload,WorkerReplyType,CollisionCoordinatorWorker,CollisionCoordinatorLegacy} from 'babylonjs/collisions';
  311. import {IntersectionInfo,PickingInfo,Ray} from 'babylonjs/picking';
  312. import {SpriteManager,Sprite} from 'babylonjs/sprites';
  313. import {AnimationRange,AnimationEvent,PathCursor,Animation,TargetedAnimation,AnimationGroup,RuntimeAnimation,Animatable,IEasingFunction,EasingFunction,CircleEase,BackEase,BounceEase,CubicEase,ElasticEase,ExponentialEase,PowerEase,QuadraticEase,QuarticEase,QuinticEase,SineEase,BezierCurveEase} from 'babylonjs/animations';
  314. import {Condition,ValueCondition,PredicateCondition,StateCondition,Action,ActionEvent,ActionManager,InterpolateValueAction,SwitchBooleanAction,SetStateAction,SetValueAction,IncrementValueAction,PlayAnimationAction,StopAnimationAction,DoNothingAction,CombineAction,ExecuteCodeAction,SetParentAction,PlaySoundAction,StopSoundAction} from 'babylonjs/actions';
  315. import {GroundMesh,InstancedMesh,LinesMesh} from 'babylonjs/additionalMeshes';
  316. import {ShaderMaterial} from 'babylonjs/shaderMaterial';
  317. import {MeshBuilder} from 'babylonjs/meshBuilder';
  318. import {PBRBaseMaterial,PBRBaseSimpleMaterial,PBRMaterial,PBRMetallicRoughnessMaterial,PBRSpecularGlossinessMaterial} from 'babylonjs/pbrMaterial';
  319. import {CameraInputTypes,ICameraInput,CameraInputsMap,CameraInputsManager,TargetCamera} from 'babylonjs/targetCamera';
  320. import {ArcRotateCameraKeyboardMoveInput,ArcRotateCameraMouseWheelInput,ArcRotateCameraPointersInput,ArcRotateCameraInputsManager,ArcRotateCamera} from 'babylonjs/arcRotateCamera';
  321. import {FreeCameraMouseInput,FreeCameraKeyboardMoveInput,FreeCameraInputsManager,FreeCamera} from 'babylonjs/freeCamera';
  322. import {HemisphericLight} from 'babylonjs/hemisphericLight';
  323. import {IShadowLight,ShadowLight,PointLight} from 'babylonjs/pointLight';
  324. import {DirectionalLight} from 'babylonjs/directionalLight';
  325. import {SpotLight} from 'babylonjs/spotLight';
  326. import {CubeTexture,RenderTargetTexture,IMultiRenderTargetOptions,MultiRenderTarget,MirrorTexture,RefractionTexture,DynamicTexture,VideoTexture,RawTexture} from 'babylonjs/additionalTextures';
  327. import {AudioEngine,Sound,SoundTrack,Analyser} from 'babylonjs/audio';
  328. import {ILoadingScreen,DefaultLoadingScreen,SceneLoaderProgressEvent,ISceneLoaderPluginExtensions,ISceneLoaderPluginFactory,ISceneLoaderPlugin,ISceneLoaderPluginAsync,SceneLoader,FilesInput} from 'babylonjs/loader';
  329. import {IShadowGenerator,ShadowGenerator} from 'babylonjs/shadows';
  330. import {StringDictionary} from 'babylonjs/stringDictionary';
  331. import {Tags,AndOrNotEvaluator} from 'babylonjs/userData';
  332. import {FresnelParameters} from 'babylonjs/fresnel';
  333. import {MultiMaterial} from 'babylonjs/multiMaterial';
  334. import {Database} from 'babylonjs/offline';
  335. import {FreeCameraTouchInput,TouchCamera} from 'babylonjs/touchCamera';
  336. import {ProceduralTexture,CustomProceduralTexture} from 'babylonjs/procedural';
  337. import {FreeCameraGamepadInput,ArcRotateCameraGamepadInput,GamepadManager,StickValues,GamepadButtonChanges,Gamepad,GenericPad,Xbox360Button,Xbox360Dpad,Xbox360Pad,PoseEnabledControllerType,MutableGamepadButton,ExtendedGamepadButton,PoseEnabledControllerHelper,PoseEnabledController,WebVRController,OculusTouchController,ViveController,GenericController,WindowsMotionController} from 'babylonjs/gamepad';
  338. import {FollowCamera,ArcFollowCamera,UniversalCamera,GamepadCamera} from 'babylonjs/additionalCameras';
  339. import {DepthRenderer} from 'babylonjs/depthRenderer';
  340. import {GeometryBufferRenderer} from 'babylonjs/geometryBufferRenderer';
  341. import {PostProcessOptions,PostProcess,PassPostProcess} from 'babylonjs/postProcesses';
  342. import {BlurPostProcess} from 'babylonjs/additionalPostProcess_blur';
  343. import {FxaaPostProcess} from 'babylonjs/additionalPostProcess_fxaa';
  344. import {HighlightsPostProcess} from 'babylonjs/additionalPostProcess_highlights';
  345. import {RefractionPostProcess,BlackAndWhitePostProcess,ConvolutionPostProcess,FilterPostProcess,VolumetricLightScatteringPostProcess,ColorCorrectionPostProcess,TonemappingOperator,TonemapPostProcess,DisplayPassPostProcess,ImageProcessingPostProcess} from 'babylonjs/additionalPostProcesses';
  346. import {PostProcessRenderPipelineManager,PostProcessRenderPass,PostProcessRenderEffect,PostProcessRenderPipeline} from 'babylonjs/renderingPipeline';
  347. import {SSAORenderingPipeline,SSAO2RenderingPipeline,LensRenderingPipeline,StandardRenderingPipeline} from 'babylonjs/additionalRenderingPipeline';
  348. import {DefaultRenderingPipeline} from 'babylonjs/defaultRenderingPipeline';
  349. import {Bone,BoneIKController,BoneLookController,Skeleton} from 'babylonjs/bones';
  350. import {SphericalPolynomial,SphericalHarmonics,CubeMapToSphericalPolynomialTools,CubeMapInfo,PanoramaToCubeMapTools,HDRInfo,HDRTools,HDRCubeTexture} from 'babylonjs/hdr';
  351. import {CSG} from 'babylonjs/csg';
  352. import {Polygon,PolygonMeshBuilder} from 'babylonjs/polygonMesh';
  353. import {LensFlare,LensFlareSystem} from 'babylonjs/lensFlares';
  354. import {PhysicsJointData,PhysicsJoint,DistanceJoint,MotorEnabledJoint,HingeJoint,Hinge2Joint,IMotorEnabledJoint,DistanceJointData,SpringJointData,PhysicsImpostorParameters,IPhysicsEnabledObject,PhysicsImpostor,PhysicsImpostorJoint,PhysicsEngine,IPhysicsEnginePlugin,PhysicsHelper,PhysicsRadialExplosionEvent,PhysicsGravitationalFieldEvent,PhysicsUpdraftEvent,PhysicsVortexEvent,PhysicsRadialImpulseFalloff,PhysicsUpdraftMode,PhysicsForceAndContactPoint,PhysicsRadialExplosionEventData,PhysicsGravitationalFieldEventData,PhysicsUpdraftEventData,PhysicsVortexEventData,CannonJSPlugin,OimoJSPlugin} from 'babylonjs/physics';
  355. import {TGATools,DDSInfo,DDSTools,KhronosTextureContainer} from 'babylonjs/textureFormats';
  356. import {Debug,RayHelper,DebugLayer,BoundingBoxRenderer} from 'babylonjs/debug';
  357. import {MorphTarget,MorphTargetManager} from 'babylonjs/morphTargets';
  358. import {IOctreeContainer,Octree,OctreeBlock} from 'babylonjs/octrees';
  359. import {SIMDHelper} from 'babylonjs/simd';
  360. import {VRDistortionCorrectionPostProcess,AnaglyphPostProcess,StereoscopicInterlacePostProcess,FreeCameraDeviceOrientationInput,ArcRotateCameraVRDeviceOrientationInput,VRCameraMetrics,DevicePose,PoseControlled,WebVROptions,WebVRFreeCamera,DeviceOrientationCamera,VRDeviceOrientationFreeCamera,VRDeviceOrientationGamepadCamera,VRDeviceOrientationArcRotateCamera,AnaglyphFreeCamera,AnaglyphArcRotateCamera,AnaglyphGamepadCamera,AnaglyphUniversalCamera,StereoscopicFreeCamera,StereoscopicArcRotateCamera,StereoscopicGamepadCamera,StereoscopicUniversalCamera,VRTeleportationOptions,VRExperienceHelperOptions,VRExperienceHelper} from 'babylonjs/vr';
  361. import {JoystickAxis,VirtualJoystick,VirtualJoysticksCamera,FreeCameraVirtualJoystickInput} from 'babylonjs/virtualJoystick';
  362. import {ISimplifier,ISimplificationSettings,SimplificationSettings,ISimplificationTask,SimplificationQueue,SimplificationType,DecimationTriangle,DecimationVertex,QuadraticMatrix,Reference,QuadraticErrorSimplification,MeshLODLevel,SceneOptimization,TextureOptimization,HardwareScalingOptimization,ShadowsOptimization,PostProcessesOptimization,LensFlaresOptimization,ParticlesOptimization,RenderTargetsOptimization,MergeMeshesOptimization,SceneOptimizerOptions,SceneOptimizer} from 'babylonjs/optimizations';
  363. import {OutlineRenderer,EdgesRenderer,IHighlightLayerOptions,HighlightLayer} from 'babylonjs/highlights';
  364. import {SceneSerializer} from 'babylonjs/serialization';
  365. import {AssetTaskState,AbstractAssetTask,IAssetsProgressEvent,AssetsProgressEvent,MeshAssetTask,TextFileAssetTask,BinaryFileAssetTask,ImageAssetTask,ITextureAssetTask,TextureAssetTask,CubeTextureAssetTask,HDRCubeTextureAssetTask,AssetsManager} from 'babylonjs/assetsManager';
  366. import {ReflectionProbe} from 'babylonjs/probes';
  367. import {BackgroundMaterial} from 'babylonjs/backgroundMaterial';
  368. import {Layer} from 'babylonjs/layer';
  369. import {IEnvironmentHelperOptions,EnvironmentHelper} from 'babylonjs/environmentHelper';