@babylonjs/core 5.32.0 → 5.32.2
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/Actions/abstractActionManager.d.ts +1 -1
- package/Actions/abstractActionManager.js +1 -1
- package/Actions/abstractActionManager.js.map +1 -1
- package/Actions/action.d.ts +1 -1
- package/Actions/action.js +1 -1
- package/Actions/action.js.map +1 -1
- package/Actions/actionManager.d.ts +18 -18
- package/Actions/actionManager.js +18 -18
- package/Actions/actionManager.js.map +1 -1
- package/Actions/directActions.d.ts +10 -10
- package/Actions/directActions.js +10 -10
- package/Actions/directActions.js.map +1 -1
- package/Actions/interpolateValueAction.d.ts +1 -1
- package/Actions/interpolateValueAction.js +1 -1
- package/Actions/interpolateValueAction.js.map +1 -1
- package/Animations/animatable.d.ts +2 -2
- package/Animations/animatable.js +2 -2
- package/Animations/animatable.js.map +1 -1
- package/Animations/animationGroup.d.ts +3 -3
- package/Animations/animationGroup.js +3 -3
- package/Animations/animationGroup.js.map +1 -1
- package/Animations/easing.d.ts +14 -14
- package/Animations/easing.js +13 -13
- package/Animations/easing.js.map +1 -1
- package/Audio/Interfaces/IAudioEngine.d.ts +2 -2
- package/Audio/Interfaces/IAudioEngine.js.map +1 -1
- package/Audio/Interfaces/ISoundOptions.d.ts +3 -3
- package/Audio/Interfaces/ISoundOptions.js.map +1 -1
- package/Audio/analyser.d.ts +1 -1
- package/Audio/analyser.js +1 -1
- package/Audio/analyser.js.map +1 -1
- package/Audio/audioEngine.d.ts +2 -2
- package/Audio/audioEngine.js +2 -2
- package/Audio/audioEngine.js.map +1 -1
- package/Audio/audioSceneComponent.d.ts +4 -4
- package/Audio/audioSceneComponent.js.map +1 -1
- package/Audio/sound.d.ts +13 -13
- package/Audio/sound.js +13 -13
- package/Audio/sound.js.map +1 -1
- package/Audio/soundTrack.d.ts +5 -5
- package/Audio/soundTrack.js +5 -5
- package/Audio/soundTrack.js.map +1 -1
- package/BakedVertexAnimation/bakedVertexAnimationManager.d.ts +1 -1
- package/BakedVertexAnimation/bakedVertexAnimationManager.js +1 -1
- package/BakedVertexAnimation/bakedVertexAnimationManager.js.map +1 -1
- package/Behaviors/Cameras/autoRotationBehavior.d.ts +1 -1
- package/Behaviors/Cameras/autoRotationBehavior.js +1 -1
- package/Behaviors/Cameras/autoRotationBehavior.js.map +1 -1
- package/Behaviors/Cameras/bouncingBehavior.d.ts +1 -1
- package/Behaviors/Cameras/bouncingBehavior.js +1 -1
- package/Behaviors/Cameras/bouncingBehavior.js.map +1 -1
- package/Behaviors/Cameras/framingBehavior.d.ts +1 -1
- package/Behaviors/Cameras/framingBehavior.js +1 -1
- package/Behaviors/Cameras/framingBehavior.js.map +1 -1
- package/Behaviors/Meshes/pointerDragBehavior.d.ts +8 -0
- package/Behaviors/Meshes/pointerDragBehavior.js +9 -3
- package/Behaviors/Meshes/pointerDragBehavior.js.map +1 -1
- package/Bones/bone.d.ts +1 -1
- package/Bones/bone.js +1 -1
- package/Bones/bone.js.map +1 -1
- package/Bones/boneIKController.d.ts +1 -1
- package/Bones/boneIKController.js +1 -1
- package/Bones/boneIKController.js.map +1 -1
- package/Bones/boneLookController.d.ts +1 -1
- package/Bones/boneLookController.js +1 -1
- package/Bones/boneLookController.js.map +1 -1
- package/Bones/skeleton.d.ts +3 -3
- package/Bones/skeleton.js +2 -2
- package/Bones/skeleton.js.map +1 -1
- package/Cameras/Inputs/BaseCameraMouseWheelInput.js +2 -2
- package/Cameras/Inputs/BaseCameraMouseWheelInput.js.map +1 -1
- package/Cameras/Inputs/BaseCameraPointersInput.js +2 -2
- package/Cameras/Inputs/BaseCameraPointersInput.js.map +1 -1
- package/Cameras/Inputs/arcRotateCameraGamepadInput.d.ts +1 -1
- package/Cameras/Inputs/arcRotateCameraGamepadInput.js +1 -1
- package/Cameras/Inputs/arcRotateCameraGamepadInput.js.map +1 -1
- package/Cameras/Inputs/arcRotateCameraKeyboardMoveInput.d.ts +1 -1
- package/Cameras/Inputs/arcRotateCameraKeyboardMoveInput.js +1 -1
- package/Cameras/Inputs/arcRotateCameraKeyboardMoveInput.js.map +1 -1
- package/Cameras/Inputs/arcRotateCameraMouseWheelInput.d.ts +1 -1
- package/Cameras/Inputs/arcRotateCameraMouseWheelInput.js +3 -3
- package/Cameras/Inputs/arcRotateCameraMouseWheelInput.js.map +1 -1
- package/Cameras/Inputs/arcRotateCameraPointersInput.d.ts +1 -1
- package/Cameras/Inputs/arcRotateCameraPointersInput.js +1 -1
- package/Cameras/Inputs/arcRotateCameraPointersInput.js.map +1 -1
- package/Cameras/Inputs/arcRotateCameraVRDeviceOrientationInput.d.ts +1 -1
- package/Cameras/Inputs/arcRotateCameraVRDeviceOrientationInput.js +1 -1
- package/Cameras/Inputs/arcRotateCameraVRDeviceOrientationInput.js.map +1 -1
- package/Cameras/Inputs/flyCameraKeyboardInput.d.ts +1 -1
- package/Cameras/Inputs/flyCameraKeyboardInput.js +1 -1
- package/Cameras/Inputs/flyCameraKeyboardInput.js.map +1 -1
- package/Cameras/Inputs/flyCameraMouseInput.d.ts +2 -2
- package/Cameras/Inputs/flyCameraMouseInput.js +4 -4
- package/Cameras/Inputs/flyCameraMouseInput.js.map +1 -1
- package/Cameras/Inputs/followCameraKeyboardMoveInput.d.ts +1 -1
- package/Cameras/Inputs/followCameraKeyboardMoveInput.js +1 -1
- package/Cameras/Inputs/followCameraKeyboardMoveInput.js.map +1 -1
- package/Cameras/Inputs/followCameraMouseWheelInput.d.ts +1 -1
- package/Cameras/Inputs/followCameraMouseWheelInput.js +3 -3
- package/Cameras/Inputs/followCameraMouseWheelInput.js.map +1 -1
- package/Cameras/Inputs/followCameraPointersInput.d.ts +1 -1
- package/Cameras/Inputs/followCameraPointersInput.js +1 -1
- package/Cameras/Inputs/followCameraPointersInput.js.map +1 -1
- package/Cameras/Inputs/freeCameraDeviceOrientationInput.d.ts +2 -2
- package/Cameras/Inputs/freeCameraDeviceOrientationInput.js +2 -2
- package/Cameras/Inputs/freeCameraDeviceOrientationInput.js.map +1 -1
- package/Cameras/Inputs/freeCameraGamepadInput.d.ts +1 -1
- package/Cameras/Inputs/freeCameraGamepadInput.js +1 -1
- package/Cameras/Inputs/freeCameraGamepadInput.js.map +1 -1
- package/Cameras/Inputs/freeCameraKeyboardMoveInput.d.ts +1 -1
- package/Cameras/Inputs/freeCameraKeyboardMoveInput.js +1 -1
- package/Cameras/Inputs/freeCameraKeyboardMoveInput.js.map +1 -1
- package/Cameras/Inputs/freeCameraMouseInput.d.ts +3 -2
- package/Cameras/Inputs/freeCameraMouseInput.js +10 -7
- package/Cameras/Inputs/freeCameraMouseInput.js.map +1 -1
- package/Cameras/Inputs/freeCameraMouseWheelInput.d.ts +1 -1
- package/Cameras/Inputs/freeCameraMouseWheelInput.js +1 -1
- package/Cameras/Inputs/freeCameraMouseWheelInput.js.map +1 -1
- package/Cameras/Inputs/freeCameraTouchInput.d.ts +2 -2
- package/Cameras/Inputs/freeCameraTouchInput.js +4 -4
- package/Cameras/Inputs/freeCameraTouchInput.js.map +1 -1
- package/Cameras/Inputs/freeCameraVirtualJoystickInput.d.ts +1 -1
- package/Cameras/Inputs/freeCameraVirtualJoystickInput.js +1 -1
- package/Cameras/Inputs/freeCameraVirtualJoystickInput.js.map +1 -1
- package/Cameras/Stereoscopic/anaglyphArcRotateCamera.d.ts +1 -1
- package/Cameras/Stereoscopic/anaglyphArcRotateCamera.js +1 -1
- package/Cameras/Stereoscopic/anaglyphArcRotateCamera.js.map +1 -1
- package/Cameras/Stereoscopic/anaglyphFreeCamera.d.ts +1 -1
- package/Cameras/Stereoscopic/anaglyphFreeCamera.js +1 -1
- package/Cameras/Stereoscopic/anaglyphFreeCamera.js.map +1 -1
- package/Cameras/Stereoscopic/anaglyphGamepadCamera.d.ts +1 -1
- package/Cameras/Stereoscopic/anaglyphGamepadCamera.js +1 -1
- package/Cameras/Stereoscopic/anaglyphGamepadCamera.js.map +1 -1
- package/Cameras/Stereoscopic/anaglyphUniversalCamera.d.ts +1 -1
- package/Cameras/Stereoscopic/anaglyphUniversalCamera.js +1 -1
- package/Cameras/Stereoscopic/anaglyphUniversalCamera.js.map +1 -1
- package/Cameras/Stereoscopic/stereoscopicArcRotateCamera.d.ts +1 -1
- package/Cameras/Stereoscopic/stereoscopicArcRotateCamera.js +1 -1
- package/Cameras/Stereoscopic/stereoscopicArcRotateCamera.js.map +1 -1
- package/Cameras/Stereoscopic/stereoscopicFreeCamera.d.ts +1 -1
- package/Cameras/Stereoscopic/stereoscopicFreeCamera.js +1 -1
- package/Cameras/Stereoscopic/stereoscopicFreeCamera.js.map +1 -1
- package/Cameras/Stereoscopic/stereoscopicGamepadCamera.d.ts +1 -1
- package/Cameras/Stereoscopic/stereoscopicGamepadCamera.js +1 -1
- package/Cameras/Stereoscopic/stereoscopicGamepadCamera.js.map +1 -1
- package/Cameras/Stereoscopic/stereoscopicScreenUniversalCamera.d.ts +1 -1
- package/Cameras/Stereoscopic/stereoscopicScreenUniversalCamera.js +1 -1
- package/Cameras/Stereoscopic/stereoscopicScreenUniversalCamera.js.map +1 -1
- package/Cameras/Stereoscopic/stereoscopicUniversalCamera.d.ts +1 -1
- package/Cameras/Stereoscopic/stereoscopicUniversalCamera.js +1 -1
- package/Cameras/Stereoscopic/stereoscopicUniversalCamera.js.map +1 -1
- package/Cameras/VR/vrCameraMetrics.d.ts +1 -1
- package/Cameras/VR/vrCameraMetrics.js +1 -1
- package/Cameras/VR/vrCameraMetrics.js.map +1 -1
- package/Cameras/VR/vrDeviceOrientationArcRotateCamera.d.ts +1 -1
- package/Cameras/VR/vrDeviceOrientationArcRotateCamera.js +1 -1
- package/Cameras/VR/vrDeviceOrientationArcRotateCamera.js.map +1 -1
- package/Cameras/VR/vrDeviceOrientationFreeCamera.d.ts +1 -1
- package/Cameras/VR/vrDeviceOrientationFreeCamera.js +1 -1
- package/Cameras/VR/vrDeviceOrientationFreeCamera.js.map +1 -1
- package/Cameras/VR/vrDeviceOrientationGamepadCamera.d.ts +1 -1
- package/Cameras/VR/vrDeviceOrientationGamepadCamera.js +1 -1
- package/Cameras/VR/vrDeviceOrientationGamepadCamera.js.map +1 -1
- package/Cameras/VR/vrExperienceHelper.d.ts +2 -2
- package/Cameras/VR/vrExperienceHelper.js +2 -2
- package/Cameras/VR/vrExperienceHelper.js.map +1 -1
- package/Cameras/VR/webVRCamera.d.ts +2 -2
- package/Cameras/VR/webVRCamera.js +2 -2
- package/Cameras/VR/webVRCamera.js.map +1 -1
- package/Cameras/arcRotateCamera.d.ts +9 -9
- package/Cameras/arcRotateCamera.js +9 -9
- package/Cameras/arcRotateCamera.js.map +1 -1
- package/Cameras/arcRotateCameraInputsManager.d.ts +1 -1
- package/Cameras/arcRotateCameraInputsManager.js +1 -1
- package/Cameras/arcRotateCameraInputsManager.js.map +1 -1
- package/Cameras/camera.d.ts +4 -4
- package/Cameras/camera.js +4 -4
- package/Cameras/camera.js.map +1 -1
- package/Cameras/cameraInputsManager.d.ts +1 -1
- package/Cameras/cameraInputsManager.js +1 -1
- package/Cameras/cameraInputsManager.js.map +1 -1
- package/Cameras/flyCamera.d.ts +1 -1
- package/Cameras/flyCamera.js +1 -1
- package/Cameras/flyCamera.js.map +1 -1
- package/Cameras/flyCameraInputsManager.d.ts +1 -1
- package/Cameras/flyCameraInputsManager.js +1 -1
- package/Cameras/flyCameraInputsManager.js.map +1 -1
- package/Cameras/followCamera.d.ts +4 -4
- package/Cameras/followCamera.js +4 -4
- package/Cameras/followCamera.js.map +1 -1
- package/Cameras/followCameraInputsManager.d.ts +1 -1
- package/Cameras/followCameraInputsManager.js +1 -1
- package/Cameras/followCameraInputsManager.js.map +1 -1
- package/Cameras/freeCamera.d.ts +3 -3
- package/Cameras/freeCamera.js +3 -3
- package/Cameras/freeCamera.js.map +1 -1
- package/Cameras/freeCameraInputsManager.d.ts +1 -1
- package/Cameras/freeCameraInputsManager.js +1 -1
- package/Cameras/freeCameraInputsManager.js.map +1 -1
- package/Cameras/gamepadCamera.d.ts +2 -2
- package/Cameras/gamepadCamera.js +2 -2
- package/Cameras/gamepadCamera.js.map +1 -1
- package/Cameras/targetCamera.d.ts +2 -2
- package/Cameras/targetCamera.js +2 -2
- package/Cameras/targetCamera.js.map +1 -1
- package/Cameras/touchCamera.d.ts +2 -2
- package/Cameras/touchCamera.js +2 -2
- package/Cameras/touchCamera.js.map +1 -1
- package/Cameras/universalCamera.d.ts +2 -2
- package/Cameras/universalCamera.js +2 -2
- package/Cameras/universalCamera.js.map +1 -1
- package/Cameras/virtualJoysticksCamera.d.ts +2 -2
- package/Cameras/virtualJoysticksCamera.js +2 -2
- package/Cameras/virtualJoysticksCamera.js.map +1 -1
- package/Collisions/pickingInfo.d.ts +1 -1
- package/Collisions/pickingInfo.js +1 -1
- package/Collisions/pickingInfo.js.map +1 -1
- package/Culling/Octrees/octree.d.ts +2 -2
- package/Culling/Octrees/octree.js +2 -2
- package/Culling/Octrees/octree.js.map +1 -1
- package/Culling/Octrees/octreeBlock.d.ts +1 -1
- package/Culling/Octrees/octreeBlock.js +1 -1
- package/Culling/Octrees/octreeBlock.js.map +1 -1
- package/Culling/Octrees/octreeSceneComponent.d.ts +3 -3
- package/Culling/Octrees/octreeSceneComponent.js +1 -1
- package/Culling/Octrees/octreeSceneComponent.js.map +1 -1
- package/Culling/boundingInfo.d.ts +3 -3
- package/Culling/boundingInfo.js +2 -2
- package/Culling/boundingInfo.js.map +1 -1
- package/Debug/debugLayer.d.ts +1 -1
- package/Debug/debugLayer.js.map +1 -1
- package/Debug/rayHelper.d.ts +2 -2
- package/Debug/rayHelper.js +2 -2
- package/Debug/rayHelper.js.map +1 -1
- package/Engines/Extensions/engine.alpha.d.ts +2 -2
- package/Engines/Extensions/engine.alpha.js.map +1 -1
- package/Engines/Extensions/engine.multiRender.d.ts +2 -2
- package/Engines/Extensions/engine.multiRender.js.map +1 -1
- package/Engines/Extensions/engine.query.d.ts +8 -8
- package/Engines/Extensions/engine.query.js.map +1 -1
- package/Engines/Extensions/engine.renderTarget.d.ts +1 -1
- package/Engines/Extensions/engine.renderTarget.js.map +1 -1
- package/Engines/Extensions/engine.uniformBuffer.d.ts +3 -3
- package/Engines/Extensions/engine.uniformBuffer.js.map +1 -1
- package/Engines/Extensions/engine.views.d.ts +2 -2
- package/Engines/Extensions/engine.views.js +1 -1
- package/Engines/Extensions/engine.views.js.map +1 -1
- package/Engines/Extensions/engine.webVR.d.ts +1 -1
- package/Engines/Extensions/engine.webVR.js.map +1 -1
- package/Engines/Processors/shaderProcessor.d.ts +2 -2
- package/Engines/Processors/shaderProcessor.js +2 -2
- package/Engines/Processors/shaderProcessor.js.map +1 -1
- package/Engines/WebGPU/webgpuShaderProcessor.js +11 -9
- package/Engines/WebGPU/webgpuShaderProcessor.js.map +1 -1
- package/Engines/constants.d.ts +17 -17
- package/Engines/constants.js +17 -17
- package/Engines/constants.js.map +1 -1
- package/Engines/engine.d.ts +12 -12
- package/Engines/engine.js +11 -11
- package/Engines/engine.js.map +1 -1
- package/Engines/nativeEngine.d.ts +2 -2
- package/Engines/nativeEngine.js +23 -2
- package/Engines/nativeEngine.js.map +1 -1
- package/Engines/nullEngine.d.ts +5 -5
- package/Engines/nullEngine.js +5 -5
- package/Engines/nullEngine.js.map +1 -1
- package/Engines/thinEngine.d.ts +8 -8
- package/Engines/thinEngine.js +6 -6
- package/Engines/thinEngine.js.map +1 -1
- package/Engines/webgpuEngine.d.ts +4 -4
- package/Engines/webgpuEngine.js +1 -1
- package/Engines/webgpuEngine.js.map +1 -1
- package/Gamepads/gamepadSceneComponent.d.ts +1 -1
- package/Gamepads/gamepadSceneComponent.js.map +1 -1
- package/Gizmos/gizmo.d.ts +6 -7
- package/Gizmos/gizmo.js +43 -36
- package/Gizmos/gizmo.js.map +1 -1
- package/Gizmos/planeRotationGizmo.js +17 -7
- package/Gizmos/planeRotationGizmo.js.map +1 -1
- package/Gizmos/positionGizmo.d.ts +4 -0
- package/Gizmos/positionGizmo.js +21 -0
- package/Gizmos/positionGizmo.js.map +1 -1
- package/Gizmos/rotationGizmo.d.ts +4 -0
- package/Gizmos/rotationGizmo.js +20 -0
- package/Gizmos/rotationGizmo.js.map +1 -1
- package/Gizmos/scaleGizmo.d.ts +2 -0
- package/Gizmos/scaleGizmo.js +10 -0
- package/Gizmos/scaleGizmo.js.map +1 -1
- package/Helpers/sceneHelpers.d.ts +7 -7
- package/Helpers/sceneHelpers.js.map +1 -1
- package/Inputs/scene.inputManager.js +34 -25
- package/Inputs/scene.inputManager.js.map +1 -1
- package/Instrumentation/engineInstrumentation.d.ts +2 -2
- package/Instrumentation/engineInstrumentation.js +2 -2
- package/Instrumentation/engineInstrumentation.js.map +1 -1
- package/Instrumentation/sceneInstrumentation.d.ts +2 -2
- package/Instrumentation/sceneInstrumentation.js +2 -2
- package/Instrumentation/sceneInstrumentation.js.map +1 -1
- package/Layers/effectLayerSceneComponent.d.ts +2 -2
- package/Layers/effectLayerSceneComponent.js.map +1 -1
- package/Layers/glowLayer.d.ts +1 -1
- package/Layers/glowLayer.js +1 -1
- package/Layers/glowLayer.js.map +1 -1
- package/LensFlares/lensFlare.d.ts +3 -3
- package/LensFlares/lensFlare.js +3 -3
- package/LensFlares/lensFlare.js.map +1 -1
- package/LensFlares/lensFlareSystem.d.ts +2 -2
- package/LensFlares/lensFlareSystem.js +2 -2
- package/LensFlares/lensFlareSystem.js.map +1 -1
- package/LensFlares/lensFlareSystemSceneComponent.d.ts +1 -1
- package/LensFlares/lensFlareSystemSceneComponent.js.map +1 -1
- package/Lights/Shadows/shadowGenerator.d.ts +2 -2
- package/Lights/Shadows/shadowGenerator.js +2 -2
- package/Lights/Shadows/shadowGenerator.js.map +1 -1
- package/Lights/directionalLight.d.ts +2 -2
- package/Lights/directionalLight.js +2 -2
- package/Lights/directionalLight.js.map +1 -1
- package/Lights/hemisphericLight.d.ts +1 -1
- package/Lights/hemisphericLight.js +1 -1
- package/Lights/hemisphericLight.js.map +1 -1
- package/Lights/light.d.ts +1 -1
- package/Lights/light.js +1 -1
- package/Lights/light.js.map +1 -1
- package/Lights/pointLight.d.ts +2 -2
- package/Lights/pointLight.js +2 -2
- package/Lights/pointLight.js.map +1 -1
- package/Lights/spotLight.d.ts +2 -2
- package/Lights/spotLight.js +2 -2
- package/Lights/spotLight.js.map +1 -1
- package/Loading/loadingScreen.d.ts +2 -2
- package/Loading/loadingScreen.js +1 -1
- package/Loading/loadingScreen.js.map +1 -1
- package/Materials/Node/Blocks/Vertex/instancesBlock.d.ts +1 -1
- package/Materials/Node/Blocks/Vertex/instancesBlock.js +1 -1
- package/Materials/Node/Blocks/Vertex/instancesBlock.js.map +1 -1
- package/Materials/Node/Blocks/reciprocalBlock.js +6 -2
- package/Materials/Node/Blocks/reciprocalBlock.js.map +1 -1
- package/Materials/PBR/pbrBaseMaterial.d.ts +1 -1
- package/Materials/PBR/pbrBaseMaterial.js +1 -1
- package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
- package/Materials/PBR/pbrMaterial.d.ts +1 -1
- package/Materials/PBR/pbrMaterial.js +1 -1
- package/Materials/PBR/pbrMaterial.js.map +1 -1
- package/Materials/Textures/Packer/packer.d.ts +1 -1
- package/Materials/Textures/Packer/packer.js +1 -1
- package/Materials/Textures/Packer/packer.js.map +1 -1
- package/Materials/Textures/Procedurals/customProceduralTexture.d.ts +2 -2
- package/Materials/Textures/Procedurals/customProceduralTexture.js +2 -2
- package/Materials/Textures/Procedurals/customProceduralTexture.js.map +1 -1
- package/Materials/Textures/Procedurals/proceduralTexture.d.ts +2 -2
- package/Materials/Textures/Procedurals/proceduralTexture.js +2 -2
- package/Materials/Textures/Procedurals/proceduralTexture.js.map +1 -1
- package/Materials/Textures/Procedurals/proceduralTextureSceneComponent.d.ts +1 -1
- package/Materials/Textures/Procedurals/proceduralTextureSceneComponent.js.map +1 -1
- package/Materials/Textures/cubeTexture.d.ts +2 -2
- package/Materials/Textures/cubeTexture.js +2 -2
- package/Materials/Textures/cubeTexture.js.map +1 -1
- package/Materials/Textures/dynamicTexture.d.ts +1 -1
- package/Materials/Textures/dynamicTexture.js +1 -1
- package/Materials/Textures/dynamicTexture.js.map +1 -1
- package/Materials/Textures/mirrorTexture.d.ts +3 -3
- package/Materials/Textures/mirrorTexture.js +3 -3
- package/Materials/Textures/mirrorTexture.js.map +1 -1
- package/Materials/Textures/refractionTexture.d.ts +3 -3
- package/Materials/Textures/refractionTexture.js +3 -3
- package/Materials/Textures/refractionTexture.js.map +1 -1
- package/Materials/Textures/texture.d.ts +10 -10
- package/Materials/Textures/texture.js +10 -10
- package/Materials/Textures/texture.js.map +1 -1
- package/Materials/Textures/videoTexture.d.ts +2 -2
- package/Materials/Textures/videoTexture.js +2 -2
- package/Materials/Textures/videoTexture.js.map +1 -1
- package/Materials/effect.d.ts +20 -2
- package/Materials/effect.js +28 -4
- package/Materials/effect.js.map +1 -1
- package/Materials/effectRenderer.js +1 -0
- package/Materials/effectRenderer.js.map +1 -1
- package/Materials/fresnelParameters.d.ts +1 -1
- package/Materials/fresnelParameters.js +1 -1
- package/Materials/fresnelParameters.js.map +1 -1
- package/Materials/material.d.ts +1 -1
- package/Materials/material.js.map +1 -1
- package/Materials/multiMaterial.d.ts +2 -2
- package/Materials/multiMaterial.js +2 -2
- package/Materials/multiMaterial.js.map +1 -1
- package/Materials/shaderMaterial.d.ts +2 -2
- package/Materials/shaderMaterial.js +2 -2
- package/Materials/shaderMaterial.js.map +1 -1
- package/Materials/shadowDepthWrapper.d.ts +1 -1
- package/Materials/shadowDepthWrapper.js +2 -2
- package/Materials/shadowDepthWrapper.js.map +1 -1
- package/Materials/standardMaterial.d.ts +18 -18
- package/Materials/standardMaterial.js +6 -6
- package/Materials/standardMaterial.js.map +1 -1
- package/Maths/math.path.d.ts +7 -7
- package/Maths/math.path.js +7 -7
- package/Maths/math.path.js.map +1 -1
- package/Maths/math.vector.d.ts +4 -4
- package/Maths/math.vector.js +4 -4
- package/Maths/math.vector.js.map +1 -1
- package/Meshes/Builders/boxBuilder.d.ts +3 -3
- package/Meshes/Builders/boxBuilder.js +3 -3
- package/Meshes/Builders/boxBuilder.js.map +1 -1
- package/Meshes/Builders/capsuleBuilder.d.ts +1 -1
- package/Meshes/Builders/capsuleBuilder.js +1 -1
- package/Meshes/Builders/capsuleBuilder.js.map +1 -1
- package/Meshes/Builders/cylinderBuilder.d.ts +2 -2
- package/Meshes/Builders/cylinderBuilder.js +2 -2
- package/Meshes/Builders/cylinderBuilder.js.map +1 -1
- package/Meshes/Builders/decalBuilder.d.ts +1 -1
- package/Meshes/Builders/decalBuilder.js +1 -1
- package/Meshes/Builders/decalBuilder.js.map +1 -1
- package/Meshes/Builders/discBuilder.d.ts +2 -2
- package/Meshes/Builders/discBuilder.js +2 -2
- package/Meshes/Builders/discBuilder.js.map +1 -1
- package/Meshes/Builders/geodesicBuilder.d.ts +1 -1
- package/Meshes/Builders/geodesicBuilder.js +1 -1
- package/Meshes/Builders/geodesicBuilder.js.map +1 -1
- package/Meshes/Builders/goldbergBuilder.d.ts +1 -1
- package/Meshes/Builders/goldbergBuilder.js +1 -1
- package/Meshes/Builders/goldbergBuilder.js.map +1 -1
- package/Meshes/Builders/groundBuilder.d.ts +4 -4
- package/Meshes/Builders/groundBuilder.js +4 -4
- package/Meshes/Builders/groundBuilder.js.map +1 -1
- package/Meshes/Builders/icoSphereBuilder.d.ts +2 -2
- package/Meshes/Builders/icoSphereBuilder.js +2 -2
- package/Meshes/Builders/icoSphereBuilder.js.map +1 -1
- package/Meshes/Builders/latheBuilder.d.ts +2 -2
- package/Meshes/Builders/latheBuilder.js +2 -2
- package/Meshes/Builders/latheBuilder.js.map +1 -1
- package/Meshes/Builders/linesBuilder.d.ts +6 -6
- package/Meshes/Builders/linesBuilder.js +6 -6
- package/Meshes/Builders/linesBuilder.js.map +1 -1
- package/Meshes/Builders/planeBuilder.d.ts +2 -2
- package/Meshes/Builders/planeBuilder.js +2 -2
- package/Meshes/Builders/planeBuilder.js.map +1 -1
- package/Meshes/Builders/polygonBuilder.d.ts +1 -1
- package/Meshes/Builders/polygonBuilder.js +1 -1
- package/Meshes/Builders/polygonBuilder.js.map +1 -1
- package/Meshes/Builders/polyhedronBuilder.d.ts +3 -3
- package/Meshes/Builders/polyhedronBuilder.js +3 -3
- package/Meshes/Builders/polyhedronBuilder.js.map +1 -1
- package/Meshes/Builders/ribbonBuilder.d.ts +4 -4
- package/Meshes/Builders/ribbonBuilder.js +4 -4
- package/Meshes/Builders/ribbonBuilder.js.map +1 -1
- package/Meshes/Builders/shapeBuilder.d.ts +9 -9
- package/Meshes/Builders/shapeBuilder.js +9 -9
- package/Meshes/Builders/shapeBuilder.js.map +1 -1
- package/Meshes/Builders/sphereBuilder.d.ts +2 -2
- package/Meshes/Builders/sphereBuilder.js +2 -2
- package/Meshes/Builders/sphereBuilder.js.map +1 -1
- package/Meshes/Builders/tiledBoxBuilder.d.ts +2 -2
- package/Meshes/Builders/tiledBoxBuilder.js +2 -2
- package/Meshes/Builders/tiledBoxBuilder.js.map +1 -1
- package/Meshes/Builders/tiledPlaneBuilder.d.ts +2 -2
- package/Meshes/Builders/tiledPlaneBuilder.js +2 -2
- package/Meshes/Builders/tiledPlaneBuilder.js.map +1 -1
- package/Meshes/Builders/torusBuilder.d.ts +2 -2
- package/Meshes/Builders/torusBuilder.js +2 -2
- package/Meshes/Builders/torusBuilder.js.map +1 -1
- package/Meshes/Builders/torusKnotBuilder.d.ts +2 -2
- package/Meshes/Builders/torusKnotBuilder.js +2 -2
- package/Meshes/Builders/torusKnotBuilder.js.map +1 -1
- package/Meshes/Builders/tubeBuilder.d.ts +4 -4
- package/Meshes/Builders/tubeBuilder.js +4 -4
- package/Meshes/Builders/tubeBuilder.js.map +1 -1
- package/Meshes/abstractMesh.d.ts +35 -35
- package/Meshes/abstractMesh.js +34 -34
- package/Meshes/abstractMesh.js.map +1 -1
- package/Meshes/instancedMesh.d.ts +3 -3
- package/Meshes/instancedMesh.js +1 -1
- package/Meshes/instancedMesh.js.map +1 -1
- package/Meshes/linesMesh.d.ts +2 -2
- package/Meshes/linesMesh.js +2 -2
- package/Meshes/linesMesh.js.map +1 -1
- package/Meshes/mesh.d.ts +36 -36
- package/Meshes/mesh.js +9 -17
- package/Meshes/mesh.js.map +1 -1
- package/Meshes/meshLODLevel.d.ts +1 -1
- package/Meshes/meshLODLevel.js +1 -1
- package/Meshes/meshLODLevel.js.map +1 -1
- package/Meshes/meshSimplification.d.ts +6 -6
- package/Meshes/meshSimplification.js +4 -4
- package/Meshes/meshSimplification.js.map +1 -1
- package/Meshes/meshSimplificationSceneComponent.d.ts +1 -1
- package/Meshes/meshSimplificationSceneComponent.js.map +1 -1
- package/Meshes/polygonMesh.d.ts +2 -2
- package/Meshes/polygonMesh.js +2 -2
- package/Meshes/polygonMesh.js.map +1 -1
- package/Meshes/transformNode.d.ts +1 -1
- package/Meshes/transformNode.js +1 -1
- package/Meshes/transformNode.js.map +1 -1
- package/Misc/assetsManager.d.ts +2 -2
- package/Misc/assetsManager.js +2 -2
- package/Misc/assetsManager.js.map +1 -1
- package/Misc/iInspectable.d.ts +1 -1
- package/Misc/iInspectable.js.map +1 -1
- package/Misc/sceneOptimizer.d.ts +12 -12
- package/Misc/sceneOptimizer.js +12 -12
- package/Misc/sceneOptimizer.js.map +1 -1
- package/Misc/screenshotTools.d.ts +10 -10
- package/Misc/screenshotTools.js +10 -10
- package/Misc/screenshotTools.js.map +1 -1
- package/Misc/tools.d.ts +4 -4
- package/Misc/tools.js +4 -4
- package/Misc/tools.js.map +1 -1
- package/Misc/videoRecorder.d.ts +1 -1
- package/Misc/videoRecorder.js +1 -1
- package/Misc/videoRecorder.js.map +1 -1
- package/Morph/morphTarget.d.ts +1 -1
- package/Morph/morphTarget.js +1 -1
- package/Morph/morphTarget.js.map +1 -1
- package/Morph/morphTargetManager.d.ts +1 -1
- package/Morph/morphTargetManager.js +1 -1
- package/Morph/morphTargetManager.js.map +1 -1
- package/Offline/IOfflineProvider.d.ts +1 -1
- package/Offline/IOfflineProvider.js.map +1 -1
- package/Offline/database.d.ts +1 -1
- package/Offline/database.js +1 -1
- package/Offline/database.js.map +1 -1
- package/Particles/IParticleSystem.d.ts +1 -1
- package/Particles/IParticleSystem.js.map +1 -1
- package/Particles/baseParticleSystem.d.ts +1 -1
- package/Particles/baseParticleSystem.js +1 -1
- package/Particles/baseParticleSystem.js.map +1 -1
- package/Particles/gpuParticleSystem.d.ts +1 -1
- package/Particles/gpuParticleSystem.js +1 -1
- package/Particles/gpuParticleSystem.js.map +1 -1
- package/Particles/particleSystem.d.ts +2 -2
- package/Particles/particleSystem.js +2 -2
- package/Particles/particleSystem.js.map +1 -1
- package/Particles/solidParticleSystem.d.ts +15 -15
- package/Particles/solidParticleSystem.js +13 -13
- package/Particles/solidParticleSystem.js.map +1 -1
- package/Physics/IPhysicsEngine.d.ts +1 -1
- package/Physics/IPhysicsEngine.js.map +1 -1
- package/Physics/Plugins/ammoJSPlugin.d.ts +1 -1
- package/Physics/Plugins/ammoJSPlugin.js +1 -1
- package/Physics/Plugins/ammoJSPlugin.js.map +1 -1
- package/Physics/physicsEngine.d.ts +1 -1
- package/Physics/physicsEngine.js +1 -1
- package/Physics/physicsEngine.js.map +1 -1
- package/Physics/physicsEngineComponent.d.ts +3 -3
- package/Physics/physicsEngineComponent.js +2 -2
- package/Physics/physicsEngineComponent.js.map +1 -1
- package/Physics/physicsHelper.d.ts +12 -12
- package/Physics/physicsHelper.js +6 -6
- package/Physics/physicsHelper.js.map +1 -1
- package/Physics/physicsImpostor.d.ts +3 -3
- package/Physics/physicsImpostor.js +1 -1
- package/Physics/physicsImpostor.js.map +1 -1
- package/Physics/physicsJoint.d.ts +9 -9
- package/Physics/physicsJoint.js +5 -5
- package/Physics/physicsJoint.js.map +1 -1
- package/Physics/physicsRaycastResult.d.ts +1 -1
- package/Physics/physicsRaycastResult.js +1 -1
- package/Physics/physicsRaycastResult.js.map +1 -1
- package/PostProcesses/RenderPipeline/Pipelines/defaultRenderingPipeline.d.ts +1 -1
- package/PostProcesses/RenderPipeline/Pipelines/defaultRenderingPipeline.js +1 -1
- package/PostProcesses/RenderPipeline/Pipelines/defaultRenderingPipeline.js.map +1 -1
- package/PostProcesses/RenderPipeline/Pipelines/standardRenderingPipeline.d.ts +1 -1
- package/PostProcesses/RenderPipeline/Pipelines/standardRenderingPipeline.js +1 -1
- package/PostProcesses/RenderPipeline/Pipelines/standardRenderingPipeline.js.map +1 -1
- package/PostProcesses/RenderPipeline/postProcessRenderEffect.d.ts +1 -1
- package/PostProcesses/RenderPipeline/postProcessRenderEffect.js +1 -1
- package/PostProcesses/RenderPipeline/postProcessRenderEffect.js.map +1 -1
- package/PostProcesses/RenderPipeline/postProcessRenderPipeline.d.ts +2 -2
- package/PostProcesses/RenderPipeline/postProcessRenderPipeline.js +1 -1
- package/PostProcesses/RenderPipeline/postProcessRenderPipeline.js.map +1 -1
- package/PostProcesses/RenderPipeline/postProcessRenderPipelineManager.d.ts +2 -2
- package/PostProcesses/RenderPipeline/postProcessRenderPipelineManager.js +2 -2
- package/PostProcesses/RenderPipeline/postProcessRenderPipelineManager.js.map +1 -1
- package/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.d.ts +2 -2
- package/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.js.map +1 -1
- package/PostProcesses/blackAndWhitePostProcess.d.ts +1 -1
- package/PostProcesses/blackAndWhitePostProcess.js +1 -1
- package/PostProcesses/blackAndWhitePostProcess.js.map +1 -1
- package/PostProcesses/fxaaPostProcess.d.ts +1 -1
- package/PostProcesses/fxaaPostProcess.js +1 -1
- package/PostProcesses/fxaaPostProcess.js.map +1 -1
- package/PostProcesses/highlightsPostProcess.d.ts +2 -2
- package/PostProcesses/highlightsPostProcess.js +2 -2
- package/PostProcesses/highlightsPostProcess.js.map +1 -1
- package/PostProcesses/imageProcessingPostProcess.d.ts +1 -1
- package/PostProcesses/imageProcessingPostProcess.js +1 -1
- package/PostProcesses/imageProcessingPostProcess.js.map +1 -1
- package/PostProcesses/postProcess.d.ts +2 -2
- package/PostProcesses/postProcess.js +1 -1
- package/PostProcesses/postProcess.js.map +1 -1
- package/PostProcesses/postProcessManager.d.ts +1 -1
- package/PostProcesses/postProcessManager.js +1 -1
- package/PostProcesses/postProcessManager.js.map +1 -1
- package/PostProcesses/refractionPostProcess.d.ts +2 -2
- package/PostProcesses/refractionPostProcess.js +2 -2
- package/PostProcesses/refractionPostProcess.js.map +1 -1
- package/Probes/reflectionProbe.d.ts +2 -2
- package/Probes/reflectionProbe.js +1 -1
- package/Probes/reflectionProbe.js.map +1 -1
- package/Rendering/geometryBufferRenderer.js +2 -2
- package/Rendering/geometryBufferRenderer.js.map +1 -1
- package/Sprites/sprite.d.ts +1 -1
- package/Sprites/sprite.js +1 -1
- package/Sprites/sprite.js.map +1 -1
- package/Sprites/spriteManager.d.ts +2 -2
- package/Sprites/spriteManager.js +1 -1
- package/Sprites/spriteManager.js.map +1 -1
- package/Sprites/spritePackedManager.d.ts +1 -1
- package/Sprites/spritePackedManager.js +1 -1
- package/Sprites/spritePackedManager.js.map +1 -1
- package/Sprites/spriteSceneComponent.d.ts +1 -1
- package/Sprites/spriteSceneComponent.js.map +1 -1
- package/Sprites/thinSprite.d.ts +1 -1
- package/Sprites/thinSprite.js +1 -1
- package/Sprites/thinSprite.js.map +1 -1
- package/XR/webXRCamera.d.ts +1 -1
- package/XR/webXRCamera.js +1 -1
- package/XR/webXRCamera.js.map +1 -1
- package/XR/webXRExperienceHelper.d.ts +1 -1
- package/XR/webXRExperienceHelper.js +1 -1
- package/XR/webXRExperienceHelper.js.map +1 -1
- package/XR/webXRInputSource.d.ts +1 -1
- package/XR/webXRInputSource.js +1 -1
- package/XR/webXRInputSource.js.map +1 -1
- package/XR/webXRSessionManager.d.ts +1 -1
- package/XR/webXRSessionManager.js +1 -1
- package/XR/webXRSessionManager.js.map +1 -1
- package/abstractScene.d.ts +9 -9
- package/abstractScene.js +9 -9
- package/abstractScene.js.map +1 -1
- package/node.d.ts +6 -6
- package/node.js +5 -5
- package/node.js.map +1 -1
- package/package.json +1 -1
- package/scene.d.ts +29 -24
- package/scene.js +24 -18
- package/scene.js.map +1 -1
package/Meshes/abstractMesh.d.ts
CHANGED
|
@@ -176,19 +176,19 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
176
176
|
cullingStrategy: number;
|
|
177
177
|
/**
|
|
178
178
|
* Gets the number of facets in the mesh
|
|
179
|
-
* @see https://doc.babylonjs.com/
|
|
179
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#what-is-a-mesh-facet
|
|
180
180
|
*/
|
|
181
181
|
get facetNb(): number;
|
|
182
182
|
/**
|
|
183
183
|
* Gets or set the number (integer) of subdivisions per axis in the partitioning space
|
|
184
|
-
* @see https://doc.babylonjs.com/
|
|
184
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#tweaking-the-partitioning
|
|
185
185
|
*/
|
|
186
186
|
get partitioningSubdivisions(): number;
|
|
187
187
|
set partitioningSubdivisions(nb: number);
|
|
188
188
|
/**
|
|
189
189
|
* The ratio (float) to apply to the bounding box size to set to the partitioning space.
|
|
190
190
|
* Ex : 1.01 (default) the partitioning space is 1% bigger than the bounding box
|
|
191
|
-
* @see https://doc.babylonjs.com/
|
|
191
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#tweaking-the-partitioning
|
|
192
192
|
*/
|
|
193
193
|
get partitioningBBoxRatio(): number;
|
|
194
194
|
set partitioningBBoxRatio(ratio: number);
|
|
@@ -196,7 +196,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
196
196
|
* Gets or sets a boolean indicating that the facets must be depth sorted on next call to `updateFacetData()`.
|
|
197
197
|
* Works only for updatable meshes.
|
|
198
198
|
* Doesn't work with multi-materials
|
|
199
|
-
* @see https://doc.babylonjs.com/
|
|
199
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#facet-depth-sort
|
|
200
200
|
*/
|
|
201
201
|
get mustDepthSortFacets(): boolean;
|
|
202
202
|
set mustDepthSortFacets(sort: boolean);
|
|
@@ -204,7 +204,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
204
204
|
* The location (Vector3) where the facet depth sort must be computed from.
|
|
205
205
|
* By default, the active camera position.
|
|
206
206
|
* Used only when facet depth sort is enabled
|
|
207
|
-
* @see https://doc.babylonjs.com/
|
|
207
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#facet-depth-sort
|
|
208
208
|
*/
|
|
209
209
|
get facetDepthSortFrom(): Vector3;
|
|
210
210
|
set facetDepthSortFrom(location: Vector3);
|
|
@@ -213,18 +213,18 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
213
213
|
set collisionRetryCount(retryCount: number);
|
|
214
214
|
/**
|
|
215
215
|
* gets a boolean indicating if facetData is enabled
|
|
216
|
-
* @see https://doc.babylonjs.com/
|
|
216
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#what-is-a-mesh-facet
|
|
217
217
|
*/
|
|
218
218
|
get isFacetDataEnabled(): boolean;
|
|
219
219
|
/**
|
|
220
220
|
* Gets or sets the morph target manager
|
|
221
|
-
* @see https://doc.babylonjs.com/
|
|
221
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/morphTargets
|
|
222
222
|
*/
|
|
223
223
|
get morphTargetManager(): Nullable<MorphTargetManager>;
|
|
224
224
|
set morphTargetManager(value: Nullable<MorphTargetManager>);
|
|
225
225
|
/**
|
|
226
226
|
* Gets or sets the baked vertex animation manager
|
|
227
|
-
* @see https://doc.babylonjs.com/
|
|
227
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/animation/baked_texture_animations
|
|
228
228
|
*/
|
|
229
229
|
get bakedVertexAnimationManager(): Nullable<IBakedVertexAnimationManager>;
|
|
230
230
|
set bakedVertexAnimationManager(value: Nullable<IBakedVertexAnimationManager>);
|
|
@@ -267,7 +267,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
267
267
|
*/
|
|
268
268
|
set visibility(value: number);
|
|
269
269
|
/** Gets or sets the alpha index used to sort transparent meshes
|
|
270
|
-
* @see https://doc.babylonjs.com/
|
|
270
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/materials/advanced/transparent_rendering#alpha-index
|
|
271
271
|
*/
|
|
272
272
|
alphaIndex: number;
|
|
273
273
|
/**
|
|
@@ -289,7 +289,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
289
289
|
/** Gets or sets a boolean indicating that bounding boxes of subMeshes must be rendered as well (false by default) */
|
|
290
290
|
showSubMeshesBoundingBox: boolean;
|
|
291
291
|
/** Gets or sets a boolean indicating if the mesh must be considered as a ray blocker for lens flares (false by default)
|
|
292
|
-
* @see https://doc.babylonjs.com/
|
|
292
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/environment/lenseFlare
|
|
293
293
|
*/
|
|
294
294
|
isBlocker: boolean;
|
|
295
295
|
/**
|
|
@@ -305,7 +305,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
305
305
|
set pointerOverDisableMeshTesting(disable: boolean);
|
|
306
306
|
/**
|
|
307
307
|
* Specifies the rendering group id for this mesh (0 by default)
|
|
308
|
-
* @see https://doc.babylonjs.com/
|
|
308
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/materials/advanced/transparent_rendering#rendering-groups
|
|
309
309
|
*/
|
|
310
310
|
get renderingGroupId(): number;
|
|
311
311
|
set renderingGroupId(value: number);
|
|
@@ -326,7 +326,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
326
326
|
setMaterialForRenderPass(renderPassId: number, material?: Material): void;
|
|
327
327
|
/**
|
|
328
328
|
* Gets or sets a boolean indicating that this mesh can receive realtime shadows
|
|
329
|
-
* @see https://doc.babylonjs.com/
|
|
329
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/lights/shadows
|
|
330
330
|
*/
|
|
331
331
|
get receiveShadows(): boolean;
|
|
332
332
|
set receiveShadows(value: boolean);
|
|
@@ -366,7 +366,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
366
366
|
useOctreeForCollisions: boolean;
|
|
367
367
|
/**
|
|
368
368
|
* Gets or sets the current layer mask (default is 0x0FFFFFFF)
|
|
369
|
-
* @see https://doc.babylonjs.com/
|
|
369
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/layerMasksAndMultiCam
|
|
370
370
|
*/
|
|
371
371
|
get layerMask(): number;
|
|
372
372
|
set layerMask(value: number);
|
|
@@ -380,17 +380,17 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
380
380
|
doNotSyncBoundingInfo: boolean;
|
|
381
381
|
/**
|
|
382
382
|
* Gets or sets the current action manager
|
|
383
|
-
* @see https://doc.babylonjs.com/
|
|
383
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/events/actions
|
|
384
384
|
*/
|
|
385
385
|
actionManager: Nullable<AbstractActionManager>;
|
|
386
386
|
/**
|
|
387
387
|
* Gets or sets the ellipsoid used to impersonate this mesh when using collision engine (default is (0.5, 1, 0.5))
|
|
388
|
-
* @see https://doc.babylonjs.com/
|
|
388
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_collisions
|
|
389
389
|
*/
|
|
390
390
|
ellipsoid: Vector3;
|
|
391
391
|
/**
|
|
392
392
|
* Gets or sets the ellipsoid offset used to impersonate this mesh when using collision engine (default is (0, 0, 0))
|
|
393
|
-
* @see https://doc.babylonjs.com/
|
|
393
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_collisions
|
|
394
394
|
*/
|
|
395
395
|
ellipsoidOffset: Vector3;
|
|
396
396
|
/**
|
|
@@ -444,7 +444,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
444
444
|
_renderId: number;
|
|
445
445
|
/**
|
|
446
446
|
* Gets or sets the list of subMeshes
|
|
447
|
-
* @see https://doc.babylonjs.com/
|
|
447
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/materials/using/multiMaterials
|
|
448
448
|
*/
|
|
449
449
|
subMeshes: SubMesh[];
|
|
450
450
|
/** @internal */
|
|
@@ -469,7 +469,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
469
469
|
_transformMatrixTexture: Nullable<RawTexture>;
|
|
470
470
|
/**
|
|
471
471
|
* Gets or sets a skeleton to apply skinning transformations
|
|
472
|
-
* @see https://doc.babylonjs.com/
|
|
472
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/bonesSkeletons
|
|
473
473
|
*/
|
|
474
474
|
set skeleton(value: Nullable<Skeleton>);
|
|
475
475
|
get skeleton(): Nullable<Skeleton>;
|
|
@@ -830,18 +830,18 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
830
830
|
intersectsPoint(point: Vector3): boolean;
|
|
831
831
|
/**
|
|
832
832
|
* Gets or sets a boolean indicating that this mesh can be used in the collision engine
|
|
833
|
-
* @see https://doc.babylonjs.com/
|
|
833
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_collisions
|
|
834
834
|
*/
|
|
835
835
|
get checkCollisions(): boolean;
|
|
836
836
|
set checkCollisions(collisionEnabled: boolean);
|
|
837
837
|
/**
|
|
838
838
|
* Gets Collider object used to compute collisions (not physics)
|
|
839
|
-
* @see https://doc.babylonjs.com/
|
|
839
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_collisions
|
|
840
840
|
*/
|
|
841
841
|
get collider(): Nullable<Collider>;
|
|
842
842
|
/**
|
|
843
843
|
* Move the mesh using collision engine
|
|
844
|
-
* @see https://doc.babylonjs.com/
|
|
844
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_collisions
|
|
845
845
|
* @param displacement defines the requested displacement vector
|
|
846
846
|
* @returns the current mesh
|
|
847
847
|
*/
|
|
@@ -872,7 +872,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
872
872
|
* @param worldToUse defines the world matrix to use to get the world coordinate of the intersection point
|
|
873
873
|
* @param skipBoundingInfo a boolean indicating if we should skip the bounding info check
|
|
874
874
|
* @returns the picking info
|
|
875
|
-
* @see https://doc.babylonjs.com/
|
|
875
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/interactions/mesh_intersect
|
|
876
876
|
*/
|
|
877
877
|
intersects(ray: Ray, fastCheck?: boolean, trianglePredicate?: TrianglePickingPredicate, onlyBoundingInfo?: boolean, worldToUse?: Matrix, skipBoundingInfo?: boolean): PickingInfo;
|
|
878
878
|
/**
|
|
@@ -915,27 +915,27 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
915
915
|
* This method can be called within the render loop.
|
|
916
916
|
* You don't need to call this method by yourself in the render loop when you update/morph a mesh with the methods CreateXXX() as they automatically manage this computation
|
|
917
917
|
* @returns the current mesh
|
|
918
|
-
* @see https://doc.babylonjs.com/
|
|
918
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
919
919
|
*/
|
|
920
920
|
updateFacetData(): AbstractMesh;
|
|
921
921
|
/**
|
|
922
922
|
* Returns the facetLocalNormals array.
|
|
923
923
|
* The normals are expressed in the mesh local spac
|
|
924
924
|
* @returns an array of Vector3
|
|
925
|
-
* @see https://doc.babylonjs.com/
|
|
925
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
926
926
|
*/
|
|
927
927
|
getFacetLocalNormals(): Vector3[];
|
|
928
928
|
/**
|
|
929
929
|
* Returns the facetLocalPositions array.
|
|
930
930
|
* The facet positions are expressed in the mesh local space
|
|
931
931
|
* @returns an array of Vector3
|
|
932
|
-
* @see https://doc.babylonjs.com/
|
|
932
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
933
933
|
*/
|
|
934
934
|
getFacetLocalPositions(): Vector3[];
|
|
935
935
|
/**
|
|
936
936
|
* Returns the facetLocalPartitioning array
|
|
937
937
|
* @returns an array of array of numbers
|
|
938
|
-
* @see https://doc.babylonjs.com/
|
|
938
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
939
939
|
*/
|
|
940
940
|
getFacetLocalPartitioning(): number[][];
|
|
941
941
|
/**
|
|
@@ -943,7 +943,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
943
943
|
* This method allocates a new Vector3 per call
|
|
944
944
|
* @param i defines the facet index
|
|
945
945
|
* @returns a new Vector3
|
|
946
|
-
* @see https://doc.babylonjs.com/
|
|
946
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
947
947
|
*/
|
|
948
948
|
getFacetPosition(i: number): Vector3;
|
|
949
949
|
/**
|
|
@@ -951,7 +951,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
951
951
|
* @param i defines the facet index
|
|
952
952
|
* @param ref defines the target vector
|
|
953
953
|
* @returns the current mesh
|
|
954
|
-
* @see https://doc.babylonjs.com/
|
|
954
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
955
955
|
*/
|
|
956
956
|
getFacetPositionToRef(i: number, ref: Vector3): AbstractMesh;
|
|
957
957
|
/**
|
|
@@ -959,7 +959,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
959
959
|
* This method allocates a new Vector3 per call
|
|
960
960
|
* @param i defines the facet index
|
|
961
961
|
* @returns a new Vector3
|
|
962
|
-
* @see https://doc.babylonjs.com/
|
|
962
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
963
963
|
*/
|
|
964
964
|
getFacetNormal(i: number): Vector3;
|
|
965
965
|
/**
|
|
@@ -967,7 +967,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
967
967
|
* @param i defines the facet index
|
|
968
968
|
* @param ref defines the target vector
|
|
969
969
|
* @returns the current mesh
|
|
970
|
-
* @see https://doc.babylonjs.com/
|
|
970
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
971
971
|
*/
|
|
972
972
|
getFacetNormalToRef(i: number, ref: Vector3): this;
|
|
973
973
|
/**
|
|
@@ -976,7 +976,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
976
976
|
* @param y defines y coordinate
|
|
977
977
|
* @param z defines z coordinate
|
|
978
978
|
* @returns the array of facet indexes
|
|
979
|
-
* @see https://doc.babylonjs.com/
|
|
979
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
980
980
|
*/
|
|
981
981
|
getFacetsAtLocalCoordinates(x: number, y: number, z: number): Nullable<number[]>;
|
|
982
982
|
/**
|
|
@@ -988,7 +988,7 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
988
988
|
* @param checkFace if true (default false), only the facet "facing" to (x,y,z) or only the ones "turning their backs", according to the parameter "facing" are returned
|
|
989
989
|
* @param facing if facing and checkFace are true, only the facet "facing" to (x, y, z) are returned : positive dot (x, y, z) * facet position. If facing si false and checkFace is true, only the facet "turning their backs" to (x, y, z) are returned : negative dot (x, y, z) * facet position
|
|
990
990
|
* @returns the face index if found (or null instead)
|
|
991
|
-
* @see https://doc.babylonjs.com/
|
|
991
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
992
992
|
*/
|
|
993
993
|
getClosestFacetAtCoordinates(x: number, y: number, z: number, projected?: Vector3, checkFace?: boolean, facing?: boolean): Nullable<number>;
|
|
994
994
|
/**
|
|
@@ -1000,19 +1000,19 @@ export declare class AbstractMesh extends TransformNode implements IDisposable,
|
|
|
1000
1000
|
* @param checkFace if true (default false), only the facet "facing" to (x,y,z) or only the ones "turning their backs", according to the parameter "facing" are returned
|
|
1001
1001
|
* @param facing if facing and checkFace are true, only the facet "facing" to (x, y, z) are returned : positive dot (x, y, z) * facet position. If facing si false and checkFace is true, only the facet "turning their backs" to (x, y, z) are returned : negative dot (x, y, z) * facet position
|
|
1002
1002
|
* @returns the face index if found (or null instead)
|
|
1003
|
-
* @see https://doc.babylonjs.com/
|
|
1003
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1004
1004
|
*/
|
|
1005
1005
|
getClosestFacetAtLocalCoordinates(x: number, y: number, z: number, projected?: Vector3, checkFace?: boolean, facing?: boolean): Nullable<number>;
|
|
1006
1006
|
/**
|
|
1007
1007
|
* Returns the object "parameter" set with all the expected parameters for facetData computation by ComputeNormals()
|
|
1008
1008
|
* @returns the parameters
|
|
1009
|
-
* @see https://doc.babylonjs.com/
|
|
1009
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1010
1010
|
*/
|
|
1011
1011
|
getFacetDataParameters(): any;
|
|
1012
1012
|
/**
|
|
1013
1013
|
* Disables the feature FacetData and frees the related memory
|
|
1014
1014
|
* @returns the current mesh
|
|
1015
|
-
* @see https://doc.babylonjs.com/
|
|
1015
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1016
1016
|
*/
|
|
1017
1017
|
disableFacetData(): AbstractMesh;
|
|
1018
1018
|
/**
|
package/Meshes/abstractMesh.js
CHANGED
|
@@ -126,7 +126,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
126
126
|
/** @internal */
|
|
127
127
|
this._renderingGroup = null;
|
|
128
128
|
/** Gets or sets the alpha index used to sort transparent meshes
|
|
129
|
-
* @see https://doc.babylonjs.com/
|
|
129
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/materials/advanced/transparent_rendering#alpha-index
|
|
130
130
|
*/
|
|
131
131
|
this.alphaIndex = Number.MAX_VALUE;
|
|
132
132
|
/**
|
|
@@ -148,7 +148,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
148
148
|
/** Gets or sets a boolean indicating that bounding boxes of subMeshes must be rendered as well (false by default) */
|
|
149
149
|
this.showSubMeshesBoundingBox = false;
|
|
150
150
|
/** Gets or sets a boolean indicating if the mesh must be considered as a ray blocker for lens flares (false by default)
|
|
151
|
-
* @see https://doc.babylonjs.com/
|
|
151
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/environment/lenseFlare
|
|
152
152
|
*/
|
|
153
153
|
this.isBlocker = false;
|
|
154
154
|
/**
|
|
@@ -179,17 +179,17 @@ export class AbstractMesh extends TransformNode {
|
|
|
179
179
|
this.doNotSyncBoundingInfo = false;
|
|
180
180
|
/**
|
|
181
181
|
* Gets or sets the current action manager
|
|
182
|
-
* @see https://doc.babylonjs.com/
|
|
182
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/events/actions
|
|
183
183
|
*/
|
|
184
184
|
this.actionManager = null;
|
|
185
185
|
/**
|
|
186
186
|
* Gets or sets the ellipsoid used to impersonate this mesh when using collision engine (default is (0.5, 1, 0.5))
|
|
187
|
-
* @see https://doc.babylonjs.com/
|
|
187
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_collisions
|
|
188
188
|
*/
|
|
189
189
|
this.ellipsoid = new Vector3(0.5, 1, 0.5);
|
|
190
190
|
/**
|
|
191
191
|
* Gets or sets the ellipsoid offset used to impersonate this mesh when using collision engine (default is (0, 0, 0))
|
|
192
|
-
* @see https://doc.babylonjs.com/
|
|
192
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_collisions
|
|
193
193
|
*/
|
|
194
194
|
this.ellipsoidOffset = new Vector3(0, 0, 0);
|
|
195
195
|
// Edges
|
|
@@ -286,14 +286,14 @@ export class AbstractMesh extends TransformNode {
|
|
|
286
286
|
}
|
|
287
287
|
/**
|
|
288
288
|
* Gets the number of facets in the mesh
|
|
289
|
-
* @see https://doc.babylonjs.com/
|
|
289
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#what-is-a-mesh-facet
|
|
290
290
|
*/
|
|
291
291
|
get facetNb() {
|
|
292
292
|
return this._internalAbstractMeshDataInfo._facetData.facetNb;
|
|
293
293
|
}
|
|
294
294
|
/**
|
|
295
295
|
* Gets or set the number (integer) of subdivisions per axis in the partitioning space
|
|
296
|
-
* @see https://doc.babylonjs.com/
|
|
296
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#tweaking-the-partitioning
|
|
297
297
|
*/
|
|
298
298
|
get partitioningSubdivisions() {
|
|
299
299
|
return this._internalAbstractMeshDataInfo._facetData.partitioningSubdivisions;
|
|
@@ -304,7 +304,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
304
304
|
/**
|
|
305
305
|
* The ratio (float) to apply to the bounding box size to set to the partitioning space.
|
|
306
306
|
* Ex : 1.01 (default) the partitioning space is 1% bigger than the bounding box
|
|
307
|
-
* @see https://doc.babylonjs.com/
|
|
307
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#tweaking-the-partitioning
|
|
308
308
|
*/
|
|
309
309
|
get partitioningBBoxRatio() {
|
|
310
310
|
return this._internalAbstractMeshDataInfo._facetData.partitioningBBoxRatio;
|
|
@@ -316,7 +316,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
316
316
|
* Gets or sets a boolean indicating that the facets must be depth sorted on next call to `updateFacetData()`.
|
|
317
317
|
* Works only for updatable meshes.
|
|
318
318
|
* Doesn't work with multi-materials
|
|
319
|
-
* @see https://doc.babylonjs.com/
|
|
319
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#facet-depth-sort
|
|
320
320
|
*/
|
|
321
321
|
get mustDepthSortFacets() {
|
|
322
322
|
return this._internalAbstractMeshDataInfo._facetData.facetDepthSort;
|
|
@@ -328,7 +328,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
328
328
|
* The location (Vector3) where the facet depth sort must be computed from.
|
|
329
329
|
* By default, the active camera position.
|
|
330
330
|
* Used only when facet depth sort is enabled
|
|
331
|
-
* @see https://doc.babylonjs.com/
|
|
331
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#facet-depth-sort
|
|
332
332
|
*/
|
|
333
333
|
get facetDepthSortFrom() {
|
|
334
334
|
return this._internalAbstractMeshDataInfo._facetData.facetDepthSortFrom;
|
|
@@ -345,14 +345,14 @@ export class AbstractMesh extends TransformNode {
|
|
|
345
345
|
}
|
|
346
346
|
/**
|
|
347
347
|
* gets a boolean indicating if facetData is enabled
|
|
348
|
-
* @see https://doc.babylonjs.com/
|
|
348
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData#what-is-a-mesh-facet
|
|
349
349
|
*/
|
|
350
350
|
get isFacetDataEnabled() {
|
|
351
351
|
return this._internalAbstractMeshDataInfo._facetData.facetDataEnabled;
|
|
352
352
|
}
|
|
353
353
|
/**
|
|
354
354
|
* Gets or sets the morph target manager
|
|
355
|
-
* @see https://doc.babylonjs.com/
|
|
355
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/morphTargets
|
|
356
356
|
*/
|
|
357
357
|
get morphTargetManager() {
|
|
358
358
|
return this._internalAbstractMeshDataInfo._morphTargetManager;
|
|
@@ -366,7 +366,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
366
366
|
}
|
|
367
367
|
/**
|
|
368
368
|
* Gets or sets the baked vertex animation manager
|
|
369
|
-
* @see https://doc.babylonjs.com/
|
|
369
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/animation/baked_texture_animations
|
|
370
370
|
*/
|
|
371
371
|
get bakedVertexAnimationManager() {
|
|
372
372
|
return this._internalAbstractMeshDataInfo._bakedVertexAnimationManager;
|
|
@@ -436,7 +436,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
436
436
|
}
|
|
437
437
|
/**
|
|
438
438
|
* Specifies the rendering group id for this mesh (0 by default)
|
|
439
|
-
* @see https://doc.babylonjs.com/
|
|
439
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/materials/advanced/transparent_rendering#rendering-groups
|
|
440
440
|
*/
|
|
441
441
|
get renderingGroupId() {
|
|
442
442
|
return this._internalAbstractMeshDataInfo._renderingGroupId;
|
|
@@ -492,7 +492,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
492
492
|
}
|
|
493
493
|
/**
|
|
494
494
|
* Gets or sets a boolean indicating that this mesh can receive realtime shadows
|
|
495
|
-
* @see https://doc.babylonjs.com/
|
|
495
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/lights/shadows
|
|
496
496
|
*/
|
|
497
497
|
get receiveShadows() {
|
|
498
498
|
return this._internalAbstractMeshDataInfo._receiveShadows;
|
|
@@ -571,7 +571,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
571
571
|
}
|
|
572
572
|
/**
|
|
573
573
|
* Gets or sets the current layer mask (default is 0x0FFFFFFF)
|
|
574
|
-
* @see https://doc.babylonjs.com/
|
|
574
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/layerMasksAndMultiCam
|
|
575
575
|
*/
|
|
576
576
|
get layerMask() {
|
|
577
577
|
return this._internalAbstractMeshDataInfo._layerMask;
|
|
@@ -640,7 +640,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
640
640
|
}
|
|
641
641
|
/**
|
|
642
642
|
* Gets or sets a skeleton to apply skinning transformations
|
|
643
|
-
* @see https://doc.babylonjs.com/
|
|
643
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/bonesSkeletons
|
|
644
644
|
*/
|
|
645
645
|
set skeleton(value) {
|
|
646
646
|
const skeleton = this._internalAbstractMeshDataInfo._skeleton;
|
|
@@ -1394,7 +1394,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1394
1394
|
// Collisions
|
|
1395
1395
|
/**
|
|
1396
1396
|
* Gets or sets a boolean indicating that this mesh can be used in the collision engine
|
|
1397
|
-
* @see https://doc.babylonjs.com/
|
|
1397
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_collisions
|
|
1398
1398
|
*/
|
|
1399
1399
|
get checkCollisions() {
|
|
1400
1400
|
return this._internalAbstractMeshDataInfo._meshCollisionData._checkCollisions;
|
|
@@ -1404,14 +1404,14 @@ export class AbstractMesh extends TransformNode {
|
|
|
1404
1404
|
}
|
|
1405
1405
|
/**
|
|
1406
1406
|
* Gets Collider object used to compute collisions (not physics)
|
|
1407
|
-
* @see https://doc.babylonjs.com/
|
|
1407
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_collisions
|
|
1408
1408
|
*/
|
|
1409
1409
|
get collider() {
|
|
1410
1410
|
return this._internalAbstractMeshDataInfo._meshCollisionData._collider;
|
|
1411
1411
|
}
|
|
1412
1412
|
/**
|
|
1413
1413
|
* Move the mesh using collision engine
|
|
1414
|
-
* @see https://doc.babylonjs.com/
|
|
1414
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/cameras/camera_collisions
|
|
1415
1415
|
* @param displacement defines the requested displacement vector
|
|
1416
1416
|
* @returns the current mesh
|
|
1417
1417
|
*/
|
|
@@ -1501,7 +1501,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1501
1501
|
* @param worldToUse defines the world matrix to use to get the world coordinate of the intersection point
|
|
1502
1502
|
* @param skipBoundingInfo a boolean indicating if we should skip the bounding info check
|
|
1503
1503
|
* @returns the picking info
|
|
1504
|
-
* @see https://doc.babylonjs.com/
|
|
1504
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/interactions/mesh_intersect
|
|
1505
1505
|
*/
|
|
1506
1506
|
intersects(ray, fastCheck, trianglePredicate, onlyBoundingInfo = false, worldToUse, skipBoundingInfo = false) {
|
|
1507
1507
|
const pickingInfo = new PickingInfo();
|
|
@@ -1782,7 +1782,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1782
1782
|
* This method can be called within the render loop.
|
|
1783
1783
|
* You don't need to call this method by yourself in the render loop when you update/morph a mesh with the methods CreateXXX() as they automatically manage this computation
|
|
1784
1784
|
* @returns the current mesh
|
|
1785
|
-
* @see https://doc.babylonjs.com/
|
|
1785
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1786
1786
|
*/
|
|
1787
1787
|
updateFacetData() {
|
|
1788
1788
|
const data = this._internalAbstractMeshDataInfo._facetData;
|
|
@@ -1880,7 +1880,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1880
1880
|
* Returns the facetLocalNormals array.
|
|
1881
1881
|
* The normals are expressed in the mesh local spac
|
|
1882
1882
|
* @returns an array of Vector3
|
|
1883
|
-
* @see https://doc.babylonjs.com/
|
|
1883
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1884
1884
|
*/
|
|
1885
1885
|
getFacetLocalNormals() {
|
|
1886
1886
|
const facetData = this._internalAbstractMeshDataInfo._facetData;
|
|
@@ -1893,7 +1893,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1893
1893
|
* Returns the facetLocalPositions array.
|
|
1894
1894
|
* The facet positions are expressed in the mesh local space
|
|
1895
1895
|
* @returns an array of Vector3
|
|
1896
|
-
* @see https://doc.babylonjs.com/
|
|
1896
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1897
1897
|
*/
|
|
1898
1898
|
getFacetLocalPositions() {
|
|
1899
1899
|
const facetData = this._internalAbstractMeshDataInfo._facetData;
|
|
@@ -1905,7 +1905,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1905
1905
|
/**
|
|
1906
1906
|
* Returns the facetLocalPartitioning array
|
|
1907
1907
|
* @returns an array of array of numbers
|
|
1908
|
-
* @see https://doc.babylonjs.com/
|
|
1908
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1909
1909
|
*/
|
|
1910
1910
|
getFacetLocalPartitioning() {
|
|
1911
1911
|
const facetData = this._internalAbstractMeshDataInfo._facetData;
|
|
@@ -1919,7 +1919,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1919
1919
|
* This method allocates a new Vector3 per call
|
|
1920
1920
|
* @param i defines the facet index
|
|
1921
1921
|
* @returns a new Vector3
|
|
1922
|
-
* @see https://doc.babylonjs.com/
|
|
1922
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1923
1923
|
*/
|
|
1924
1924
|
getFacetPosition(i) {
|
|
1925
1925
|
const pos = Vector3.Zero();
|
|
@@ -1931,7 +1931,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1931
1931
|
* @param i defines the facet index
|
|
1932
1932
|
* @param ref defines the target vector
|
|
1933
1933
|
* @returns the current mesh
|
|
1934
|
-
* @see https://doc.babylonjs.com/
|
|
1934
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1935
1935
|
*/
|
|
1936
1936
|
getFacetPositionToRef(i, ref) {
|
|
1937
1937
|
const localPos = this.getFacetLocalPositions()[i];
|
|
@@ -1944,7 +1944,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1944
1944
|
* This method allocates a new Vector3 per call
|
|
1945
1945
|
* @param i defines the facet index
|
|
1946
1946
|
* @returns a new Vector3
|
|
1947
|
-
* @see https://doc.babylonjs.com/
|
|
1947
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1948
1948
|
*/
|
|
1949
1949
|
getFacetNormal(i) {
|
|
1950
1950
|
const norm = Vector3.Zero();
|
|
@@ -1956,7 +1956,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1956
1956
|
* @param i defines the facet index
|
|
1957
1957
|
* @param ref defines the target vector
|
|
1958
1958
|
* @returns the current mesh
|
|
1959
|
-
* @see https://doc.babylonjs.com/
|
|
1959
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1960
1960
|
*/
|
|
1961
1961
|
getFacetNormalToRef(i, ref) {
|
|
1962
1962
|
const localNorm = this.getFacetLocalNormals()[i];
|
|
@@ -1969,7 +1969,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1969
1969
|
* @param y defines y coordinate
|
|
1970
1970
|
* @param z defines z coordinate
|
|
1971
1971
|
* @returns the array of facet indexes
|
|
1972
|
-
* @see https://doc.babylonjs.com/
|
|
1972
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1973
1973
|
*/
|
|
1974
1974
|
getFacetsAtLocalCoordinates(x, y, z) {
|
|
1975
1975
|
const bInfo = this.getBoundingInfo();
|
|
@@ -1991,7 +1991,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
1991
1991
|
* @param checkFace if true (default false), only the facet "facing" to (x,y,z) or only the ones "turning their backs", according to the parameter "facing" are returned
|
|
1992
1992
|
* @param facing if facing and checkFace are true, only the facet "facing" to (x, y, z) are returned : positive dot (x, y, z) * facet position. If facing si false and checkFace is true, only the facet "turning their backs" to (x, y, z) are returned : negative dot (x, y, z) * facet position
|
|
1993
1993
|
* @returns the face index if found (or null instead)
|
|
1994
|
-
* @see https://doc.babylonjs.com/
|
|
1994
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
1995
1995
|
*/
|
|
1996
1996
|
getClosestFacetAtCoordinates(x, y, z, projected, checkFace = false, facing = true) {
|
|
1997
1997
|
const world = this.getWorldMatrix();
|
|
@@ -2015,7 +2015,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
2015
2015
|
* @param checkFace if true (default false), only the facet "facing" to (x,y,z) or only the ones "turning their backs", according to the parameter "facing" are returned
|
|
2016
2016
|
* @param facing if facing and checkFace are true, only the facet "facing" to (x, y, z) are returned : positive dot (x, y, z) * facet position. If facing si false and checkFace is true, only the facet "turning their backs" to (x, y, z) are returned : negative dot (x, y, z) * facet position
|
|
2017
2017
|
* @returns the face index if found (or null instead)
|
|
2018
|
-
* @see https://doc.babylonjs.com/
|
|
2018
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
2019
2019
|
*/
|
|
2020
2020
|
getClosestFacetAtLocalCoordinates(x, y, z, projected, checkFace = false, facing = true) {
|
|
2021
2021
|
let closest = null;
|
|
@@ -2074,7 +2074,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
2074
2074
|
/**
|
|
2075
2075
|
* Returns the object "parameter" set with all the expected parameters for facetData computation by ComputeNormals()
|
|
2076
2076
|
* @returns the parameters
|
|
2077
|
-
* @see https://doc.babylonjs.com/
|
|
2077
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
2078
2078
|
*/
|
|
2079
2079
|
getFacetDataParameters() {
|
|
2080
2080
|
return this._internalAbstractMeshDataInfo._facetData.facetParameters;
|
|
@@ -2082,7 +2082,7 @@ export class AbstractMesh extends TransformNode {
|
|
|
2082
2082
|
/**
|
|
2083
2083
|
* Disables the feature FacetData and frees the related memory
|
|
2084
2084
|
* @returns the current mesh
|
|
2085
|
-
* @see https://doc.babylonjs.com/
|
|
2085
|
+
* @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/facetData
|
|
2086
2086
|
*/
|
|
2087
2087
|
disableFacetData() {
|
|
2088
2088
|
const facetData = this._internalAbstractMeshDataInfo._facetData;
|