@babylonjs/lite-compat 1.32.0-preview → 1.34.0-preview
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 +5 -5
- package/index.d.ts +257 -25
- package/index.js +258 -33
- package/index.js.map +1 -1
- package/{meshes-Ds66ewr9.js → meshes-BLcUDvXV.js} +42 -2
- package/meshes-BLcUDvXV.js.map +1 -0
- package/navigation.d.ts +29 -9
- package/navigation.js +1 -1
- package/package.json +4 -4
- package/meshes-Ds66ewr9.js.map +0 -1
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { CharacterSupportedState as CharacterSupportedState$1, MaxTintMagnitude, MinTemperatureKelvin, PhysicsConstraintAxis as PhysicsConstraintAxis$1, PhysicsConstraintType as PhysicsConstraintType$1, PhysicsMotionType as PhysicsMotionType$1, PhysicsPrestepType as PhysicsPrestepType$1, PhysicsShapeType as PhysicsShapeType$1, VERSION, addAnimationGroup, addBillboardSpriteIndex, addClusteredLightContainer, addComputeDispatch, addFacingBillboardSystem, addPolarToRef, addSphericalToRef, addSprite2DIndex, addToScene, animateParticleSystem, applyPhysicsBodyForce, applyPhysicsBodyImpulse, attachAxisDragGizmoToNode, attachAxisScaleGizmoToNode, attachBoundingBoxGizmoToNode, attachCameraGizmoToCamera, attachControl, attachFreeControl, attachGeospatialControls, attachLightGizmoToLight, attachPlaneDragGizmoToNode, attachPlaneRotationGizmoToNode, attachPositionGizmoToNode, attachRotationGizmoToNode, attachScaleGizmoToNode, backEase, bakeCurrentTransformIntoVertices, bezierCurveEase, billboardBlendAdditive, billboardBlendAlpha, bounceEase, calculatePhysicsCharacterMovementToRef, circleEase, clearAnimationManager, clearBoneOverride, clearStorageBuffer, computeStorageBufferBinding, computeUniformBufferBinding, createAnimationManager, createArcRotateCamera, createAudioBusAsync, createAudioEngineAsync, createAxisDragGizmo, createAxisScaleGizmo, createBankedFreeCamera, createBoundingBoxGizmo, createCameraGizmo, createClusteredLightContainer, createClusteredPointLight, createComputeBindingSet, createComputeDispatch, createComputeIndirectDispatch, createComputeShader, createComputeTask, createCsg2FromMesh, createCsgFromMesh, createCsmDirectionalShadowGenerator, createDefaultCamera, createDefaultMeshBlendRadiusDefinitions, createDirectionalLight, createDynamicTexture, createEngine, createEsmDirectionalShadowGenerator, createFacingBillboardSystem, createFreeCamera, createGeospatialCamera, createGpuPicker, createGridMaterial, createHavokWorld, createHemisphericLight, createHtmlTexture, createKhrInteractivityRuntimeValueSnapshot, createLightGizmo, createMeshFromCsg, createMeshesFromCsg2, createMicrophoneSoundSourceAsync, createMorphTargets, createNullEngine, createParticleBillboard, createPcfDirectionalShadowGenerator, createPcfSpotlightShadowGenerator, createPhysicsAggregate, createPhysicsBody, createPhysicsCharacterController, createPhysicsConstraint, createPhysicsShape, createPickingRay, createPlaneDragGizmo, createPlaneRotationGizmo, createPointLight, createPositionGizmo, createPropertyAnimationClip, createPropertyAnimationGroup, createRotationGizmo, createScaleGizmo, createSceneContext, createSoundAsync, createSoundBufferAsync, createSoundSourceAsync, createSpotLight, createSprite2DLayer, createSpriteRenderer, createStorageBuffer, createStreamingSoundAsync, createTexture2DArray, createTexture2DArrayFromKtx2, createTexture2DArrayFromPixels, createTexture2DArrayFromUrls, createTexture2DFromPixels, createTexture3DFromPixels, createTransformNode, createUniformBuffer, createUtilityLayer, csg2Add, csg2Intersect, csg2Subtract, csgIntersect, csgSubtract, csgUnion, cubicEase, disableOrthographicCamera, disposeAudioBus, disposeAudioEngine, disposeAxisDragGizmo, disposeAxisScaleGizmo, disposeBoundingBoxGizmo, disposeCameraGizmo, disposeComputeBindingSet, disposeComputeShader, disposeCsg2, disposeEngine, disposeHtmlTexture, disposeLightGizmo, disposePhysics, disposePicker, disposePlaneDragGizmo, disposePlaneRotationGizmo, disposePositionGizmo, disposeRotationGizmo, disposeScaleGizmo, disposeScene, disposeSound, disposeSoundSource, disposeStorageBuffer, disposeStreamingSound, disposeUniformBuffer, disposeUsd, disposeUtilityLayer, dividePolarToRef, divideSphericalToRef, elasticEase, enableAnalyzer, enableAnimationBlending, enableArcRotateKeyboardControls, enableBoneControlForSkinnedAssets, enableHavokThinInstancePhysicsSync, enableMirroredMeshes, enableOrthographicCamera, enableSpatial, enableStereo, exponentialEase, getBoneByName, getByteFrequencyData, getByteTimeDomainData, getCameraPosition, getFloatFrequencyData, getFloatTimeDomainData, getMasterVolume, getPhysicsBodyAngularVelocity, getPhysicsBodyLinearVelocity, getProjectionMatrix, getVariantNames, getViewMatrix, getWhiteBalanceMatrix, goToFrame, hasDefaultInteractivityFlowInput, initializeCsg2Async, invertMat4, loadBabylon, loadBasisTexture2D, loadDdsEnvironment, loadEnvironment, loadGltf, loadHdrEnvironment, loadImageToArrayLayer, loadKtxTexture2D, loadSOG, loadSPZ, loadSplat, loadSpriteAtlas, loadTexture2D, loadUsd, markClusteredLightContainerDirty, multiplyMat4, multiplyPolarToRef, multiplySphericalToRef, normalizeInteractivityEventDataConfiguration, normalizeKhrInteractivityRuntimeValue, onBeforeRender, onPhysicsAfterStep, packMeshBlendingTag, parseNodeMaterialFromSnippet, parseNodeParticleSetFromSnippet, pauseAnimation, pauseSound, pauseStreamingSound, physicsRaycast, pickAsync,
|
|
1
|
+
import { $ as Vector4, A as PBRClearCoatConfiguration, B as Observable, C as RegisterPolygonBuilder, D as registerMeshAtStart, E as VertexData, F as PBRSpecularGlossinessMaterial, G as transformCoordinates, H as BoundingInfo, I as PushMaterial, J as Color3, K as transformNormal, L as StandardMaterial, M as PBRMaterial, N as PBRMetallicRoughnessMaterial, O as Material, P as PBRSheenConfiguration, Q as Vector3, R as attachMaterialToScene, S as PolygonBuilder, T as VertexBuffer, U as BoundingSphere, V as BoundingBox, W as Matrix, X as liteBackedColor3, Y as Color4, Z as Vector2, _ as GroundMesh, a as CreateDisc, b as Mesh, c as CreateLines, d as CreatePolygonVertexData, et as liteBackedVector3, f as CreateSphere, g as ExtrudePolygon, h as CreateTorus, i as CreateDashedLines, j as PBRIridescenceConfiguration, k as PBRAnisotropicConfiguration, l as CreatePlane, m as CreateTiledPlane, n as CreateBox, nt as unsupported, o as CreateGround, p as CreateTiledBox, q as Quaternion, r as CreateCylinder, s as CreateLineSystem, t as AbstractMesh, tt as LiteCompatError, u as CreatePolygon, v as InstancedMesh, w as TransformNode, x as MeshBuilder, y as LinesMesh, z as Node } from "./meshes-BLcUDvXV.js";
|
|
2
|
+
import { CharacterSupportedState as CharacterSupportedState$1, MaxTintMagnitude, MinTemperatureKelvin, PhysicsConstraintAxis as PhysicsConstraintAxis$1, PhysicsConstraintType as PhysicsConstraintType$1, PhysicsMotionType as PhysicsMotionType$1, PhysicsPrestepType as PhysicsPrestepType$1, PhysicsShapeType as PhysicsShapeType$1, VERSION, addAnimationGroup, addBillboardSpriteIndex, addClusteredLightContainer, addComputeDispatch, addFacingBillboardSystem, addPolarToRef, addSphericalToRef, addSprite2DIndex, addToScene, animateParticleSystem, applyPhysicsBodyForce, applyPhysicsBodyImpulse, attachAxisDragGizmoToNode, attachAxisScaleGizmoToNode, attachBoundingBoxGizmoToNode, attachCameraGizmoToCamera, attachControl, attachFreeControl, attachGeospatialControls, attachLightGizmoToLight, attachPlaneDragGizmoToNode, attachPlaneRotationGizmoToNode, attachPositionGizmoToNode, attachRotationGizmoToNode, attachScaleGizmoToNode, backEase, bakeCurrentTransformIntoVertices, bezierCurveEase, billboardBlendAdditive, billboardBlendAlpha, bounceEase, calculatePhysicsCharacterMovementToRef, circleEase, clearAnimationManager, clearBoneOverride, clearStorageBuffer, computeStorageBufferBinding, computeUniformBufferBinding, createAnimationManager, createArcRotateCamera, createAudioBusAsync, createAudioEngineAsync, createAxisDragGizmo, createAxisScaleGizmo, createBankedFreeCamera, createBoundingBoxGizmo, createCameraGizmo, createClusteredLightContainer, createClusteredPointLight, createComputeBindingSet, createComputeDispatch, createComputeIndirectDispatch, createComputeShader, createComputeTask, createCsg2FromMesh, createCsgFromMesh, createCsmDirectionalShadowGenerator, createDefaultCamera, createDefaultMeshBlendRadiusDefinitions, createDirectionalLight, createDynamicTexture, createEngine, createEsmDirectionalShadowGenerator, createExternalTexture, createFacingBillboardSystem, createFreeCamera, createGeospatialCamera, createGpuPicker, createGridMaterial, createHavokWorld, createHemisphericLight, createHtmlTexture, createKhrInteractivityRuntimeValueSnapshot, createLightGizmo, createMeshFromCsg, createMeshesFromCsg2, createMicrophoneSoundSourceAsync, createMorphTargets, createNullEngine, createParticleBillboard, createPcfDirectionalShadowGenerator, createPcfSpotlightShadowGenerator, createPhysicsAggregate, createPhysicsBody, createPhysicsCharacterController, createPhysicsConstraint, createPhysicsShape, createPickingRay, createPlaneDragGizmo, createPlaneRotationGizmo, createPointLight, createPositionGizmo, createPropertyAnimationClip, createPropertyAnimationGroup, createRotationGizmo, createScaleGizmo, createSceneContext, createSoundAsync, createSoundBufferAsync, createSoundSourceAsync, createSpotLight, createSprite2DLayer, createSpriteRenderer, createStorageBuffer, createStreamingSoundAsync, createTexture2DArray, createTexture2DArrayFromKtx2, createTexture2DArrayFromPixels, createTexture2DArrayFromUrls, createTexture2DFromPixels, createTexture3DFromPixels, createTransformNode, createUniformBuffer, createUtilityLayer, csg2Add, csg2Intersect, csg2Subtract, csgIntersect, csgSubtract, csgUnion, cubicEase, disableOrthographicCamera, disposeAudioBus, disposeAudioEngine, disposeAxisDragGizmo, disposeAxisScaleGizmo, disposeBoundingBoxGizmo, disposeCameraGizmo, disposeComputeBindingSet, disposeComputeShader, disposeCsg2, disposeEngine, disposeHtmlTexture, disposeLightGizmo, disposePhysics, disposePicker, disposePlaneDragGizmo, disposePlaneRotationGizmo, disposePositionGizmo, disposeRotationGizmo, disposeScaleGizmo, disposeScene, disposeSound, disposeSoundSource, disposeStorageBuffer, disposeStreamingSound, disposeUniformBuffer, disposeUsd, disposeUtilityLayer, dividePolarToRef, divideSphericalToRef, elasticEase, enableAnalyzer, enableAnimationBlending, enableArcRotateKeyboardControls, enableBoneControlForSkinnedAssets, enableHavokThinInstancePhysicsSync, enableMirroredMeshes, enableOrthographicCamera, enableSpatial, enableStereo, exponentialEase, getBoneByName, getByteFrequencyData, getByteTimeDomainData, getCameraPosition, getFloatFrequencyData, getFloatTimeDomainData, getMasterVolume, getPhysicsBodyAngularVelocity, getPhysicsBodyLinearVelocity, getPickedUV, getProjectionMatrix, getVariantNames, getViewMatrix, getWhiteBalanceMatrix, goToFrame, hasDefaultInteractivityFlowInput, initializeCsg2Async, invertMat4, isExternalTextureReady, loadBabylon, loadBasisTexture2D, loadDdsEnvironment, loadEnvironment, loadGltf, loadHdrEnvironment, loadImageToArrayLayer, loadKtxTexture2D, loadSOG, loadSPZ, loadSplat, loadSpriteAtlas, loadTexture2D, loadUsd, markClusteredLightContainerDirty, multiplyMat4, multiplyPolarToRef, multiplySphericalToRef, normalizeInteractivityEventDataConfiguration, normalizeKhrInteractivityRuntimeValue, onBeforeRender, onEngineDeviceLost, onPhysicsAfterStep, packMeshBlendingTag, parseNodeMaterialFromSnippet, parseNodeParticleSetFromSnippet, pauseAnimation, pauseSound, pauseStreamingSound, physicsRaycast, pickAsync, pickMeshesWithRayPrecise, playAnimation, playSound, playStreamingSound, polarFromVec2ToRef, polarToVec2ToRef, powerEase, preloadStreamingInstanceAsync, preloadStreamingInstancesAsync, quadraticEase, quarticEase, quinticEase, readStorageBufferAfterFrame, registerNodeParticleSet, registerScene, registerSceneWithShadowSupport, registerSpriteRenderer, registerUtilityLayer, releasePhysicsConstraint, releasePhysicsShape, removeAnimationGroup, removeFromScene, removePhysicsBody, requestHtmlTextureUpdate, resetVariant, resizeEngine, resolveCameraViewport, resumeSound, resumeStreamingSound, sampleCatmullRomSpline, sampleHermiteSpline, scalePolarToRef, scaleSphericalToRef, selectVariant, setAnimationAdditive, setBonePosition, setBoneRotationQuaternion, setBoneScaling, setBusVolume, setClipPlane, setEngineSize, setFog, setGeospatialOrientation, setMasterVolume, setMorphTargetWeights, setParent, setPhysicsBodyAngularVelocity, setPhysicsBodyLinearVelocity, setPhysicsBodyMassProperties, setPhysicsBodyMotionType, setPhysicsBodyPrestepType, setPhysicsBodyShape, setPhysicsGravity, setPhysicsShapeFilterCollideMask, setPhysicsShapeFilterMembershipMask, setPhysicsShapeIsTrigger, setPhysicsShapeMaterial, setPhysicsTimestep, setPositionGizmoLocalCoordinates, setRotationGizmoLocalCoordinates, setScaleGizmoLocalCoordinates, setShadowTaskCasterMeshes, setSoundSourceVolume, setSoundVolume, setSpatialListener, setSpatialListenerPosition, setSpatialOrientation, setSpatialPosition, setStereoPan, setStreamingSoundVolume, sineEase, sphericalFromVec3ToRef, sphericalToVec3ToRef, spriteBlendAdditive, spriteBlendAlpha, spriteBlendPremultiplied, startEngine, startParticleSystem, stepScene, stopAnimation, stopEngine, stopParticleSystem, stopSound, stopStreamingSound, submitComputeTasks, subtractPolarToRef, subtractSphericalToRef, syncParticleBillboard, temperatureTintToXyz, unlockAudioEngineAsync, unpackMeshBlendingTag, updateAnimationManager, updateBillboardSpriteIndex, updateDynamicTexture, updateHtmlTexture, updateSpatialAudio, updateSprite2DIndex, updateStorageBufferRange, updateTexture2DArrayFromPixels, updateTexture2DFromPixels, updateUniformBuffer, uploadImageToArrayLayer, whenHtmlTextureReady } from "@babylonjs/lite";
|
|
3
3
|
//#region \0rolldown/runtime.js
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __exportAll = (all, no_symbols) => {
|
|
@@ -607,6 +607,9 @@ var PickingInfo = class PickingInfo {
|
|
|
607
607
|
gripTransform = null;
|
|
608
608
|
_normal = null;
|
|
609
609
|
_worldNormal = null;
|
|
610
|
+
_faceNormal = null;
|
|
611
|
+
_faceWorldNormal = null;
|
|
612
|
+
_uv = null;
|
|
610
613
|
/** @internal Create a compat result from Lite's synchronous CPU-picking result. */
|
|
611
614
|
static _fromLite(info, pickedMesh, ray) {
|
|
612
615
|
const result = new PickingInfo();
|
|
@@ -623,13 +626,17 @@ var PickingInfo = class PickingInfo {
|
|
|
623
626
|
result.ray = ray;
|
|
624
627
|
result._normal = info.pickedNormal ? Vector3.FromArray(info.pickedNormal) : null;
|
|
625
628
|
result._worldNormal = info.pickedNormalWorld ? Vector3.FromArray(info.pickedNormalWorld) : null;
|
|
629
|
+
result._faceNormal = info.pickedFaceNormal ? Vector3.FromArray(info.pickedFaceNormal) : null;
|
|
630
|
+
result._faceWorldNormal = info.pickedFaceNormalWorld ? Vector3.FromArray(info.pickedFaceNormalWorld) : null;
|
|
631
|
+
const uv = getPickedUV(info);
|
|
632
|
+
result._uv = uv ? new Vector2(uv[0], uv[1]) : null;
|
|
626
633
|
return result;
|
|
627
634
|
}
|
|
628
|
-
getNormal(useWorldCoordinates = false,
|
|
629
|
-
return useWorldCoordinates ? this._worldNormal
|
|
635
|
+
getNormal(useWorldCoordinates = false, useVerticesNormals = true) {
|
|
636
|
+
return (useVerticesNormals ? useWorldCoordinates ? this._worldNormal : this._normal : useWorldCoordinates ? this._faceWorldNormal : this._faceNormal)?.clone() ?? null;
|
|
630
637
|
}
|
|
631
|
-
getTextureCoordinates(
|
|
632
|
-
return
|
|
638
|
+
getTextureCoordinates(uvSet = "uv") {
|
|
639
|
+
return uvSet === "uv" ? this._uv?.clone() ?? null : null;
|
|
633
640
|
}
|
|
634
641
|
};
|
|
635
642
|
//#endregion
|
|
@@ -896,6 +903,12 @@ var AbstractEngine = class {
|
|
|
896
903
|
useReverseDepthBuffer = false;
|
|
897
904
|
/** Babylon.js `engine.onResizeObservable` — fires after `resize()` / `setSize()`. */
|
|
898
905
|
onResizeObservable = new Observable();
|
|
906
|
+
/** Babylon.js context-loss signal, forwarded from Lite's device-loss subscription. */
|
|
907
|
+
onContextLostObservable = new Observable();
|
|
908
|
+
/** Babylon.js context-restored signal. Lite does not expose a completed-recovery event, so this remains shape-only. */
|
|
909
|
+
onContextRestoredObservable = new Observable();
|
|
910
|
+
/** @internal Device-loss unsubscriber installed by `initAsync`. */
|
|
911
|
+
_unsubscribeDeviceLost = null;
|
|
899
912
|
/** @internal Babylon.js hardware-scaling level. Babylon Lite manages device-pixel-ratio itself; stored for parity. */
|
|
900
913
|
_hardwareScalingLevel = 1;
|
|
901
914
|
/** @internal Latest per-frame delta in ms, updated by each scene's before-render hook. */
|
|
@@ -921,8 +934,11 @@ var AbstractEngine = class {
|
|
|
921
934
|
this._canvas = canvas;
|
|
922
935
|
const opts = typeof options === "object" ? { ...options } : options === false ? { msaaSamples: 1 } : void 0;
|
|
923
936
|
if (opts) {
|
|
937
|
+
if (opts.canvasToneMapping !== void 0 || opts.canvasColorSpace !== void 0) unsupported("WebGPUEngineOptions.canvasToneMapping/canvasColorSpace", "Supporting WebGPU canvas presentation options requires changing Lite's existing surface configuration hot path; it cannot be added as an independently tree-shakeable compat capability.");
|
|
924
938
|
const antialias = opts.antialias;
|
|
925
939
|
delete opts.antialias;
|
|
940
|
+
delete opts.canvasToneMapping;
|
|
941
|
+
delete opts.canvasColorSpace;
|
|
926
942
|
if (antialias === false) opts.msaaSamples = 1;
|
|
927
943
|
}
|
|
928
944
|
if (opts?.useLargeWorldRendering) {
|
|
@@ -936,6 +952,7 @@ var AbstractEngine = class {
|
|
|
936
952
|
async initAsync() {
|
|
937
953
|
if (this._initialized) return;
|
|
938
954
|
this._lite = await createEngine(this._canvas, this._options);
|
|
955
|
+
this._unsubscribeDeviceLost = onEngineDeviceLost(this._lite, () => this.onContextLostObservable.notifyObservers(this));
|
|
939
956
|
this._initialized = true;
|
|
940
957
|
}
|
|
941
958
|
getRenderingCanvas() {
|
|
@@ -1098,6 +1115,8 @@ var AbstractEngine = class {
|
|
|
1098
1115
|
cancelAnimationFrame(this._rafId);
|
|
1099
1116
|
this._rafId = null;
|
|
1100
1117
|
}
|
|
1118
|
+
this._unsubscribeDeviceLost?.();
|
|
1119
|
+
this._unsubscribeDeviceLost = null;
|
|
1101
1120
|
if (this._initialized) disposeEngine(this._lite);
|
|
1102
1121
|
}
|
|
1103
1122
|
/** Babylon.js manual frame-pump entry point — unsupported (Lite's frame graph owns the frame). */
|
|
@@ -5269,10 +5288,9 @@ var Scene = class Scene extends AbstractScene {
|
|
|
5269
5288
|
}
|
|
5270
5289
|
/** Babylon.js synchronous screen-coordinate picking over Lite's CPU ray picker. */
|
|
5271
5290
|
pick(x, y, predicate, fastCheck = false, camera = null, trianglePredicate) {
|
|
5272
|
-
if (fastCheck || trianglePredicate) return unsupported("Scene.pick", "Babylon Lite's synchronous picker returns the nearest bounding-box hit and does not expose fast-first-hit or per-triangle predicate modes.");
|
|
5273
5291
|
const cameraToUse = camera ?? this.activeCamera ?? this.cameraToUseForPointers;
|
|
5274
5292
|
if (!cameraToUse) return new PickingInfo();
|
|
5275
|
-
return this.pickWithRay(this.createPickingRay(x, y, null, cameraToUse), predicate);
|
|
5293
|
+
return this.pickWithRay(this.createPickingRay(x, y, null, cameraToUse), predicate, fastCheck, trianglePredicate);
|
|
5276
5294
|
}
|
|
5277
5295
|
/**
|
|
5278
5296
|
* Babylon.js `Scene.createPickingRay` — translate CSS coordinates and camera
|
|
@@ -5300,26 +5318,26 @@ var Scene = class Scene extends AbstractScene {
|
|
|
5300
5318
|
}
|
|
5301
5319
|
/** Synchronous CPU ray picking over Babylon Lite's scene-mesh picker. */
|
|
5302
5320
|
pickWithRay(ray, predicate, fastCheck = false, trianglePredicate) {
|
|
5303
|
-
if (fastCheck || trianglePredicate) return unsupported("Scene.pickWithRay", "Babylon Lite's synchronous picker returns the nearest bounding-box hit and does not expose fast-first-hit or per-triangle predicate modes.");
|
|
5304
5321
|
const candidates = new Set(this._lite.meshes);
|
|
5305
5322
|
for (const wrapper of this.meshes) if (wrapper instanceof AbstractMesh) candidates.add(wrapper._lite);
|
|
5306
5323
|
const wrappers = /* @__PURE__ */ new Map();
|
|
5307
5324
|
for (const candidate of candidates) {
|
|
5308
|
-
if (candidate.thinInstances && candidate.thinInstances.count > 0) return unsupported("Scene.pickWithRay", "Thin-instance transforms are not represented by Lite's AABB ray picker; pick the source mesh before adding thin instances or use Lite's GPU picker.");
|
|
5309
5325
|
const registered = this._meshWrappers.get(candidate);
|
|
5310
5326
|
const wrapper = registered instanceof AbstractMesh ? registered : Mesh._fromLite(candidate, void 0, this);
|
|
5311
5327
|
wrappers.set(candidate, wrapper);
|
|
5312
5328
|
}
|
|
5313
|
-
const info =
|
|
5329
|
+
const info = pickMeshesWithRayPrecise(candidates, {
|
|
5314
5330
|
origin: ray.origin.asArray(),
|
|
5315
5331
|
direction: ray.direction.asArray(),
|
|
5316
5332
|
length: ray.length
|
|
5317
5333
|
}, {
|
|
5318
|
-
predicate: (mesh) => {
|
|
5334
|
+
predicate: (mesh, thinInstanceIndex) => {
|
|
5319
5335
|
const wrapper = wrappers.get(mesh);
|
|
5320
|
-
return !!wrapper && (predicate ? predicate(wrapper) : wrapper.isEnabled() && wrapper.isVisible && wrapper.isPickable);
|
|
5336
|
+
return !!wrapper && (predicate ? predicate(wrapper, thinInstanceIndex) : wrapper.isEnabled() && wrapper.isVisible && wrapper.isPickable);
|
|
5321
5337
|
},
|
|
5322
|
-
skipPickableCheck: !!predicate
|
|
5338
|
+
skipPickableCheck: !!predicate,
|
|
5339
|
+
fastCheck,
|
|
5340
|
+
trianglePredicate: trianglePredicate ? (p0, p1, p2, localRay, i0, i1, i2) => trianglePredicate(Vector3.FromArray(p0), Vector3.FromArray(p1), Vector3.FromArray(p2), new Ray(Vector3.FromArray(localRay.origin), Vector3.FromArray(localRay.direction), localRay.length), i0, i1, i2) : void 0
|
|
5323
5341
|
});
|
|
5324
5342
|
return PickingInfo._fromLite(info, info.pickedMesh ? wrappers.get(info.pickedMesh) ?? null : null, ray);
|
|
5325
5343
|
}
|
|
@@ -6793,9 +6811,10 @@ var RawTexture3D = class extends BaseTexture {
|
|
|
6793
6811
|
_scene;
|
|
6794
6812
|
/** Babylon.js `RawTexture3D.is3D` — always true for a 3D texture. */
|
|
6795
6813
|
is3D = true;
|
|
6796
|
-
constructor(data, width, height, depth, format, scene,
|
|
6814
|
+
constructor(data, width, height, depth, format, scene, generateMipMaps = true, _invertY = false, _samplingMode = 3, _textureType, _creationFlags) {
|
|
6797
6815
|
super();
|
|
6798
6816
|
this.format = format;
|
|
6817
|
+
if (generateMipMaps) unsupported("RawTexture3D(generateMipMaps)", "Babylon.js 3D mip generation renders every depth slice of every level and requires a mip-capable 3D allocation plus a dedicated shader/pipeline. Babylon Lite's public 3D texture factory allocates only one level; adding this GPU subsystem is not a small mechanical extension. Pass false to create a base-level texture.");
|
|
6799
6818
|
this._scene = scene;
|
|
6800
6819
|
const bytes = toRgbaBytes(data, width, height, depth);
|
|
6801
6820
|
this._lite = createTexture3DFromPixels(scene.getEngine()._lite, bytes, width, height, depth);
|
|
@@ -7026,6 +7045,36 @@ var RenderTargetTexture = class {
|
|
|
7026
7045
|
}
|
|
7027
7046
|
};
|
|
7028
7047
|
//#endregion
|
|
7048
|
+
//#region src/textures/external-texture.ts
|
|
7049
|
+
var nextUniqueId = 0;
|
|
7050
|
+
/** Babylon.js `ExternalTexture` over Lite's caller-owned video wrapper. */
|
|
7051
|
+
var ExternalTexture = class {
|
|
7052
|
+
_video;
|
|
7053
|
+
/** @internal Underlying Lite external texture. */
|
|
7054
|
+
_lite;
|
|
7055
|
+
useMipMaps = false;
|
|
7056
|
+
type = 16;
|
|
7057
|
+
format = 4294967295;
|
|
7058
|
+
uniqueId = nextUniqueId++;
|
|
7059
|
+
static IsExternalTexture(texture) {
|
|
7060
|
+
return !!texture && typeof texture === "object" && texture.underlyingResource !== void 0;
|
|
7061
|
+
}
|
|
7062
|
+
constructor(_video) {
|
|
7063
|
+
this._video = _video;
|
|
7064
|
+
this._lite = createExternalTexture(_video);
|
|
7065
|
+
}
|
|
7066
|
+
getClassName() {
|
|
7067
|
+
return "ExternalTexture";
|
|
7068
|
+
}
|
|
7069
|
+
get underlyingResource() {
|
|
7070
|
+
return this._video;
|
|
7071
|
+
}
|
|
7072
|
+
isReady() {
|
|
7073
|
+
return isExternalTextureReady(this._lite);
|
|
7074
|
+
}
|
|
7075
|
+
dispose() {}
|
|
7076
|
+
};
|
|
7077
|
+
//#endregion
|
|
7029
7078
|
//#region src/textures/raw-texture-2d-array.ts
|
|
7030
7079
|
/**
|
|
7031
7080
|
* Babylon.js-compatible 2D **texture array** wrappers over Babylon Lite's
|
|
@@ -11583,7 +11632,7 @@ var DitheredTileFadeMaterialPlugin = class DitheredTileFadeMaterialPlugin extend
|
|
|
11583
11632
|
};
|
|
11584
11633
|
var ShaderMaterial = class {
|
|
11585
11634
|
constructor() {
|
|
11586
|
-
unsupported("ShaderMaterial", "
|
|
11635
|
+
unsupported("ShaderMaterial", "Lite accepts standalone WGSL, but Babylon.js ShaderMaterial sources rely on the Effect shader-store/preprocessor dialect (attribute/varying declarations and injected VertexInputs/FragmentInputs); adapting it requires a shader preprocessing subsystem.");
|
|
11587
11636
|
}
|
|
11588
11637
|
};
|
|
11589
11638
|
var BackgroundMaterial = class {
|
|
@@ -11875,22 +11924,6 @@ function InstallHtmlInCanvasPolyfill() {
|
|
|
11875
11924
|
function UninstallHtmlInCanvasPolyfill() {
|
|
11876
11925
|
return unsupported("UninstallHtmlInCanvasPolyfill", "The HTML-in-canvas polyfill is not supported by Babylon Lite.");
|
|
11877
11926
|
}
|
|
11878
|
-
var GaussianSplattingStream = class {
|
|
11879
|
-
constructor(..._args) {
|
|
11880
|
-
unsupported("GaussianSplattingStream", "Gaussian-Splatting LOD streaming is a whole GPU subsystem (SOG-octree LOD residency + work-buffer decode into render-target atlases) with no Babylon Lite equivalent. Load the full cloud with `GaussianSplattingMesh` / `loadSplat` instead.");
|
|
11881
|
-
}
|
|
11882
|
-
get minimumResidentSplats() {
|
|
11883
|
-
return unsupported("GaussianSplattingStream.minimumResidentSplats", "The value is owned by Babylon.js's SOG streaming residency controller; Babylon Lite has no LOD residency subsystem from which to derive it.");
|
|
11884
|
-
}
|
|
11885
|
-
};
|
|
11886
|
-
/** Babylon.js `AddGaussianSplattingStreamPart` — appends a streamed LOD part to a GS compound mesh. */
|
|
11887
|
-
function AddGaussianSplattingStreamPart(..._args) {
|
|
11888
|
-
return unsupported("AddGaussianSplattingStreamPart", "Gaussian-Splatting LOD streaming (compound mesh + streamed parts) is not backed by Babylon Lite, which loads a whole splat cloud eagerly via `GaussianSplattingMesh`.");
|
|
11889
|
-
}
|
|
11890
|
-
/** Babylon.js `AddGaussianSplattingStreamPartAsync` — async variant of {@link AddGaussianSplattingStreamPart}. */
|
|
11891
|
-
function AddGaussianSplattingStreamPartAsync(..._args) {
|
|
11892
|
-
return unsupported("AddGaussianSplattingStreamPartAsync", "Gaussian-Splatting LOD streaming (compound mesh + streamed parts) is not backed by Babylon Lite, which loads a whole splat cloud eagerly via `GaussianSplattingMesh`.");
|
|
11893
|
-
}
|
|
11894
11927
|
var Sound = class {
|
|
11895
11928
|
constructor() {
|
|
11896
11929
|
unsupported("Sound", "Audio is not part of Babylon Lite. Use the Web Audio API directly.");
|
|
@@ -12225,6 +12258,152 @@ function RegisterGLTFMaterialsCommonExtension() {
|
|
|
12225
12258
|
unsupported("GLTF1.RegisterGLTFMaterialsCommonExtension", GLTF1_UNSUPPORTED);
|
|
12226
12259
|
}
|
|
12227
12260
|
//#endregion
|
|
12261
|
+
//#region src/meshes/gaussian-splatting-stream.ts
|
|
12262
|
+
var STREAM_BLOCKER = "Lite's native streamer accepts only an HTTP(S) manifest URL and combines selection capacity with a mandatory render cap. Babylon.js constructs synchronously from parsed metadata, applies a distinct SOG coordinate transform, and independently controls render budget, residency, compound hosting, and cancellation. Bridging those lifecycle/policy differences requires a new Lite stream-construction contract.";
|
|
12263
|
+
var COMPOUND_BLOCKER = "Lite streams one independently rendered scene node and has no compound-mesh atlas reservation/proxy lifecycle to adapt.";
|
|
12264
|
+
function unsupportedProxyConstruction(_name) {
|
|
12265
|
+
return unsupported("GaussianSplattingPartProxyMesh", COMPOUND_BLOCKER);
|
|
12266
|
+
}
|
|
12267
|
+
var GaussianSplattingPartProxyMesh = class extends Mesh {
|
|
12268
|
+
compoundSplatMesh;
|
|
12269
|
+
/** @internal */
|
|
12270
|
+
_vertexCount;
|
|
12271
|
+
/** @internal */
|
|
12272
|
+
_splatsDataOffset;
|
|
12273
|
+
/** @internal */
|
|
12274
|
+
_shDataOffset;
|
|
12275
|
+
_partIndex;
|
|
12276
|
+
_visibility = 1;
|
|
12277
|
+
constructor(name, _scene, compoundSplatMesh, partIndex, _boundingInfo, vertexCount, splatsDataOffset, shDataOffset = splatsDataOffset) {
|
|
12278
|
+
super(unsupportedProxyConstruction(name));
|
|
12279
|
+
this.compoundSplatMesh = compoundSplatMesh;
|
|
12280
|
+
this._partIndex = partIndex;
|
|
12281
|
+
this._vertexCount = vertexCount;
|
|
12282
|
+
this._splatsDataOffset = splatsDataOffset;
|
|
12283
|
+
this._shDataOffset = shDataOffset;
|
|
12284
|
+
}
|
|
12285
|
+
get partIndex() {
|
|
12286
|
+
return this._partIndex;
|
|
12287
|
+
}
|
|
12288
|
+
get proxiedMesh() {
|
|
12289
|
+
return this.compoundSplatMesh;
|
|
12290
|
+
}
|
|
12291
|
+
getClassName() {
|
|
12292
|
+
return "GaussianSplattingPartProxyMesh";
|
|
12293
|
+
}
|
|
12294
|
+
get isVisible() {
|
|
12295
|
+
return this._visibility > 0;
|
|
12296
|
+
}
|
|
12297
|
+
set isVisible(value) {
|
|
12298
|
+
this._visibility = value ? 1 : 0;
|
|
12299
|
+
}
|
|
12300
|
+
get visibility() {
|
|
12301
|
+
return this._visibility;
|
|
12302
|
+
}
|
|
12303
|
+
set visibility(value) {
|
|
12304
|
+
this._visibility = Math.max(0, Math.min(1, value));
|
|
12305
|
+
}
|
|
12306
|
+
updateBoundingInfoFromPartData() {
|
|
12307
|
+
return unsupported("GaussianSplattingPartProxyMesh.updateBoundingInfoFromPartData", COMPOUND_BLOCKER);
|
|
12308
|
+
}
|
|
12309
|
+
updateBoundingInfoFromProxiedMesh() {
|
|
12310
|
+
return unsupported("GaussianSplattingPartProxyMesh.updateBoundingInfoFromProxiedMesh", COMPOUND_BLOCKER);
|
|
12311
|
+
}
|
|
12312
|
+
updatePartIndex(_newPartIndex) {
|
|
12313
|
+
return unsupported("GaussianSplattingPartProxyMesh.updatePartIndex", COMPOUND_BLOCKER);
|
|
12314
|
+
}
|
|
12315
|
+
updatePartMetadata(_vertexCount, _splatsDataOffset, _shDataOffset = _splatsDataOffset) {
|
|
12316
|
+
return unsupported("GaussianSplattingPartProxyMesh.updatePartMetadata", COMPOUND_BLOCKER);
|
|
12317
|
+
}
|
|
12318
|
+
};
|
|
12319
|
+
/** Babylon.js `GaussianSplattingStream` exact-shape stub pending a compatible Lite construction contract. */
|
|
12320
|
+
var GaussianSplattingStream = class extends GaussianSplattingMesh {
|
|
12321
|
+
static IsLODMetadata(data) {
|
|
12322
|
+
if (!data || typeof data !== "object") return false;
|
|
12323
|
+
const metadata = data;
|
|
12324
|
+
return typeof metadata.lodLevels === "number" && Array.isArray(metadata.filenames) && !!metadata.tree && typeof metadata.tree === "object";
|
|
12325
|
+
}
|
|
12326
|
+
constructor(name, _metadata, _rootUrl, scene, _options = {}) {
|
|
12327
|
+
super(name, null, scene, false);
|
|
12328
|
+
unsupported("GaussianSplattingStream", STREAM_BLOCKER);
|
|
12329
|
+
}
|
|
12330
|
+
getClassName() {
|
|
12331
|
+
return "GaussianSplattingStream";
|
|
12332
|
+
}
|
|
12333
|
+
isReady(_completeCheck = false) {
|
|
12334
|
+
return unsupported("GaussianSplattingStream.isReady", STREAM_BLOCKER);
|
|
12335
|
+
}
|
|
12336
|
+
get streamingPartProxy() {
|
|
12337
|
+
return unsupported("GaussianSplattingStream.streamingPartProxy", COMPOUND_BLOCKER);
|
|
12338
|
+
}
|
|
12339
|
+
whenPartReadyAsync() {
|
|
12340
|
+
return unsupported("GaussianSplattingStream.whenPartReadyAsync", COMPOUND_BLOCKER);
|
|
12341
|
+
}
|
|
12342
|
+
whenSettledAsync(_stableFrames = 3) {
|
|
12343
|
+
return unsupported("GaussianSplattingStream.whenSettledAsync", STREAM_BLOCKER);
|
|
12344
|
+
}
|
|
12345
|
+
get maxDetailLod() {
|
|
12346
|
+
return unsupported("GaussianSplattingStream.maxDetailLod", STREAM_BLOCKER);
|
|
12347
|
+
}
|
|
12348
|
+
set maxDetailLod(_value) {
|
|
12349
|
+
unsupported("GaussianSplattingStream.maxDetailLod", STREAM_BLOCKER);
|
|
12350
|
+
}
|
|
12351
|
+
get splatBudget() {
|
|
12352
|
+
return unsupported("GaussianSplattingStream.splatBudget", STREAM_BLOCKER);
|
|
12353
|
+
}
|
|
12354
|
+
set splatBudget(_value) {
|
|
12355
|
+
unsupported("GaussianSplattingStream.splatBudget", STREAM_BLOCKER);
|
|
12356
|
+
}
|
|
12357
|
+
get effectiveSplatBudget() {
|
|
12358
|
+
return unsupported("GaussianSplattingStream.effectiveSplatBudget", STREAM_BLOCKER);
|
|
12359
|
+
}
|
|
12360
|
+
get residentSplatBudget() {
|
|
12361
|
+
return unsupported("GaussianSplattingStream.residentSplatBudget", STREAM_BLOCKER);
|
|
12362
|
+
}
|
|
12363
|
+
get minimumResidentSplats() {
|
|
12364
|
+
return unsupported("GaussianSplattingStream.minimumResidentSplats", STREAM_BLOCKER);
|
|
12365
|
+
}
|
|
12366
|
+
get lod0SplatCount() {
|
|
12367
|
+
return unsupported("GaussianSplattingStream.lod0SplatCount", STREAM_BLOCKER);
|
|
12368
|
+
}
|
|
12369
|
+
getBudgetDemand() {
|
|
12370
|
+
return unsupported("GaussianSplattingStream.getBudgetDemand", COMPOUND_BLOCKER);
|
|
12371
|
+
}
|
|
12372
|
+
setBudgetAllocation(_splats) {
|
|
12373
|
+
return unsupported("GaussianSplattingStream.setBudgetAllocation", COMPOUND_BLOCKER);
|
|
12374
|
+
}
|
|
12375
|
+
get maxLodLevel() {
|
|
12376
|
+
return unsupported("GaussianSplattingStream.maxLodLevel", STREAM_BLOCKER);
|
|
12377
|
+
}
|
|
12378
|
+
get frustumCulling() {
|
|
12379
|
+
return unsupported("GaussianSplattingStream.frustumCulling", STREAM_BLOCKER);
|
|
12380
|
+
}
|
|
12381
|
+
set frustumCulling(_value) {
|
|
12382
|
+
unsupported("GaussianSplattingStream.frustumCulling", STREAM_BLOCKER);
|
|
12383
|
+
}
|
|
12384
|
+
get debugDisplay() {
|
|
12385
|
+
return unsupported("GaussianSplattingStream.debugDisplay", STREAM_BLOCKER);
|
|
12386
|
+
}
|
|
12387
|
+
set debugDisplay(_value) {
|
|
12388
|
+
unsupported("GaussianSplattingStream.debugDisplay", STREAM_BLOCKER);
|
|
12389
|
+
}
|
|
12390
|
+
get debugLodSource() {
|
|
12391
|
+
return unsupported("GaussianSplattingStream.debugLodSource", STREAM_BLOCKER);
|
|
12392
|
+
}
|
|
12393
|
+
set debugLodSource(_value) {
|
|
12394
|
+
unsupported("GaussianSplattingStream.debugLodSource", STREAM_BLOCKER);
|
|
12395
|
+
}
|
|
12396
|
+
evaluateOptimalLods(_camera = null) {
|
|
12397
|
+
return unsupported("GaussianSplattingStream.evaluateOptimalLods", STREAM_BLOCKER);
|
|
12398
|
+
}
|
|
12399
|
+
};
|
|
12400
|
+
function AddGaussianSplattingStreamPart(_compound, _name, _metadata, _rootUrl, _options = {}) {
|
|
12401
|
+
return unsupported("AddGaussianSplattingStreamPart", COMPOUND_BLOCKER);
|
|
12402
|
+
}
|
|
12403
|
+
async function AddGaussianSplattingStreamPartAsync(_compound, _name, _metadata, _rootUrl, _options = {}) {
|
|
12404
|
+
unsupported("AddGaussianSplattingStreamPartAsync", COMPOUND_BLOCKER);
|
|
12405
|
+
}
|
|
12406
|
+
//#endregion
|
|
12228
12407
|
//#region src/unsupported/unsupported-extended.ts
|
|
12229
12408
|
/**
|
|
12230
12409
|
* Throwing stubs for additional Babylon.js core/loaders symbols that Babylon
|
|
@@ -12271,6 +12450,52 @@ var PostProcess = class {
|
|
|
12271
12450
|
unsupported("PostProcess", "Babylon Lite uses frame-graph post-process tasks rather than camera-attached PostProcess objects. Use the native `create*PostProcessTask` APIs.");
|
|
12272
12451
|
}
|
|
12273
12452
|
};
|
|
12453
|
+
var Effect = class {
|
|
12454
|
+
constructor() {
|
|
12455
|
+
unsupported("Effect", "Babylon.js Effect owns shader-store lookup, preprocessing, compilation, reflection, and binding; Lite exposes explicit typed WGSL material/render-shader APIs instead.");
|
|
12456
|
+
}
|
|
12457
|
+
isReady() {
|
|
12458
|
+
return unsupported("Effect.isReady", "Lite has no Babylon.js Effect compilation lifecycle.");
|
|
12459
|
+
}
|
|
12460
|
+
getEngine() {
|
|
12461
|
+
return unsupported("Effect.getEngine", "Lite has no Babylon.js Effect object associated with a compat engine.");
|
|
12462
|
+
}
|
|
12463
|
+
getCompilationError() {
|
|
12464
|
+
return unsupported("Effect.getCompilationError", "Lite has no Babylon.js Effect compilation lifecycle or error store.");
|
|
12465
|
+
}
|
|
12466
|
+
setTexture(_channel, _texture) {
|
|
12467
|
+
return unsupported("Effect.setTexture", "Lite binds textures through typed material/render-shader APIs, not an Effect binding table.");
|
|
12468
|
+
}
|
|
12469
|
+
setFloat(_uniformName, _value) {
|
|
12470
|
+
return unsupported("Effect.setFloat", "Lite binds uniforms through typed material/render-shader APIs, not an Effect binding table.");
|
|
12471
|
+
}
|
|
12472
|
+
};
|
|
12473
|
+
var EffectWrapper = class {
|
|
12474
|
+
static ForceGLSL = false;
|
|
12475
|
+
static RegisterShaderCodeProcessing(_effectWrapperName, _customShaderCodeProcessing) {
|
|
12476
|
+
return unsupported("EffectWrapper.RegisterShaderCodeProcessing", "Lite has no Babylon.js Effect shader-store/preprocessor registry to receive custom code-processing hooks.");
|
|
12477
|
+
}
|
|
12478
|
+
constructor(_options) {
|
|
12479
|
+
unsupported("EffectWrapper", "Babylon.js EffectWrapper compiles GLSL/WGSL through the Effect shader-store and preprocessor lifecycle; Lite exposes only explicit WGSL render shaders and has no Effect object to adapt.");
|
|
12480
|
+
}
|
|
12481
|
+
};
|
|
12482
|
+
var FRAME_GRAPH_MODEL_BLOCKER = "Lite exposes standalone frame-graph task factories, but not Babylon.js's FrameGraph handles, task base classes, texture manager, or node-render-graph object model required by this API.";
|
|
12483
|
+
/** Babylon.js 9.29 frame-graph min/max reduction task. */
|
|
12484
|
+
var FrameGraphMinMaxReducerTask = class {
|
|
12485
|
+
constructor(..._args) {
|
|
12486
|
+
unsupported("FrameGraphMinMaxReducerTask", FRAME_GRAPH_MODEL_BLOCKER);
|
|
12487
|
+
}
|
|
12488
|
+
};
|
|
12489
|
+
/** Babylon.js 9.29 node-render-graph min/max reduction block. */
|
|
12490
|
+
var NodeRenderGraphMinMaxReducerBlock = class {
|
|
12491
|
+
constructor(..._args) {
|
|
12492
|
+
unsupported("NodeRenderGraphMinMaxReducerBlock", FRAME_GRAPH_MODEL_BLOCKER);
|
|
12493
|
+
}
|
|
12494
|
+
};
|
|
12495
|
+
/** Babylon.js 9.29 node-render-graph registration function. */
|
|
12496
|
+
function RegisterMinMaxReducerBlock() {
|
|
12497
|
+
return unsupported("RegisterMinMaxReducerBlock", FRAME_GRAPH_MODEL_BLOCKER);
|
|
12498
|
+
}
|
|
12274
12499
|
function postProcessStub(name, nativeTask) {
|
|
12275
12500
|
return class {
|
|
12276
12501
|
constructor() {
|
|
@@ -12801,6 +13026,6 @@ var NodeParticleSystemSet = class NodeParticleSystemSet {
|
|
|
12801
13026
|
}
|
|
12802
13027
|
};
|
|
12803
13028
|
//#endregion
|
|
12804
|
-
export { AbstractAssetTask, AbstractAudioAnalyzer, AbstractAudioBus, AbstractAudioNode, AbstractAudioOutNode, AbstractEngine, AbstractMesh, AbstractNamedAudioNode, AbstractScene, AbstractSound, AbstractSoundSource, AbstractSpatialAudio, AbstractSpatialAudioListener, AbstractStereoAudio, Action, ActionManager, ActionManagerTriggers, AddGaussianSplattingStreamPart, AddGaussianSplattingStreamPartAsync, AmmoJSPlugin, AnaglyphArcRotateCamera, Angle, Animatable, Animation, AnimationGroup, AnimationKeyInterpolation, AnimationLoopModes, AnimationTypes, AppendSceneAsync, ArcRotateCamera, AssetContainer, AssetsManager, AttachToBoxBehavior, AudioBus, AudioEngine, AudioEngineV2, AudioParameterRampShape, AutoRotationBehavior, Axis, AxisDragGizmo, AxisScaleGizmo, BVHFileLoader, BackEase, BackgroundMaterial, BallAndSocketConstraint, BaseSixDofDragBehavior, BaseTexture, BezierCurveEase, BlackAndWhitePostProcess, BloomEffect, BlurPostProcess, Bone, BounceEase, BouncingBehavior, BoundingBox, BoundingBoxGizmo, BoundingBoxRenderer, BoundingInfo, BoundingSphere, CSG, CSG2, Camera, CameraGizmo, CannonJSPlugin, CascadedShadowGenerator, CastingResult, CharacterSupportedState, ChromaticAberrationPostProcess, CircleEase, ClusteredLightContainer, Color3, Color4, ColorGradient, CompleteGreasedLineColorTable, CompleteGreasedLineWidthTable, ComputeOverlayCssTransform, ComputeShader, ComputeShaderParse, Condition, Constants, CreateAudioBusAsync, CreateAudioEngineAsync, CreateBox, CreateCylinder, CreateDashedLines, CreateDefaultMeshBlendRadiusDefinitions, CreateDisc, CreateGreasedLine, CreateGreasedLineMaterial, CreateGround, CreateLineSystem, CreateLines, CreateMainAudioBusAsync, CreateMicrophoneSoundSourceAsync, CreatePlane, CreateSoundAsync, CreateSoundBufferAsync, CreateSoundSourceAsync, CreateSphere, CreateStreamingSoundAsync, CreateTexture2DArrayFromImageUrlsAsync, CreateTexture2DArrayFromKTX2Async, CreateTiledBox, CreateTiledPlane, CreateTorus, CubeTexture, CubicEase, Curve3, CustomAssetTask, DefaultRenderingPipeline, DepthOfFieldEffect, DepthRenderer, DeviceOrientationCamera, DirectionalLight, DistanceConstraint, DitheredTileFadeMaterialPlugin, DynamicTexture, EASINGMODE_EASEIN, EASINGMODE_EASEINOUT, EASINGMODE_EASEOUT, EasingFunction, EdgesRenderer, EffectLayer, ElasticEase, Engine, Epsilon, ExecuteCodeAction, ExponentialEase, FBXConstraintBehavior, FBXConstraintSolver, FBXFileLoader, FBXFileLoaderMetadata, FSR1RenderingPipeline, FactorGradient, FadeInOutBehavior, FlowGraphValidationSeverity, FluidRenderer, FluidRendererSceneComponent, FluidRenderingObject, FluidRenderingObjectCustomParticles, FluidRenderingObjectParticleSystem, FluidRenderingTargetRenderer, FlyCamera, FollowBehavior, FollowCamera, FrameGraphMeshBlendingTask, FramingBehavior, FreeCamera, Frustum, FxaaPostProcess, gltf1_exports as GLTF1, gltf2_exports as GLTF2, GPUParticleSystem, GPUPicker, GUID, GamepadCamera, GaussianSplattingMesh, GaussianSplattingStream, GeometryBufferRenderer, GeospatialCamera, GeospatialClippingBehavior, GetElementPixelFromUv, GetPointsCount, GetSupportedSimultaneousLights, GetWhiteBalanceMatrix, GizmoManager, GlowLayer, GreasedLineBaseMesh, GreasedLineMaterialDefaults, GreasedLineMesh, GreasedLineMeshColorDistribution, GreasedLineMeshWidthDistribution, GreasedLinePluginMaterial, GreasedLineRibbonAutoDirectionMode, GreasedLineRibbonFacesMode, GreasedLineRibbonMesh, GreasedLineRibbonPointsMode, GreasedLineSimpleMaterial, GreasedLineTools, GridMaterial, GroundMesh, HDRCubeTexture, HandConstraintBehavior, HavokPlugin, HemisphericLight, HighlightLayer, HingeConstraint, HtmlInteractionManager, HtmlRaycastInteractionManager, HtmlTexture, ImageProcessingConfiguration, ImportMeshAsync, IncrementValueAction, InitializeCSG2Async, InstallHtmlInCanvasPolyfill, InstancedMesh, InterpolatingBehavior, IsHtmlInCanvasSupportedNatively, IsHtmlInCanvasUploadSupported, KHR_materials_variants, LastCreatedAudioEngine, Layer, Light, LightGizmo, LinesMesh, LiteCompatError, LoadAssetContainerAsync, LoadImageToTexture2DArrayLayerAsync, LockConstraint, Logger, MainAudioBus, Material, MaterialGreasedLineDefines, MaterialPluginBase, MaterialPluginManager, Matrix, MaxTintMagnitude, Mesh, MeshBlendDebugMode, MeshBlendDepthType, MeshBlendQuality, MeshBlendingPostProcess, MeshBlendingRadiusClass, MeshBuilder, MeshoptCompression, MinTemperatureKelvin, MirrorTexture, MorphTarget, MorphTargetManager, MultiMaterial, MultiPointerScaleBehavior, Node, NodeMaterial, NodeParticleSystemSet, NodeRenderGraphMeshBlendingPostProcessBlock, NullEngine, OBJFileLoader, Observable, OnAudioEngineV2CreatedObservable, OpenPBRMaterial, OpenPBRMaterialDefines, OpenPBRMaterialLoadingAdapter, OutlineRenderer, PBRAnisotropicConfiguration, PBRClearCoatConfiguration, PBRIridescenceConfiguration, PBRMaterial, PBRMetallicRoughnessMaterial, PBRSheenConfiguration, PBRSpecularGlossinessMaterial, PackMeshBlendingTag, ParticleHelper, ParticleSystem, ParticleSystemSet, Path3D, PerformanceMonitor, Physics6DoFConstraint, Physics6DoFLimit, PhysicsAggregate, PhysicsBody, PhysicsCharacterController, PhysicsConstraint, PhysicsConstraintAxis, PhysicsConstraintType, PhysicsEngine, PhysicsMotionType, PhysicsPrestepType, PhysicsRaycastResult, PhysicsShape, PhysicsShapeType, PickingInfo, Plane, PlaneDragGizmo, PlaneRotationGizmo, PointLight, PointerDragBehavior, PointerEventTypes, PointerInfo, PointsCloudSystem, Polar, PositionGizmo, PostProcess, PowerEase, PrecisionDate, PredicateCondition, PrismaticConstraint, PushMaterial, QuadraticEase, QuarticEase, Quaternion, QuinticEase, RandomGUID, RawTexture, RawTexture2DArray, RawTexture3D, Ray, RecastJSPlugin, RectAreaLight, ReflectionProbe, RegisterAbstractEngineTextureLoaders, RegisterComputeShader, RegisterEnginesExtensionsEngineTexture2DArrayImageSource, RegisterEnginesWebGPUExtensionsEngineTexture2DArrayImageSource, RegisterFluidRenderer, RegisterGreasedLinePluginMaterial, RegisterImageProcessingConfiguration, RegisterMeshBlendingPostProcessBlock, RegisterOpenpbrMaterial, RegisterSPLATFileLoader, RegisterUSDFileLoader, RenderTargetTexture, RootMotionClip, RootMotionController, RootMotionSource, RotationGizmo, SPLATFileLoader, SSAO2RenderingPipeline, STLFileLoader, Scalar, ScaleGizmo, Scene, SceneLoader, SceneOptimizer, ScenePerformancePriority, SceneSerializer, SetValueAction, ShaderLanguage, ShaderMaterial, ShadowGenerator, SineEase, SixDofDragBehavior, Size, Skeleton, SliderConstraint, SmartArray, SolidParticleSystem, Sound, SoundSource, SoundState, Space, SpatialAudioAttachmentType, Spherical, SpotLight, SpringConstraint, Sprite, SpriteManager, SpriteMap, SpritePackedManager, SpriteRenderer, StandardMaterial, StaticSound, StaticSoundBuffer, StorageBuffer, StreamingSound, StringDictionary, SurfaceMagnetismBehavior, Tags, TargetCamera, TemperatureTintToXyz, Texture, ThinEngine, ThinFSR1SharpenPostProcess, ThinFSR1UpscalePostProcess, ThinMeshBlendingPostProcess, ThinSprite, ToDegrees, ToRadians, Tools, TouchCamera, TransformNode, USDFileLoader, UniformBuffer, UninstallHtmlInCanvasPolyfill, UniversalCamera, UnpackMeshBlendingTag, UploadHtmlElementToTexture, UploadImageToTexture2DArrayLayer, UtilityLayerRenderer, ValidateFlowGraph, ValidateFlowGraphWithBlockList, ValueCondition, ValueConditionOperators, Vector2, Vector3, Vector4, VertexBuffer, VertexData, Viewport, VirtualJoystick, WebGPUEngine, WebXRCamera, WeightedSound, _RegisterUSDLoaderDependencies, registerBuiltInLoaders, transformCoordinates, transformNormal, unsupported };
|
|
13029
|
+
export { AbstractAssetTask, AbstractAudioAnalyzer, AbstractAudioBus, AbstractAudioNode, AbstractAudioOutNode, AbstractEngine, AbstractMesh, AbstractNamedAudioNode, AbstractScene, AbstractSound, AbstractSoundSource, AbstractSpatialAudio, AbstractSpatialAudioListener, AbstractStereoAudio, Action, ActionManager, ActionManagerTriggers, AddGaussianSplattingStreamPart, AddGaussianSplattingStreamPartAsync, AmmoJSPlugin, AnaglyphArcRotateCamera, Angle, Animatable, Animation, AnimationGroup, AnimationKeyInterpolation, AnimationLoopModes, AnimationTypes, AppendSceneAsync, ArcRotateCamera, AssetContainer, AssetsManager, AttachToBoxBehavior, AudioBus, AudioEngine, AudioEngineV2, AudioParameterRampShape, AutoRotationBehavior, Axis, AxisDragGizmo, AxisScaleGizmo, BVHFileLoader, BackEase, BackgroundMaterial, BallAndSocketConstraint, BaseSixDofDragBehavior, BaseTexture, BezierCurveEase, BlackAndWhitePostProcess, BloomEffect, BlurPostProcess, Bone, BounceEase, BouncingBehavior, BoundingBox, BoundingBoxGizmo, BoundingBoxRenderer, BoundingInfo, BoundingSphere, CSG, CSG2, Camera, CameraGizmo, CannonJSPlugin, CascadedShadowGenerator, CastingResult, CharacterSupportedState, ChromaticAberrationPostProcess, CircleEase, ClusteredLightContainer, Color3, Color4, ColorGradient, CompleteGreasedLineColorTable, CompleteGreasedLineWidthTable, ComputeOverlayCssTransform, ComputeShader, ComputeShaderParse, Condition, Constants, CreateAudioBusAsync, CreateAudioEngineAsync, CreateBox, CreateCylinder, CreateDashedLines, CreateDefaultMeshBlendRadiusDefinitions, CreateDisc, CreateGreasedLine, CreateGreasedLineMaterial, CreateGround, CreateLineSystem, CreateLines, CreateMainAudioBusAsync, CreateMicrophoneSoundSourceAsync, CreatePlane, CreatePolygon, CreatePolygonVertexData, CreateSoundAsync, CreateSoundBufferAsync, CreateSoundSourceAsync, CreateSphere, CreateStreamingSoundAsync, CreateTexture2DArrayFromImageUrlsAsync, CreateTexture2DArrayFromKTX2Async, CreateTiledBox, CreateTiledPlane, CreateTorus, CubeTexture, CubicEase, Curve3, CustomAssetTask, DefaultRenderingPipeline, DepthOfFieldEffect, DepthRenderer, DeviceOrientationCamera, DirectionalLight, DistanceConstraint, DitheredTileFadeMaterialPlugin, DynamicTexture, EASINGMODE_EASEIN, EASINGMODE_EASEINOUT, EASINGMODE_EASEOUT, EasingFunction, EdgesRenderer, Effect, EffectLayer, EffectWrapper, ElasticEase, Engine, Epsilon, ExecuteCodeAction, ExponentialEase, ExternalTexture, ExtrudePolygon, FBXConstraintBehavior, FBXConstraintSolver, FBXFileLoader, FBXFileLoaderMetadata, FSR1RenderingPipeline, FactorGradient, FadeInOutBehavior, FlowGraphValidationSeverity, FluidRenderer, FluidRendererSceneComponent, FluidRenderingObject, FluidRenderingObjectCustomParticles, FluidRenderingObjectParticleSystem, FluidRenderingTargetRenderer, FlyCamera, FollowBehavior, FollowCamera, FrameGraphMeshBlendingTask, FrameGraphMinMaxReducerTask, FramingBehavior, FreeCamera, Frustum, FxaaPostProcess, gltf1_exports as GLTF1, gltf2_exports as GLTF2, GPUParticleSystem, GPUPicker, GUID, GamepadCamera, GaussianSplattingMesh, GaussianSplattingPartProxyMesh, GaussianSplattingStream, GeometryBufferRenderer, GeospatialCamera, GeospatialClippingBehavior, GetElementPixelFromUv, GetPointsCount, GetSupportedSimultaneousLights, GetWhiteBalanceMatrix, GizmoManager, GlowLayer, GreasedLineBaseMesh, GreasedLineMaterialDefaults, GreasedLineMesh, GreasedLineMeshColorDistribution, GreasedLineMeshWidthDistribution, GreasedLinePluginMaterial, GreasedLineRibbonAutoDirectionMode, GreasedLineRibbonFacesMode, GreasedLineRibbonMesh, GreasedLineRibbonPointsMode, GreasedLineSimpleMaterial, GreasedLineTools, GridMaterial, GroundMesh, HDRCubeTexture, HandConstraintBehavior, HavokPlugin, HemisphericLight, HighlightLayer, HingeConstraint, HtmlInteractionManager, HtmlRaycastInteractionManager, HtmlTexture, ImageProcessingConfiguration, ImportMeshAsync, IncrementValueAction, InitializeCSG2Async, InstallHtmlInCanvasPolyfill, InstancedMesh, InterpolatingBehavior, IsHtmlInCanvasSupportedNatively, IsHtmlInCanvasUploadSupported, KHR_materials_variants, LastCreatedAudioEngine, Layer, Light, LightGizmo, LinesMesh, LiteCompatError, LoadAssetContainerAsync, LoadImageToTexture2DArrayLayerAsync, LockConstraint, Logger, MainAudioBus, Material, MaterialGreasedLineDefines, MaterialPluginBase, MaterialPluginManager, Matrix, MaxTintMagnitude, Mesh, MeshBlendDebugMode, MeshBlendDepthType, MeshBlendQuality, MeshBlendingPostProcess, MeshBlendingRadiusClass, MeshBuilder, MeshoptCompression, MinTemperatureKelvin, MirrorTexture, MorphTarget, MorphTargetManager, MultiMaterial, MultiPointerScaleBehavior, Node, NodeMaterial, NodeParticleSystemSet, NodeRenderGraphMeshBlendingPostProcessBlock, NodeRenderGraphMinMaxReducerBlock, NullEngine, OBJFileLoader, Observable, OnAudioEngineV2CreatedObservable, OpenPBRMaterial, OpenPBRMaterialDefines, OpenPBRMaterialLoadingAdapter, OutlineRenderer, PBRAnisotropicConfiguration, PBRClearCoatConfiguration, PBRIridescenceConfiguration, PBRMaterial, PBRMetallicRoughnessMaterial, PBRSheenConfiguration, PBRSpecularGlossinessMaterial, PackMeshBlendingTag, ParticleHelper, ParticleSystem, ParticleSystemSet, Path3D, PerformanceMonitor, Physics6DoFConstraint, Physics6DoFLimit, PhysicsAggregate, PhysicsBody, PhysicsCharacterController, PhysicsConstraint, PhysicsConstraintAxis, PhysicsConstraintType, PhysicsEngine, PhysicsMotionType, PhysicsPrestepType, PhysicsRaycastResult, PhysicsShape, PhysicsShapeType, PickingInfo, Plane, PlaneDragGizmo, PlaneRotationGizmo, PointLight, PointerDragBehavior, PointerEventTypes, PointerInfo, PointsCloudSystem, Polar, PolygonBuilder, PositionGizmo, PostProcess, PowerEase, PrecisionDate, PredicateCondition, PrismaticConstraint, PushMaterial, QuadraticEase, QuarticEase, Quaternion, QuinticEase, RandomGUID, RawTexture, RawTexture2DArray, RawTexture3D, Ray, RecastJSPlugin, RectAreaLight, ReflectionProbe, RegisterAbstractEngineTextureLoaders, RegisterComputeShader, RegisterEnginesExtensionsEngineTexture2DArrayImageSource, RegisterEnginesWebGPUExtensionsEngineTexture2DArrayImageSource, RegisterFluidRenderer, RegisterGreasedLinePluginMaterial, RegisterImageProcessingConfiguration, RegisterMeshBlendingPostProcessBlock, RegisterMinMaxReducerBlock, RegisterOpenpbrMaterial, RegisterPolygonBuilder, RegisterSPLATFileLoader, RegisterUSDFileLoader, RenderTargetTexture, RootMotionClip, RootMotionController, RootMotionSource, RotationGizmo, SPLATFileLoader, SSAO2RenderingPipeline, STLFileLoader, Scalar, ScaleGizmo, Scene, SceneLoader, SceneOptimizer, ScenePerformancePriority, SceneSerializer, SetValueAction, ShaderLanguage, ShaderMaterial, ShadowGenerator, SineEase, SixDofDragBehavior, Size, Skeleton, SliderConstraint, SmartArray, SolidParticleSystem, Sound, SoundSource, SoundState, Space, SpatialAudioAttachmentType, Spherical, SpotLight, SpringConstraint, Sprite, SpriteManager, SpriteMap, SpritePackedManager, SpriteRenderer, StandardMaterial, StaticSound, StaticSoundBuffer, StorageBuffer, StreamingSound, StringDictionary, SurfaceMagnetismBehavior, Tags, TargetCamera, TemperatureTintToXyz, Texture, ThinEngine, ThinFSR1SharpenPostProcess, ThinFSR1UpscalePostProcess, ThinMeshBlendingPostProcess, ThinSprite, ToDegrees, ToRadians, Tools, TouchCamera, TransformNode, USDFileLoader, UniformBuffer, UninstallHtmlInCanvasPolyfill, UniversalCamera, UnpackMeshBlendingTag, UploadHtmlElementToTexture, UploadImageToTexture2DArrayLayer, UtilityLayerRenderer, ValidateFlowGraph, ValidateFlowGraphWithBlockList, ValueCondition, ValueConditionOperators, Vector2, Vector3, Vector4, VertexBuffer, VertexData, Viewport, VirtualJoystick, WebGPUEngine, WebXRCamera, WeightedSound, _RegisterUSDLoaderDependencies, registerBuiltInLoaders, transformCoordinates, transformNormal, unsupported };
|
|
12805
13030
|
|
|
12806
13031
|
//# sourceMappingURL=index.js.map
|