@babylonjs/lite-compat 1.37.0-preview → 1.37.1-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 +112 -3
- package/index.d.ts +142 -15
- package/index.js +144 -23
- package/index.js.map +1 -1
- package/{meshes-zeNif9yt.js → meshes-BqMDWl4h.js} +33 -13
- package/meshes-BqMDWl4h.js.map +1 -0
- package/navigation.d.ts +38 -8
- package/navigation.js +1 -1
- package/package.json +4 -4
- package/meshes-zeNif9yt.js.map +0 -1
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { CharacterSupportedState as CharacterSupportedState$1, GAUSSIAN_SPLATTING_MAX_PART_COUNT, MaxTintMagnitude, MinTemperatureKelvin, PhysicsConstraintAxis as PhysicsConstraintAxis$1, PhysicsConstraintType as PhysicsConstraintType$1, PhysicsMotionType as PhysicsMotionType$1, PhysicsPrestepType as PhysicsPrestepType$1, PhysicsShapeType as PhysicsShapeType$1, VERSION, _getGaussianPointSplattingPackedShBytesPerSplat, _hasGaussianPointSplattingProjectedDepth, 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, encodeIdToColor, exponentialEase, getBoneByName, getByteFrequencyData, getByteTimeDomainData, getCameraPosition, getFloatFrequencyData, getFloatTimeDomainData, getGaussianSplattingMaxPartCount, getGaussianSplattingPartIndexVaryingDeclaration, getMasterVolume, getPhysicsBodyAngularVelocity, getPhysicsBodyLinearVelocity, getPickedUV, getProjectionMatrix, getVariantNames, getViewMatrix, getWhiteBalanceMatrix, goToFrame, hasDefaultInteractivityFlowInput, initializeCsg2Async, inverseLerp, 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";
|
|
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-BqMDWl4h.js";
|
|
2
|
+
import { CharacterSupportedState as CharacterSupportedState$1, GAUSSIAN_SPLATTING_MAX_PART_COUNT, MaxTintMagnitude, MinTemperatureKelvin, PhysicsConstraintAxis as PhysicsConstraintAxis$1, PhysicsConstraintType as PhysicsConstraintType$1, PhysicsMotionType as PhysicsMotionType$1, PhysicsPrestepType as PhysicsPrestepType$1, PhysicsShapeType as PhysicsShapeType$1, VERSION, _getGaussianPointSplattingPackedShBytesPerSplat, _hasGaussianPointSplattingProjectedDepth, 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, encodeIdToColor, exponentialEase, getBoneByName, getByteFrequencyData, getByteTimeDomainData, getCameraPosition, getFloatFrequencyData, getFloatTimeDomainData, getGaussianSplattingMaxPartCount, getGaussianSplattingPartIndexVaryingDeclaration, getMasterVolume, getPhysicsBodyAngularVelocity, getPhysicsBodyLinearVelocity, getPickedUV, getProjectionMatrix, getVariantNames, getViewMatrix, getWhiteBalanceMatrix, goToFrame, hasDefaultInteractivityFlowInput, initializeCsg2Async, inverseLerp, 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, setEnvironmentLightingRotation, setEnvironmentSkyboxRotation, 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) => {
|
|
@@ -933,12 +933,14 @@ var AbstractEngine = class {
|
|
|
933
933
|
constructor(canvas, options) {
|
|
934
934
|
this._canvas = canvas;
|
|
935
935
|
const opts = typeof options === "object" ? { ...options } : options === false ? { msaaSamples: 1 } : void 0;
|
|
936
|
+
this.useReverseDepthBuffer = opts?.useReverseDepthBuffer ?? false;
|
|
936
937
|
if (opts) {
|
|
937
938
|
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.");
|
|
938
939
|
const antialias = opts.antialias;
|
|
939
940
|
delete opts.antialias;
|
|
940
941
|
delete opts.canvasToneMapping;
|
|
941
942
|
delete opts.canvasColorSpace;
|
|
943
|
+
delete opts.useReverseDepthBuffer;
|
|
942
944
|
if (antialias === false) opts.msaaSamples = 1;
|
|
943
945
|
}
|
|
944
946
|
if (opts?.useLargeWorldRendering) {
|
|
@@ -1219,7 +1221,23 @@ var ThinEngine = class extends AbstractEngine {};
|
|
|
1219
1221
|
* Babylon Lite is WebGPU-only, so a compat `Engine` is still backed by the same
|
|
1220
1222
|
* Lite WebGPU context; this class exists to mirror Babylon.js's name + hierarchy.
|
|
1221
1223
|
*/
|
|
1222
|
-
var Engine = class extends ThinEngine {
|
|
1224
|
+
var Engine = class extends ThinEngine {
|
|
1225
|
+
constructor(canvas, antialiasOrOptions, options, adaptToDeviceRatio) {
|
|
1226
|
+
if (typeof antialiasOrOptions === "object") {
|
|
1227
|
+
super(canvas, antialiasOrOptions);
|
|
1228
|
+
return;
|
|
1229
|
+
}
|
|
1230
|
+
if (!options && adaptToDeviceRatio === void 0) {
|
|
1231
|
+
super(canvas, antialiasOrOptions);
|
|
1232
|
+
return;
|
|
1233
|
+
}
|
|
1234
|
+
super(canvas, {
|
|
1235
|
+
...options,
|
|
1236
|
+
antialias: antialiasOrOptions ?? options?.antialias,
|
|
1237
|
+
...adaptToDeviceRatio === void 0 ? {} : { adaptToDeviceRatio }
|
|
1238
|
+
});
|
|
1239
|
+
}
|
|
1240
|
+
};
|
|
1223
1241
|
/**
|
|
1224
1242
|
* Babylon.js's WebGPU engine. In Babylon.js `WebGPUEngine extends AbstractEngine`
|
|
1225
1243
|
* (sibling to {@link Engine}). This is the natural engine for the compat layer
|
|
@@ -3286,16 +3304,15 @@ var ArcRotateCamera = class ArcRotateCamera extends Camera {
|
|
|
3286
3304
|
set radius(value) {
|
|
3287
3305
|
this._lite.radius = value;
|
|
3288
3306
|
}
|
|
3307
|
+
/** Live, as in Babylon.js: `camera.target.x = …` and in-place vector math move the target. */
|
|
3289
3308
|
get target() {
|
|
3290
|
-
|
|
3291
|
-
return new Vector3(t.x, t.y, t.z);
|
|
3309
|
+
return liteBackedVector3(this._lite.target);
|
|
3292
3310
|
}
|
|
3293
3311
|
set target(value) {
|
|
3294
|
-
this._lite.target
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
};
|
|
3312
|
+
const target = this._lite.target;
|
|
3313
|
+
target.x = value.x;
|
|
3314
|
+
target.y = value.y;
|
|
3315
|
+
target.z = value.z;
|
|
3299
3316
|
}
|
|
3300
3317
|
/** Babylon.js `setTarget` — point the arc-rotate camera at a world-space target. */
|
|
3301
3318
|
setTarget(target) {
|
|
@@ -4555,12 +4572,19 @@ var PointerInfo = class {
|
|
|
4555
4572
|
type;
|
|
4556
4573
|
event;
|
|
4557
4574
|
_pickInfo;
|
|
4558
|
-
|
|
4575
|
+
_pick;
|
|
4576
|
+
constructor(type, event, _pickInfo, _pick = null) {
|
|
4559
4577
|
this.type = type;
|
|
4560
4578
|
this.event = event;
|
|
4561
4579
|
this._pickInfo = _pickInfo;
|
|
4580
|
+
this._pick = _pick;
|
|
4562
4581
|
}
|
|
4582
|
+
/** Like Babylon.js lazy picking: without a precomputed pick, `_pick` runs on the first read only. */
|
|
4563
4583
|
get pickInfo() {
|
|
4584
|
+
if (!this._pickInfo && this._pick) {
|
|
4585
|
+
this._pickInfo = this._pick();
|
|
4586
|
+
this._pick = null;
|
|
4587
|
+
}
|
|
4564
4588
|
return this._pickInfo;
|
|
4565
4589
|
}
|
|
4566
4590
|
};
|
|
@@ -4647,6 +4671,9 @@ var Scene = class Scene extends AbstractScene {
|
|
|
4647
4671
|
_engine;
|
|
4648
4672
|
_activeCamera = null;
|
|
4649
4673
|
cameraToUseForPointers = null;
|
|
4674
|
+
/** Babylon.js `scene.pointerX` / `pointerY`: the last pointer position in CSS pixels relative to the canvas. */
|
|
4675
|
+
pointerX = 0;
|
|
4676
|
+
pointerY = 0;
|
|
4650
4677
|
_defaultMaterial = null;
|
|
4651
4678
|
_fogMode = 0;
|
|
4652
4679
|
_fogStart = 0;
|
|
@@ -4663,6 +4690,8 @@ var Scene = class Scene extends AbstractScene {
|
|
|
4663
4690
|
_pendingAdds = [];
|
|
4664
4691
|
_started = false;
|
|
4665
4692
|
_envTexture = null;
|
|
4693
|
+
/** Environment lighting rotation last forwarded to Lite. */
|
|
4694
|
+
_envRotation = 0;
|
|
4666
4695
|
_brdfTexture = null;
|
|
4667
4696
|
_defaultEnvOptions = null;
|
|
4668
4697
|
_shadowGenerators = [];
|
|
@@ -4725,7 +4754,16 @@ var Scene = class Scene extends AbstractScene {
|
|
|
4725
4754
|
break;
|
|
4726
4755
|
default: return;
|
|
4727
4756
|
}
|
|
4728
|
-
|
|
4757
|
+
const pointerEvent = event;
|
|
4758
|
+
const rect = this._engine.getRenderingCanvasClientRect();
|
|
4759
|
+
if (rect && typeof pointerEvent.clientX === "number") {
|
|
4760
|
+
this.pointerX = pointerEvent.clientX - rect.x;
|
|
4761
|
+
this.pointerY = pointerEvent.clientY - rect.y;
|
|
4762
|
+
}
|
|
4763
|
+
const x = this.pointerX;
|
|
4764
|
+
const y = this.pointerY;
|
|
4765
|
+
const camera = this.cameraToUseForPointers;
|
|
4766
|
+
this.onPointerObservable.notifyObservers(new PointerInfo(type, pointerEvent, null, () => this.pick(x, y, void 0, false, camera)), type);
|
|
4729
4767
|
};
|
|
4730
4768
|
for (const type of [
|
|
4731
4769
|
"pointerdown",
|
|
@@ -4764,6 +4802,7 @@ var Scene = class Scene extends AbstractScene {
|
|
|
4764
4802
|
this._renderedAFrame = true;
|
|
4765
4803
|
this.onBeforeRenderObservable.notifyObservers(this);
|
|
4766
4804
|
for (const callback of this._beforeRenderFlushCallbacks) callback();
|
|
4805
|
+
this._syncEnvironmentRotation();
|
|
4767
4806
|
}
|
|
4768
4807
|
/** @internal Register work that must observe all compat before-render mutations before Lite renders. */
|
|
4769
4808
|
_registerBeforeRenderFlush(callback) {
|
|
@@ -5151,6 +5190,20 @@ var Scene = class Scene extends AbstractScene {
|
|
|
5151
5190
|
}
|
|
5152
5191
|
set environmentTexture(value) {
|
|
5153
5192
|
this._envTexture = value;
|
|
5193
|
+
this._syncEnvironmentRotation();
|
|
5194
|
+
}
|
|
5195
|
+
/**
|
|
5196
|
+
* Forward the environment texture's `rotationY` to the image-based lighting only. As in Babylon.js, a skybox keeps the
|
|
5197
|
+
* orientation it was created with (see {@link createDefaultSkybox}) and the `createDefaultEnvironment` background never
|
|
5198
|
+
* turns. Also runs every frame, so the texture needs no link back to the scenes that use it. A scene whose
|
|
5199
|
+
* environment is never rotated never calls Lite.
|
|
5200
|
+
*/
|
|
5201
|
+
_syncEnvironmentRotation() {
|
|
5202
|
+
const rotation = this._envTexture?.rotationY ?? 0;
|
|
5203
|
+
if (rotation !== this._envRotation) {
|
|
5204
|
+
this._envRotation = rotation;
|
|
5205
|
+
setEnvironmentLightingRotation(this._lite, rotation);
|
|
5206
|
+
}
|
|
5154
5207
|
}
|
|
5155
5208
|
/**
|
|
5156
5209
|
* Babylon.js `scene.environmentBRDFTexture` — the BRDF lookup used by PBR materials.
|
|
@@ -5209,7 +5262,9 @@ var Scene = class Scene extends AbstractScene {
|
|
|
5209
5262
|
* not already set) and flags a skybox-from-environment load at engine start.
|
|
5210
5263
|
*/
|
|
5211
5264
|
createDefaultSkybox(texture, _pbr, scale, _blur, _setGlobalEnv) {
|
|
5212
|
-
if (texture) this.
|
|
5265
|
+
if (texture) this.environmentTexture = texture;
|
|
5266
|
+
const skyboxRotation = (texture ?? this._envTexture)?.rotationY ?? 0;
|
|
5267
|
+
if (skyboxRotation) setEnvironmentSkyboxRotation(this._lite, skyboxRotation);
|
|
5213
5268
|
this._defaultEnvOptions = {
|
|
5214
5269
|
...this._defaultEnvOptions ?? {},
|
|
5215
5270
|
createSkybox: true,
|
|
@@ -7023,6 +7078,11 @@ var CubeTexture = class CubeTexture extends BaseTexture {
|
|
|
7023
7078
|
_envLoaderKind = "cube";
|
|
7024
7079
|
/** Fires when the cube map is "ready" (resolved on a microtask in this compat layer). */
|
|
7025
7080
|
onLoadObservable = new Observable();
|
|
7081
|
+
/**
|
|
7082
|
+
* Babylon.js `CubeTexture.rotationY` — rotation of the environment around the Y axis, in radians. A scene that uses the
|
|
7083
|
+
* texture as its `environmentTexture` turns its image-based lighting with it (see `Scene.environmentTexture`).
|
|
7084
|
+
*/
|
|
7085
|
+
rotationY = 0;
|
|
7026
7086
|
_ready = false;
|
|
7027
7087
|
_readyPromise;
|
|
7028
7088
|
constructor(url, _scene, _extensions, _noMipmap, _files, onLoad, _onError, _format, _prefiltered) {
|
|
@@ -7075,6 +7135,11 @@ var HDRCubeTexture = class extends BaseTexture {
|
|
|
7075
7135
|
_envLoaderKind = "hdr";
|
|
7076
7136
|
/** Fires when the HDR environment is "ready" (resolved on a microtask). */
|
|
7077
7137
|
onLoadObservable = new Observable();
|
|
7138
|
+
/**
|
|
7139
|
+
* Babylon.js `HDRCubeTexture.rotationY` — rotation of the environment around the Y axis, in radians. A scene that uses the
|
|
7140
|
+
* texture as its `environmentTexture` turns its image-based lighting with it (see `Scene.environmentTexture`).
|
|
7141
|
+
*/
|
|
7142
|
+
rotationY = 0;
|
|
7078
7143
|
_ready = false;
|
|
7079
7144
|
_readyPromise;
|
|
7080
7145
|
constructor(url, _sceneOrEngine, size = 256, _noMipmap, _generateHarmonics, _gammaSpace, _prefilterOnLoad, onLoad) {
|
|
@@ -8350,14 +8415,19 @@ var PositionGizmo = class extends GizmoBase {
|
|
|
8350
8415
|
return this._attached;
|
|
8351
8416
|
}
|
|
8352
8417
|
set attachedMesh(value) {
|
|
8353
|
-
this.
|
|
8354
|
-
attachPositionGizmoToNode(this._lite, value?._lite ?? null);
|
|
8418
|
+
this.attachedNode = value;
|
|
8355
8419
|
}
|
|
8420
|
+
/**
|
|
8421
|
+
* Babylon.js `attachedNode` — a mesh, a `TransformNode` (whose Lite node is `_node` rather than `_lite`) or a light.
|
|
8422
|
+
* Cameras throw a `LiteCompatError`: see {@link transformTargetLite}.
|
|
8423
|
+
*/
|
|
8356
8424
|
get attachedNode() {
|
|
8357
8425
|
return this._attached;
|
|
8358
8426
|
}
|
|
8359
8427
|
set attachedNode(value) {
|
|
8360
|
-
|
|
8428
|
+
const target = transformTargetLite(value, "PositionGizmo.attachedNode");
|
|
8429
|
+
this._attached = value;
|
|
8430
|
+
attachPositionGizmoToNode(this._lite, target);
|
|
8361
8431
|
}
|
|
8362
8432
|
dispose() {
|
|
8363
8433
|
disposePositionGizmo(this._lite, this._layer._lite);
|
|
@@ -8407,14 +8477,19 @@ var RotationGizmo = class extends GizmoBase {
|
|
|
8407
8477
|
return this._attached;
|
|
8408
8478
|
}
|
|
8409
8479
|
set attachedMesh(value) {
|
|
8410
|
-
this.
|
|
8411
|
-
attachRotationGizmoToNode(this._lite, value?._lite ?? null);
|
|
8480
|
+
this.attachedNode = value;
|
|
8412
8481
|
}
|
|
8482
|
+
/**
|
|
8483
|
+
* Babylon.js `attachedNode` — a mesh, a `TransformNode` (whose Lite node is `_node` rather than `_lite`) or a light.
|
|
8484
|
+
* Cameras throw a `LiteCompatError`: see {@link transformTargetLite}.
|
|
8485
|
+
*/
|
|
8413
8486
|
get attachedNode() {
|
|
8414
8487
|
return this._attached;
|
|
8415
8488
|
}
|
|
8416
8489
|
set attachedNode(value) {
|
|
8417
|
-
|
|
8490
|
+
const target = transformTargetLite(value, "RotationGizmo.attachedNode");
|
|
8491
|
+
this._attached = value;
|
|
8492
|
+
attachRotationGizmoToNode(this._lite, target);
|
|
8418
8493
|
}
|
|
8419
8494
|
dispose() {
|
|
8420
8495
|
disposeRotationGizmo(this._lite, this._layer._lite);
|
|
@@ -8455,14 +8530,19 @@ var ScaleGizmo = class extends GizmoBase {
|
|
|
8455
8530
|
return this._attached;
|
|
8456
8531
|
}
|
|
8457
8532
|
set attachedMesh(value) {
|
|
8458
|
-
this.
|
|
8459
|
-
attachScaleGizmoToNode(this._lite, value?._lite ?? null);
|
|
8533
|
+
this.attachedNode = value;
|
|
8460
8534
|
}
|
|
8535
|
+
/**
|
|
8536
|
+
* Babylon.js `attachedNode` — a mesh, a `TransformNode` (whose Lite node is `_node` rather than `_lite`) or a light.
|
|
8537
|
+
* Cameras throw a `LiteCompatError`: see {@link transformTargetLite}.
|
|
8538
|
+
*/
|
|
8461
8539
|
get attachedNode() {
|
|
8462
8540
|
return this._attached;
|
|
8463
8541
|
}
|
|
8464
8542
|
set attachedNode(value) {
|
|
8465
|
-
|
|
8543
|
+
const target = transformTargetLite(value, "ScaleGizmo.attachedNode");
|
|
8544
|
+
this._attached = value;
|
|
8545
|
+
attachScaleGizmoToNode(this._lite, target);
|
|
8466
8546
|
}
|
|
8467
8547
|
dispose() {
|
|
8468
8548
|
disposeScaleGizmo(this._lite, this._layer._lite);
|
|
@@ -8578,6 +8658,16 @@ function nodeLite(value) {
|
|
|
8578
8658
|
return n._lite ?? n._node ?? null;
|
|
8579
8659
|
}
|
|
8580
8660
|
/**
|
|
8661
|
+
* Lite node for a composite gizmo target. The native gizmos edit the target's `position`, `rotationQuaternion` and
|
|
8662
|
+
* `scaling`. Meshes, transform nodes and lights have them; Lite cameras do not (an orbit camera has none, a free camera
|
|
8663
|
+
* only `position`), so a camera is rejected before attachment instead of failing on the first drag.
|
|
8664
|
+
*/
|
|
8665
|
+
function transformTargetLite(value, api) {
|
|
8666
|
+
const lite = nodeLite(value);
|
|
8667
|
+
if (lite && !(lite.position && lite.rotationQuaternion && lite.scaling)) unsupported(api, `A ${value.getClassName()} has no editable transform in Babylon Lite. Attach the gizmo to a mesh, transform node or light.`);
|
|
8668
|
+
return lite;
|
|
8669
|
+
}
|
|
8670
|
+
/**
|
|
8581
8671
|
* @internal Build a single-axis/plane gizmo wrapper around a Lite sub-gizmo that
|
|
8582
8672
|
* a composite already created, without re-running the public constructor (which
|
|
8583
8673
|
* would build a second Lite gizmo). Used by the composite `xGizmo`/`yGizmo`/`zGizmo`
|
|
@@ -11502,6 +11592,12 @@ function ValidateFlowGraph(_flowGraph) {
|
|
|
11502
11592
|
function ValidateFlowGraphWithBlockList(_flowGraph, _allKnownBlocks) {
|
|
11503
11593
|
return unsupported("ValidateFlowGraphWithBlockList", FLOW_GRAPH_UNSUPPORTED);
|
|
11504
11594
|
}
|
|
11595
|
+
function RemoveFlowGraphAnimationGroupObservers(_context, _animationGroup) {
|
|
11596
|
+
return unsupported("RemoveFlowGraphAnimationGroupObservers", FLOW_GRAPH_UNSUPPORTED);
|
|
11597
|
+
}
|
|
11598
|
+
function defaultValueParseFunction(_key, _serializationObject, _assetsContainer, _scene) {
|
|
11599
|
+
return unsupported("defaultValueParseFunction", FLOW_GRAPH_UNSUPPORTED);
|
|
11600
|
+
}
|
|
11505
11601
|
var FluidRenderingObject = class {
|
|
11506
11602
|
static UsePerParticleSizeAttribute = false;
|
|
11507
11603
|
constructor(_scene, _shaderLanguage) {
|
|
@@ -12411,6 +12507,18 @@ var gltfTypeToBabylonType = {
|
|
|
12411
12507
|
elementType: "any"
|
|
12412
12508
|
}
|
|
12413
12509
|
};
|
|
12510
|
+
var FlowGraphDelayReferenceBlock = class {
|
|
12511
|
+
config;
|
|
12512
|
+
input;
|
|
12513
|
+
value;
|
|
12514
|
+
constructor(config) {
|
|
12515
|
+
this.config = config;
|
|
12516
|
+
unsupported("GLTF2.FlowGraphDelayReferenceBlock", KHR_INTERACTIVITY_UNSUPPORTED);
|
|
12517
|
+
}
|
|
12518
|
+
getClassName() {
|
|
12519
|
+
return "FlowGraphDelayReferenceBlock";
|
|
12520
|
+
}
|
|
12521
|
+
};
|
|
12414
12522
|
var FlowGraphEventReferenceBlock = class {
|
|
12415
12523
|
config;
|
|
12416
12524
|
constructor(config) {
|
|
@@ -12519,6 +12627,7 @@ var gltf2_exports = /* @__PURE__ */ __exportAll({
|
|
|
12519
12627
|
CreateKHRInteractivityDocument: () => CreateKHRInteractivityDocument,
|
|
12520
12628
|
CreateKHRInteractivityExportPlan: () => CreateKHRInteractivityExportPlan,
|
|
12521
12629
|
CreateKHRInteractivityGraphModel: () => CreateKHRInteractivityGraphModel,
|
|
12630
|
+
FlowGraphDelayReferenceBlock: () => FlowGraphDelayReferenceBlock,
|
|
12522
12631
|
FlowGraphEventReferenceBlock: () => FlowGraphEventReferenceBlock,
|
|
12523
12632
|
FlowGraphGLTFDataProvider: () => FlowGraphGLTFDataProvider,
|
|
12524
12633
|
FlowGraphObjectReferenceBlock: () => FlowGraphObjectReferenceBlock,
|
|
@@ -12726,6 +12835,18 @@ var GaussianSplattingStream = class extends GaussianSplattingMesh {
|
|
|
12726
12835
|
evaluateOptimalLods(_camera = null) {
|
|
12727
12836
|
return unsupported("GaussianSplattingStream.evaluateOptimalLods", STREAM_BLOCKER);
|
|
12728
12837
|
}
|
|
12838
|
+
getSourceRange(_fileId) {
|
|
12839
|
+
return unsupported("GaussianSplattingStream.getSourceRange", STREAM_BLOCKER);
|
|
12840
|
+
}
|
|
12841
|
+
isSplitPage(_fileId) {
|
|
12842
|
+
return unsupported("GaussianSplattingStream.isSplitPage", STREAM_BLOCKER);
|
|
12843
|
+
}
|
|
12844
|
+
cancelRangeLoads(_files, _keepSources = []) {
|
|
12845
|
+
unsupported("GaussianSplattingStream.cancelRangeLoads", STREAM_BLOCKER);
|
|
12846
|
+
}
|
|
12847
|
+
get rangeResidencyStats() {
|
|
12848
|
+
return unsupported("GaussianSplattingStream.rangeResidencyStats", STREAM_BLOCKER);
|
|
12849
|
+
}
|
|
12729
12850
|
};
|
|
12730
12851
|
function AddGaussianSplattingStreamPart(_compound, _name, _metadata, _rootUrl, _options = {}) {
|
|
12731
12852
|
return unsupported("AddGaussianSplattingStreamPart", COMPOUND_BLOCKER);
|
|
@@ -13356,6 +13477,6 @@ var NodeParticleSystemSet = class NodeParticleSystemSet {
|
|
|
13356
13477
|
}
|
|
13357
13478
|
};
|
|
13358
13479
|
//#endregion
|
|
13359
|
-
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, GaussianPointSplattingBlitMaterial, GaussianPointSplattingDepthBlitMaterial, GaussianPointSplattingRenderer, GaussianSplattingDebugMaterialPlugin, GaussianSplattingGpuPickingMaterialPlugin, GaussianSplattingMaterial, GaussianSplattingMaxPartCount, GaussianSplattingMesh, GaussianSplattingOverdrawMaterialPlugin, GaussianSplattingPartProxyMesh, GaussianSplattingSizeMaterialPlugin, GaussianSplattingSolidColorMaterialPlugin, GaussianSplattingStream, GeometryBufferRenderer, GeospatialCamera, GeospatialClippingBehavior, GetElementPixelFromUv, GetGaussianSplattingMaxPartCount, GetPartIndexVaryingDeclaration, 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, RegisterGaussianSplattingDebugMaterialPlugin, RegisterGaussianSplattingGpuPickingMaterialPlugin, RegisterGaussianSplattingMaterial, RegisterGaussianSplattingOverdrawMaterialPlugin, RegisterGaussianSplattingSizeMaterialPlugin, RegisterGaussianSplattingSolidColorMaterialPlugin, 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, _GetPackedShBytesPerSplat, _HasGaussianPointSplattingProjectedDepth, _RegisterUSDLoaderDependencies, registerBuiltInLoaders, transformCoordinates, transformNormal, unsupported };
|
|
13480
|
+
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, GaussianPointSplattingBlitMaterial, GaussianPointSplattingDepthBlitMaterial, GaussianPointSplattingRenderer, GaussianSplattingDebugMaterialPlugin, GaussianSplattingGpuPickingMaterialPlugin, GaussianSplattingMaterial, GaussianSplattingMaxPartCount, GaussianSplattingMesh, GaussianSplattingOverdrawMaterialPlugin, GaussianSplattingPartProxyMesh, GaussianSplattingSizeMaterialPlugin, GaussianSplattingSolidColorMaterialPlugin, GaussianSplattingStream, GeometryBufferRenderer, GeospatialCamera, GeospatialClippingBehavior, GetElementPixelFromUv, GetGaussianSplattingMaxPartCount, GetPartIndexVaryingDeclaration, 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, RegisterGaussianSplattingDebugMaterialPlugin, RegisterGaussianSplattingGpuPickingMaterialPlugin, RegisterGaussianSplattingMaterial, RegisterGaussianSplattingOverdrawMaterialPlugin, RegisterGaussianSplattingSizeMaterialPlugin, RegisterGaussianSplattingSolidColorMaterialPlugin, RegisterGreasedLinePluginMaterial, RegisterImageProcessingConfiguration, RegisterMeshBlendingPostProcessBlock, RegisterMinMaxReducerBlock, RegisterOpenpbrMaterial, RegisterPolygonBuilder, RegisterSPLATFileLoader, RegisterUSDFileLoader, RemoveFlowGraphAnimationGroupObservers, 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, _GetPackedShBytesPerSplat, _HasGaussianPointSplattingProjectedDepth, _RegisterUSDLoaderDependencies, defaultValueParseFunction, registerBuiltInLoaders, transformCoordinates, transformNormal, unsupported };
|
|
13360
13481
|
|
|
13361
13482
|
//# sourceMappingURL=index.js.map
|