@needle-tools/engine 4.11.5-next.53316bf → 4.11.5-next.6ab130e
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/components.needle.json +1 -1
- package/dist/{needle-engine.bundle-D6G3NMe4.js → needle-engine.bundle-Byl9O-do.js} +2 -2
- package/dist/{needle-engine.bundle-Cb9jKt1y.umd.cjs → needle-engine.bundle-DRD8Wkvh.umd.cjs} +3 -3
- package/dist/{needle-engine.bundle-BR5nmLCs.min.js → needle-engine.bundle-DhkMkFjF.min.js} +1 -1
- package/dist/needle-engine.d.ts +188 -3
- package/dist/needle-engine.js +2 -2
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/lib/engine-components/AlignmentConstraint.d.ts +9 -0
- package/lib/engine-components/AlignmentConstraint.js +9 -0
- package/lib/engine-components/AlignmentConstraint.js.map +1 -1
- package/lib/engine-components/Animator.d.ts +1 -0
- package/lib/engine-components/Animator.js.map +1 -1
- package/lib/engine-components/AudioListener.d.ts +2 -0
- package/lib/engine-components/AudioListener.js +2 -0
- package/lib/engine-components/AudioListener.js.map +1 -1
- package/lib/engine-components/AudioSource.d.ts +1 -0
- package/lib/engine-components/AudioSource.js +1 -0
- package/lib/engine-components/AudioSource.js.map +1 -1
- package/lib/engine-components/AxesHelper.d.ts +2 -0
- package/lib/engine-components/AxesHelper.js +2 -0
- package/lib/engine-components/AxesHelper.js.map +1 -1
- package/lib/engine-components/Camera.d.ts +1 -0
- package/lib/engine-components/Camera.js +1 -0
- package/lib/engine-components/Camera.js.map +1 -1
- package/lib/engine-components/CharacterController.d.ts +4 -1
- package/lib/engine-components/CharacterController.js +4 -1
- package/lib/engine-components/CharacterController.js.map +1 -1
- package/lib/engine-components/DeleteBox.d.ts +2 -0
- package/lib/engine-components/DeleteBox.js +2 -0
- package/lib/engine-components/DeleteBox.js.map +1 -1
- package/lib/engine-components/DeviceFlag.d.ts +4 -0
- package/lib/engine-components/DeviceFlag.js +4 -0
- package/lib/engine-components/DeviceFlag.js.map +1 -1
- package/lib/engine-components/DragControls.d.ts +1 -0
- package/lib/engine-components/DragControls.js +1 -0
- package/lib/engine-components/DragControls.js.map +1 -1
- package/lib/engine-components/DropListener.d.ts +1 -0
- package/lib/engine-components/DropListener.js +1 -0
- package/lib/engine-components/DropListener.js.map +1 -1
- package/lib/engine-components/Duplicatable.d.ts +1 -0
- package/lib/engine-components/Duplicatable.js +1 -0
- package/lib/engine-components/Duplicatable.js.map +1 -1
- package/lib/engine-components/EventTrigger.d.ts +2 -0
- package/lib/engine-components/EventTrigger.js +2 -0
- package/lib/engine-components/EventTrigger.js.map +1 -1
- package/lib/engine-components/GridHelper.d.ts +2 -0
- package/lib/engine-components/GridHelper.js +2 -0
- package/lib/engine-components/GridHelper.js.map +1 -1
- package/lib/engine-components/GroundProjection.d.ts +1 -0
- package/lib/engine-components/GroundProjection.js +1 -0
- package/lib/engine-components/GroundProjection.js.map +1 -1
- package/lib/engine-components/LODGroup.d.ts +2 -0
- package/lib/engine-components/LODGroup.js +2 -0
- package/lib/engine-components/LODGroup.js.map +1 -1
- package/lib/engine-components/Light.d.ts +1 -0
- package/lib/engine-components/Light.js +1 -0
- package/lib/engine-components/Light.js.map +1 -1
- package/lib/engine-components/LookAtConstraint.d.ts +1 -0
- package/lib/engine-components/LookAtConstraint.js +1 -0
- package/lib/engine-components/LookAtConstraint.js.map +1 -1
- package/lib/engine-components/NeedleMenu.d.ts +1 -0
- package/lib/engine-components/NeedleMenu.js +1 -0
- package/lib/engine-components/NeedleMenu.js.map +1 -1
- package/lib/engine-components/NestedGltf.d.ts +1 -0
- package/lib/engine-components/NestedGltf.js +1 -0
- package/lib/engine-components/NestedGltf.js.map +1 -1
- package/lib/engine-components/Networking.d.ts +1 -0
- package/lib/engine-components/Networking.js +1 -0
- package/lib/engine-components/Networking.js.map +1 -1
- package/lib/engine-components/OffsetConstraint.d.ts +7 -0
- package/lib/engine-components/OffsetConstraint.js +7 -0
- package/lib/engine-components/OffsetConstraint.js.map +1 -1
- package/lib/engine-components/OrbitControls.d.ts +1 -0
- package/lib/engine-components/OrbitControls.js +1 -0
- package/lib/engine-components/OrbitControls.js.map +1 -1
- package/lib/engine-components/PlayerColor.d.ts +2 -0
- package/lib/engine-components/PlayerColor.js +2 -0
- package/lib/engine-components/PlayerColor.js.map +1 -1
- package/lib/engine-components/ReflectionProbe.d.ts +1 -0
- package/lib/engine-components/ReflectionProbe.js +1 -0
- package/lib/engine-components/ReflectionProbe.js.map +1 -1
- package/lib/engine-components/RigidBody.d.ts +1 -0
- package/lib/engine-components/RigidBody.js +1 -0
- package/lib/engine-components/RigidBody.js.map +1 -1
- package/lib/engine-components/SceneSwitcher.d.ts +1 -0
- package/lib/engine-components/SceneSwitcher.js +1 -0
- package/lib/engine-components/SceneSwitcher.js.map +1 -1
- package/lib/engine-components/ScreenCapture.d.ts +1 -0
- package/lib/engine-components/ScreenCapture.js +1 -0
- package/lib/engine-components/ScreenCapture.js.map +1 -1
- package/lib/engine-components/SeeThrough.d.ts +1 -0
- package/lib/engine-components/SeeThrough.js +1 -0
- package/lib/engine-components/SeeThrough.js.map +1 -1
- package/lib/engine-components/ShadowCatcher.d.ts +2 -0
- package/lib/engine-components/ShadowCatcher.js +2 -0
- package/lib/engine-components/ShadowCatcher.js.map +1 -1
- package/lib/engine-components/Skybox.d.ts +1 -0
- package/lib/engine-components/Skybox.js +1 -0
- package/lib/engine-components/Skybox.js.map +1 -1
- package/lib/engine-components/SmoothFollow.d.ts +1 -0
- package/lib/engine-components/SmoothFollow.js +1 -0
- package/lib/engine-components/SmoothFollow.js.map +1 -1
- package/lib/engine-components/SpatialTrigger.d.ts +1 -0
- package/lib/engine-components/SpatialTrigger.js +1 -0
- package/lib/engine-components/SpatialTrigger.js.map +1 -1
- package/lib/engine-components/SpectatorCamera.d.ts +1 -0
- package/lib/engine-components/SpectatorCamera.js +1 -0
- package/lib/engine-components/SpectatorCamera.js.map +1 -1
- package/lib/engine-components/SpriteRenderer.d.ts +1 -0
- package/lib/engine-components/SpriteRenderer.js +1 -0
- package/lib/engine-components/SpriteRenderer.js.map +1 -1
- package/lib/engine-components/SyncedCamera.d.ts +2 -0
- package/lib/engine-components/SyncedCamera.js +2 -0
- package/lib/engine-components/SyncedCamera.js.map +1 -1
- package/lib/engine-components/SyncedRoom.d.ts +1 -0
- package/lib/engine-components/SyncedRoom.js +1 -0
- package/lib/engine-components/SyncedRoom.js.map +1 -1
- package/lib/engine-components/SyncedTransform.d.ts +2 -0
- package/lib/engine-components/SyncedTransform.js +2 -0
- package/lib/engine-components/SyncedTransform.js.map +1 -1
- package/lib/engine-components/TransformGizmo.d.ts +2 -0
- package/lib/engine-components/TransformGizmo.js +2 -0
- package/lib/engine-components/TransformGizmo.js.map +1 -1
- package/lib/engine-components/VideoPlayer.d.ts +1 -0
- package/lib/engine-components/VideoPlayer.js +1 -0
- package/lib/engine-components/VideoPlayer.js.map +1 -1
- package/lib/engine-components/Voip.d.ts +1 -0
- package/lib/engine-components/Voip.js +1 -0
- package/lib/engine-components/Voip.js.map +1 -1
- package/lib/engine-components/export/usdz/extensions/behavior/BehaviourComponents.d.ts +18 -0
- package/lib/engine-components/export/usdz/extensions/behavior/BehaviourComponents.js +18 -0
- package/lib/engine-components/export/usdz/extensions/behavior/BehaviourComponents.js.map +1 -1
- package/lib/engine-components/particlesystem/ParticleSystem.d.ts +1 -0
- package/lib/engine-components/particlesystem/ParticleSystem.js +1 -0
- package/lib/engine-components/particlesystem/ParticleSystem.js.map +1 -1
- package/lib/engine-components/physics/Attractor.d.ts +3 -0
- package/lib/engine-components/physics/Attractor.js +3 -0
- package/lib/engine-components/physics/Attractor.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/BloomEffect.d.ts +1 -0
- package/lib/engine-components/postprocessing/Effects/BloomEffect.js +1 -0
- package/lib/engine-components/postprocessing/Effects/BloomEffect.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/ChromaticAberration.d.ts +4 -0
- package/lib/engine-components/postprocessing/Effects/ChromaticAberration.js +4 -0
- package/lib/engine-components/postprocessing/Effects/ChromaticAberration.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/ColorAdjustments.d.ts +3 -0
- package/lib/engine-components/postprocessing/Effects/ColorAdjustments.js +3 -0
- package/lib/engine-components/postprocessing/Effects/ColorAdjustments.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/DepthOfField.d.ts +4 -0
- package/lib/engine-components/postprocessing/Effects/DepthOfField.js +4 -0
- package/lib/engine-components/postprocessing/Effects/DepthOfField.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/EffectWrapper.d.ts +1 -0
- package/lib/engine-components/postprocessing/Effects/EffectWrapper.js +1 -0
- package/lib/engine-components/postprocessing/Effects/EffectWrapper.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/Pixelation.d.ts +3 -0
- package/lib/engine-components/postprocessing/Effects/Pixelation.js +3 -0
- package/lib/engine-components/postprocessing/Effects/Pixelation.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/ScreenspaceAmbientOcclusionN8.d.ts +4 -0
- package/lib/engine-components/postprocessing/Effects/ScreenspaceAmbientOcclusionN8.js +4 -0
- package/lib/engine-components/postprocessing/Effects/ScreenspaceAmbientOcclusionN8.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/Sharpening.d.ts +4 -0
- package/lib/engine-components/postprocessing/Effects/Sharpening.js +4 -0
- package/lib/engine-components/postprocessing/Effects/Sharpening.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/TiltShiftEffect.d.ts +4 -0
- package/lib/engine-components/postprocessing/Effects/TiltShiftEffect.js +4 -0
- package/lib/engine-components/postprocessing/Effects/TiltShiftEffect.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/Tonemapping.d.ts +4 -0
- package/lib/engine-components/postprocessing/Effects/Tonemapping.js +4 -0
- package/lib/engine-components/postprocessing/Effects/Tonemapping.js.map +1 -1
- package/lib/engine-components/postprocessing/Effects/Vignette.d.ts +4 -0
- package/lib/engine-components/postprocessing/Effects/Vignette.js +4 -0
- package/lib/engine-components/postprocessing/Effects/Vignette.js.map +1 -1
- package/lib/engine-components/postprocessing/Volume.d.ts +1 -0
- package/lib/engine-components/postprocessing/Volume.js +1 -0
- package/lib/engine-components/postprocessing/Volume.js.map +1 -1
- package/lib/engine-components/splines/Spline.d.ts +1 -0
- package/lib/engine-components/splines/Spline.js +1 -0
- package/lib/engine-components/splines/Spline.js.map +1 -1
- package/lib/engine-components/splines/SplineWalker.d.ts +1 -0
- package/lib/engine-components/splines/SplineWalker.js +1 -0
- package/lib/engine-components/splines/SplineWalker.js.map +1 -1
- package/lib/engine-components/timeline/PlayableDirector.d.ts +1 -0
- package/lib/engine-components/timeline/PlayableDirector.js +1 -0
- package/lib/engine-components/timeline/PlayableDirector.js.map +1 -1
- package/lib/engine-components/timeline/SignalAsset.d.ts +1 -0
- package/lib/engine-components/timeline/SignalAsset.js +1 -0
- package/lib/engine-components/timeline/SignalAsset.js.map +1 -1
- package/lib/engine-components/ui/Button.d.ts +4 -0
- package/lib/engine-components/ui/Button.js +4 -0
- package/lib/engine-components/ui/Button.js.map +1 -1
- package/lib/engine-components/ui/Canvas.d.ts +5 -0
- package/lib/engine-components/ui/Canvas.js +5 -0
- package/lib/engine-components/ui/Canvas.js.map +1 -1
- package/lib/engine-components/ui/CanvasGroup.d.ts +4 -0
- package/lib/engine-components/ui/CanvasGroup.js +4 -0
- package/lib/engine-components/ui/CanvasGroup.js.map +1 -1
- package/lib/engine-components/ui/EventSystem.d.ts +2 -0
- package/lib/engine-components/ui/EventSystem.js +2 -0
- package/lib/engine-components/ui/EventSystem.js.map +1 -1
- package/lib/engine-components/ui/Image.d.ts +4 -0
- package/lib/engine-components/ui/Image.js +4 -0
- package/lib/engine-components/ui/Image.js.map +1 -1
- package/lib/engine-components/ui/InputField.d.ts +4 -0
- package/lib/engine-components/ui/InputField.js +4 -0
- package/lib/engine-components/ui/InputField.js.map +1 -1
- package/lib/engine-components/ui/Outline.d.ts +7 -0
- package/lib/engine-components/ui/Outline.js +7 -0
- package/lib/engine-components/ui/Outline.js.map +1 -1
- package/lib/engine-components/ui/Text.d.ts +1 -0
- package/lib/engine-components/ui/Text.js +1 -0
- package/lib/engine-components/ui/Text.js.map +1 -1
- package/lib/engine-components/utils/LookAt.d.ts +1 -0
- package/lib/engine-components/utils/LookAt.js +1 -0
- package/lib/engine-components/utils/LookAt.js.map +1 -1
- package/lib/engine-components/web/Clickthrough.d.ts +1 -1
- package/lib/engine-components/web/Clickthrough.js +1 -1
- package/lib/engine-components/web/CursorFollow.d.ts +1 -0
- package/lib/engine-components/web/CursorFollow.js +1 -0
- package/lib/engine-components/web/CursorFollow.js.map +1 -1
- package/lib/engine-components/web/HoverAnimation.d.ts +1 -0
- package/lib/engine-components/web/HoverAnimation.js +1 -0
- package/lib/engine-components/web/HoverAnimation.js.map +1 -1
- package/lib/engine-components/web/ScrollFollow.d.ts +2 -0
- package/lib/engine-components/web/ScrollFollow.js +2 -0
- package/lib/engine-components/web/ScrollFollow.js.map +1 -1
- package/lib/engine-components/web/ViewBox.d.ts +1 -0
- package/lib/engine-components/web/ViewBox.js +1 -0
- package/lib/engine-components/web/ViewBox.js.map +1 -1
- package/lib/engine-components/webxr/Avatar.d.ts +5 -0
- package/lib/engine-components/webxr/Avatar.js +5 -0
- package/lib/engine-components/webxr/Avatar.js.map +1 -1
- package/lib/engine-components/webxr/WebARCameraBackground.d.ts +1 -0
- package/lib/engine-components/webxr/WebARCameraBackground.js +1 -0
- package/lib/engine-components/webxr/WebARCameraBackground.js.map +1 -1
- package/lib/engine-components/webxr/WebARSessionRoot.d.ts +1 -0
- package/lib/engine-components/webxr/WebARSessionRoot.js +1 -0
- package/lib/engine-components/webxr/WebARSessionRoot.js.map +1 -1
- package/lib/engine-components/webxr/WebXR.d.ts +1 -1
- package/lib/engine-components/webxr/WebXR.js +1 -1
- package/lib/engine-components/webxr/controllers/XRControllerFollow.d.ts +1 -0
- package/lib/engine-components/webxr/controllers/XRControllerFollow.js +1 -0
- package/lib/engine-components/webxr/controllers/XRControllerFollow.js.map +1 -1
- package/lib/engine-components/webxr/controllers/XRControllerModel.d.ts +4 -0
- package/lib/engine-components/webxr/controllers/XRControllerModel.js +4 -0
- package/lib/engine-components/webxr/controllers/XRControllerModel.js.map +1 -1
- package/lib/engine-components/webxr/controllers/XRControllerMovement.d.ts +1 -0
- package/lib/engine-components/webxr/controllers/XRControllerMovement.js +1 -0
- package/lib/engine-components/webxr/controllers/XRControllerMovement.js.map +1 -1
- package/lib/engine-components-experimental/networking/PlayerSync.d.ts +2 -0
- package/lib/engine-components-experimental/networking/PlayerSync.js +2 -0
- package/lib/engine-components-experimental/networking/PlayerSync.js.map +1 -1
- package/package.json +2 -1
- package/src/engine-components/AlignmentConstraint.ts +9 -0
- package/src/engine-components/Animator.ts +1 -0
- package/src/engine-components/AudioListener.ts +2 -0
- package/src/engine-components/AudioSource.ts +1 -0
- package/src/engine-components/AxesHelper.ts +2 -0
- package/src/engine-components/Camera.ts +1 -0
- package/src/engine-components/CharacterController.ts +4 -1
- package/src/engine-components/DeleteBox.ts +2 -0
- package/src/engine-components/DeviceFlag.ts +4 -0
- package/src/engine-components/DragControls.ts +1 -0
- package/src/engine-components/DropListener.ts +1 -0
- package/src/engine-components/Duplicatable.ts +1 -0
- package/src/engine-components/EventTrigger.ts +2 -0
- package/src/engine-components/GridHelper.ts +2 -0
- package/src/engine-components/GroundProjection.ts +1 -0
- package/src/engine-components/LODGroup.ts +2 -0
- package/src/engine-components/Light.ts +1 -0
- package/src/engine-components/LookAtConstraint.ts +1 -0
- package/src/engine-components/NeedleMenu.ts +1 -0
- package/src/engine-components/NestedGltf.ts +1 -0
- package/src/engine-components/Networking.ts +1 -0
- package/src/engine-components/OffsetConstraint.ts +7 -0
- package/src/engine-components/OrbitControls.ts +1 -0
- package/src/engine-components/PlayerColor.ts +2 -0
- package/src/engine-components/ReflectionProbe.ts +1 -0
- package/src/engine-components/RigidBody.ts +1 -0
- package/src/engine-components/SceneSwitcher.ts +1 -0
- package/src/engine-components/ScreenCapture.ts +1 -0
- package/src/engine-components/SeeThrough.ts +1 -0
- package/src/engine-components/ShadowCatcher.ts +2 -0
- package/src/engine-components/Skybox.ts +1 -0
- package/src/engine-components/SmoothFollow.ts +1 -0
- package/src/engine-components/SpatialTrigger.ts +1 -0
- package/src/engine-components/SpectatorCamera.ts +1 -0
- package/src/engine-components/SpriteRenderer.ts +1 -0
- package/src/engine-components/SyncedCamera.ts +2 -0
- package/src/engine-components/SyncedRoom.ts +1 -0
- package/src/engine-components/SyncedTransform.ts +2 -0
- package/src/engine-components/TransformGizmo.ts +2 -0
- package/src/engine-components/VideoPlayer.ts +1 -0
- package/src/engine-components/Voip.ts +1 -0
- package/src/engine-components/export/usdz/extensions/behavior/BehaviourComponents.ts +18 -0
- package/src/engine-components/particlesystem/ParticleSystem.ts +1 -0
- package/src/engine-components/physics/Attractor.ts +3 -0
- package/src/engine-components/postprocessing/Effects/BloomEffect.ts +1 -0
- package/src/engine-components/postprocessing/Effects/ChromaticAberration.ts +4 -0
- package/src/engine-components/postprocessing/Effects/ColorAdjustments.ts +3 -0
- package/src/engine-components/postprocessing/Effects/DepthOfField.ts +4 -0
- package/src/engine-components/postprocessing/Effects/EffectWrapper.ts +1 -0
- package/src/engine-components/postprocessing/Effects/Pixelation.ts +3 -0
- package/src/engine-components/postprocessing/Effects/ScreenspaceAmbientOcclusionN8.ts +4 -0
- package/src/engine-components/postprocessing/Effects/Sharpening.ts +4 -0
- package/src/engine-components/postprocessing/Effects/TiltShiftEffect.ts +4 -0
- package/src/engine-components/postprocessing/Effects/Tonemapping.ts +4 -0
- package/src/engine-components/postprocessing/Effects/Vignette.ts +4 -0
- package/src/engine-components/postprocessing/Volume.ts +1 -0
- package/src/engine-components/splines/Spline.ts +1 -0
- package/src/engine-components/splines/SplineWalker.ts +1 -0
- package/src/engine-components/timeline/PlayableDirector.ts +1 -0
- package/src/engine-components/timeline/SignalAsset.ts +1 -0
- package/src/engine-components/ui/Button.ts +4 -0
- package/src/engine-components/ui/Canvas.ts +5 -0
- package/src/engine-components/ui/CanvasGroup.ts +4 -0
- package/src/engine-components/ui/EventSystem.ts +2 -0
- package/src/engine-components/ui/Image.ts +4 -0
- package/src/engine-components/ui/InputField.ts +4 -0
- package/src/engine-components/ui/Outline.ts +7 -0
- package/src/engine-components/ui/Text.ts +1 -0
- package/src/engine-components/utils/LookAt.ts +1 -0
- package/src/engine-components/web/Clickthrough.ts +1 -1
- package/src/engine-components/web/CursorFollow.ts +1 -0
- package/src/engine-components/web/HoverAnimation.ts +1 -0
- package/src/engine-components/web/ScrollFollow.ts +2 -0
- package/src/engine-components/web/ViewBox.ts +1 -0
- package/src/engine-components/webxr/Avatar.ts +5 -0
- package/src/engine-components/webxr/WebARCameraBackground.ts +1 -0
- package/src/engine-components/webxr/WebARSessionRoot.ts +1 -0
- package/src/engine-components/webxr/WebXR.ts +1 -1
- package/src/engine-components/webxr/controllers/XRControllerFollow.ts +1 -0
- package/src/engine-components/webxr/controllers/XRControllerModel.ts +4 -0
- package/src/engine-components/webxr/controllers/XRControllerMovement.ts +1 -0
- package/src/engine-components-experimental/networking/PlayerSync.ts +2 -0
package/dist/needle-engine.d.ts
CHANGED
|
@@ -220,6 +220,15 @@ export declare class Addressables {
|
|
|
220
220
|
/**[documentation](https://developer.apple.com/documentation/arkit/usdz_schemas_for_ar/preliminary_anchoringapi/preliminary_planeanchoring_alignment) */
|
|
221
221
|
declare type Alignment = "horizontal" | "vertical" | "any";
|
|
222
222
|
|
|
223
|
+
/**
|
|
224
|
+
* Aligns this GameObject between two other GameObjects, scaling it to fit the distance.
|
|
225
|
+
* You can use this to create dynamic beams or connectors between objects.
|
|
226
|
+
*
|
|
227
|
+
* @summary Aligns and scales the object between two target GameObjects
|
|
228
|
+
* @category Utility
|
|
229
|
+
* @group Components
|
|
230
|
+
|
|
231
|
+
**/
|
|
223
232
|
export declare class AlignmentConstraint extends Component {
|
|
224
233
|
private from;
|
|
225
234
|
private to;
|
|
@@ -1162,6 +1171,9 @@ export declare class AssetReference {
|
|
|
1162
1171
|
* attractor.strength = 5; // positive value to attract
|
|
1163
1172
|
* attractor.radius = 10; // only attract within 10 units
|
|
1164
1173
|
* attractor.targets.push(rigidbody); // add the Rigidbody to be attracted
|
|
1174
|
+
* @summary Attract Rigidbodies towards the position of this component
|
|
1175
|
+
* @category Physics
|
|
1176
|
+
* @group Components
|
|
1165
1177
|
*/
|
|
1166
1178
|
export declare class Attractor extends Component {
|
|
1167
1179
|
strength: number;
|
|
@@ -1197,6 +1209,8 @@ export declare class AudioExtension implements IUSDExporterExtension {
|
|
|
1197
1209
|
* AudioListener represents a listener that can hear audio sources in the scene.
|
|
1198
1210
|
* This component creates and manages a Three.js {@link three#AudioListener}, automatically connecting it
|
|
1199
1211
|
* to the main camera or a Camera in the parent hierarchy.
|
|
1212
|
+
*
|
|
1213
|
+
* @summary Audio listener for 3D audio capture
|
|
1200
1214
|
* @category Multimedia
|
|
1201
1215
|
* @group Components
|
|
1202
1216
|
*/
|
|
@@ -1252,6 +1266,7 @@ declare enum AudioRolloffMode {
|
|
|
1252
1266
|
* is muted, the volume is set to 0. When unmuted, the volume
|
|
1253
1267
|
* returns to its previous value.
|
|
1254
1268
|
*
|
|
1269
|
+
* @summary 3D audio source with spatial positioning and playback controls
|
|
1255
1270
|
* @category Multimedia
|
|
1256
1271
|
* @group Components
|
|
1257
1272
|
*/
|
|
@@ -1458,6 +1473,11 @@ export declare class AudioTrackHandler extends TrackHandler {
|
|
|
1458
1473
|
/* Excluded from this release type: AuralMode */
|
|
1459
1474
|
|
|
1460
1475
|
/**
|
|
1476
|
+
* Avatar component to setup a WebXR avatar with head and hand objects.
|
|
1477
|
+
*
|
|
1478
|
+
* The avatar will automatically synchronize the head and hand objects with the XR rig when entering an XR session.
|
|
1479
|
+
*
|
|
1480
|
+
* @summary WebXR Avatar component for head and hands synchronization
|
|
1461
1481
|
* @category XR
|
|
1462
1482
|
* @category Networking
|
|
1463
1483
|
* @group Components
|
|
@@ -1608,6 +1628,8 @@ export declare enum Axes {
|
|
|
1608
1628
|
/**
|
|
1609
1629
|
* Component that visualizes the axes of an object in the scene.
|
|
1610
1630
|
* Renders colored lines representing the X (red), Y (green) and Z (blue) axes.
|
|
1631
|
+
*
|
|
1632
|
+
* @summary Visualizes object axes in the scene
|
|
1611
1633
|
* @category Helpers
|
|
1612
1634
|
* @group Components
|
|
1613
1635
|
*/
|
|
@@ -1812,6 +1834,7 @@ export declare namespace BlobStorage {
|
|
|
1812
1834
|
* volume.add(bloom);
|
|
1813
1835
|
* ```
|
|
1814
1836
|
*
|
|
1837
|
+
* @summary Bloom Post-Processing Effect
|
|
1815
1838
|
* @category Effects
|
|
1816
1839
|
* @group Components
|
|
1817
1840
|
*/
|
|
@@ -1959,6 +1982,10 @@ export declare const BUILD_TIME: string;
|
|
|
1959
1982
|
export declare const builtinComponentKeyName = "builtin_components";
|
|
1960
1983
|
|
|
1961
1984
|
/**
|
|
1985
|
+
* Button is a UI component that can be clicked by the user to perform an action.
|
|
1986
|
+
* It supports different visual states such as normal, highlighted, pressed, and disabled.
|
|
1987
|
+
* You can customize the button's appearance using colors or animations for each state.
|
|
1988
|
+
* @summary Button UI Component
|
|
1962
1989
|
* @category User Interface
|
|
1963
1990
|
* @group Components
|
|
1964
1991
|
*/
|
|
@@ -2127,6 +2154,7 @@ export declare class CallInfo {
|
|
|
2127
2154
|
* Supports both perspective and orthographic cameras with various rendering options.
|
|
2128
2155
|
* Internally, this component uses {@link PerspectiveCamera} and {@link OrthographicCamera} three.js objects.
|
|
2129
2156
|
*
|
|
2157
|
+
* @summary Camera rendering scenes from a specific viewpoint
|
|
2130
2158
|
* @category Camera
|
|
2131
2159
|
* @group Components
|
|
2132
2160
|
*/
|
|
@@ -2340,6 +2368,11 @@ export declare class CameraTargetReachedEvent extends CustomEvent<{
|
|
|
2340
2368
|
}
|
|
2341
2369
|
|
|
2342
2370
|
/**
|
|
2371
|
+
* Canvas is the root component for all UI elements in a scene.
|
|
2372
|
+
* It defines the area where UI elements are rendered and manages their layout and rendering settings.
|
|
2373
|
+
* Canvases can be set to render in world space or screen space (overlay or camera).
|
|
2374
|
+
* Multiple canvases can exist in a scene, each with its own settings and hierarchy of UI elements.
|
|
2375
|
+
* @summary Canvas UI Component
|
|
2343
2376
|
* @category User Interface
|
|
2344
2377
|
* @group Components
|
|
2345
2378
|
*/
|
|
@@ -2405,6 +2438,10 @@ export declare class Canvas extends UIRootComponent implements ICanvas {
|
|
|
2405
2438
|
}
|
|
2406
2439
|
|
|
2407
2440
|
/**
|
|
2441
|
+
* CanvasGroup is a UI component that allows you to control the transparency and interactivity of a group of UI elements.
|
|
2442
|
+
* By adjusting the alpha property, you can fade in or out all child UI elements simultaneously.
|
|
2443
|
+
* The interactable and blocksRaycasts properties let you enable or disable user interaction for the entire group.
|
|
2444
|
+
* @summary CanvasGroup UI Component
|
|
2408
2445
|
* @category User Interface
|
|
2409
2446
|
* @group Components
|
|
2410
2447
|
*/
|
|
@@ -2453,6 +2490,8 @@ export declare class CapsuleCollider extends Collider {
|
|
|
2453
2490
|
}
|
|
2454
2491
|
|
|
2455
2492
|
/**
|
|
2493
|
+
* Change the material of objects when clicked.
|
|
2494
|
+
* @summary Changes the material of objects when clicked
|
|
2456
2495
|
* @category Everywhere Actions
|
|
2457
2496
|
* @group Components
|
|
2458
2497
|
*/
|
|
@@ -2492,6 +2531,8 @@ export declare class ChangeMaterialOnClick extends Component implements IPointer
|
|
|
2492
2531
|
}
|
|
2493
2532
|
|
|
2494
2533
|
/**
|
|
2534
|
+
* Make the object move to the target object's transform when clicked.
|
|
2535
|
+
* @summary Moves an object to a target transform upon click
|
|
2495
2536
|
* @category Everywhere Actions
|
|
2496
2537
|
* @group Components
|
|
2497
2538
|
*/
|
|
@@ -2514,7 +2555,10 @@ export declare class ChangeTransformOnClick extends Component implements IPointe
|
|
|
2514
2555
|
}
|
|
2515
2556
|
|
|
2516
2557
|
/**
|
|
2517
|
-
*
|
|
2558
|
+
* CharacterController adds a capsule collider and rigidbody to the object, constrains rotation, and provides movement and grounded state.
|
|
2559
|
+
* It is designed for typical character movement in 3D environments.
|
|
2560
|
+
* @summary Character Movement Controller
|
|
2561
|
+
* @category Character
|
|
2518
2562
|
* @group Components
|
|
2519
2563
|
*/
|
|
2520
2564
|
export declare class CharacterController extends Component {
|
|
@@ -2566,6 +2610,10 @@ export declare class CharacterControllerInput extends Component {
|
|
|
2566
2610
|
}
|
|
2567
2611
|
|
|
2568
2612
|
/**
|
|
2613
|
+
* Chromatic Aberration effect simulates the color fringing effect seen in real-world cameras.
|
|
2614
|
+
* It offsets the red, green, and blue color channels to create a distorted, colorful edge around objects.
|
|
2615
|
+
* This effect can enhance the visual appeal of scenes by adding a subtle or pronounced chromatic distortion.
|
|
2616
|
+
* @summary Chromatic Aberration Post-Processing Effect
|
|
2569
2617
|
* @category Effects
|
|
2570
2618
|
* @group Components
|
|
2571
2619
|
*/
|
|
@@ -2631,7 +2679,7 @@ export { clearMessages as clearOverlayMessages }
|
|
|
2631
2679
|
* - Alternatively, add the `clickthrough` attribute to the `<needle-engine>` HTML element (e.g. `<needle-engine clickthrough></needle-engine>`).
|
|
2632
2680
|
*
|
|
2633
2681
|
* - Example https://stackblitz.com/~/github.com/needle-engine/sample-3d-over-html
|
|
2634
|
-
*
|
|
2682
|
+
* @summary Allows pointer events to "click through" the 3D canvas to HTML elements behind it.
|
|
2635
2683
|
* @category Web
|
|
2636
2684
|
* @group Components
|
|
2637
2685
|
* @component
|
|
@@ -2772,6 +2820,9 @@ declare type Color4 = {
|
|
|
2772
2820
|
};
|
|
2773
2821
|
|
|
2774
2822
|
/**
|
|
2823
|
+
* Color Adjustments effect allows you to modify the overall color properties of the rendered scene, including post-exposure, contrast, hue shift, and saturation.
|
|
2824
|
+
* These adjustments can be used to enhance the visual aesthetics of the scene or to achieve specific artistic effects.
|
|
2825
|
+
* @summary Color Adjustments Post-Processing Effect
|
|
2775
2826
|
* @category Effects
|
|
2776
2827
|
* @group Components
|
|
2777
2828
|
*/
|
|
@@ -4006,6 +4057,7 @@ export declare function createMotion(name: string, id?: InstantiateIdProvider):
|
|
|
4006
4057
|
*
|
|
4007
4058
|
* - Example: [Look At Cursor sample](https://engine.needle.tools/samples/look-at-cursor-interactive-3d-header/). This sample combines the CursorFollow component with a LookAt component to create an interactive 3D header that looks at the cursor.
|
|
4008
4059
|
*
|
|
4060
|
+
* @summary Makes the object follow the cursor position on screen
|
|
4009
4061
|
* @category Web
|
|
4010
4062
|
* @group Components
|
|
4011
4063
|
* @component
|
|
@@ -4159,6 +4211,8 @@ export declare class Deletable extends Component {
|
|
|
4159
4211
|
|
|
4160
4212
|
/**
|
|
4161
4213
|
* A box-shaped area that can be used to delete objects that get into it. Useful for sandbox-style builders or physics simulations.
|
|
4214
|
+
*
|
|
4215
|
+
* @summary Box area that deletes objects entering it
|
|
4162
4216
|
* @category Interactivity
|
|
4163
4217
|
* @group Components
|
|
4164
4218
|
*/
|
|
@@ -4169,6 +4223,10 @@ export declare class DeleteBox extends BoxHelperComponent {
|
|
|
4169
4223
|
}
|
|
4170
4224
|
|
|
4171
4225
|
/**
|
|
4226
|
+
* Depth of Field effect simulates the focusing behavior of real-world cameras by blurring objects that are outside the focal plane.
|
|
4227
|
+
* This effect enhances the sense of depth in a scene by mimicking how cameras focus on subjects at varying distances, creating a more immersive visual experience.
|
|
4228
|
+
* It can be adjusted to achieve different artistic effects, from subtle background blurring to pronounced bokeh effects.
|
|
4229
|
+
* @summary Depth of Field Post-Processing Effect
|
|
4172
4230
|
* @category Effects
|
|
4173
4231
|
* @group Components
|
|
4174
4232
|
*/
|
|
@@ -4201,6 +4259,10 @@ export declare function destroyComponentInstance(componentInstance: IComponent):
|
|
|
4201
4259
|
export declare function determineMimeTypeFromExtension(name: string): NeedleMimetype | null;
|
|
4202
4260
|
|
|
4203
4261
|
/**
|
|
4262
|
+
* Enables or disables the GameObject based on the device type (mobile or desktop).
|
|
4263
|
+
* You can use this to show or hide objects depending on whether the user is on a mobile device or a desktop.
|
|
4264
|
+
*
|
|
4265
|
+
* @summary Show or hide GameObject based on device type
|
|
4204
4266
|
* @category Utilities
|
|
4205
4267
|
* @group Components
|
|
4206
4268
|
*/
|
|
@@ -4283,6 +4345,7 @@ export declare class DocumentExtension implements IUSDExporterExtension {
|
|
|
4283
4345
|
* DragControls allows you to drag objects around in the scene. It can be used to move objects in 2D (screen space) or 3D (world space).
|
|
4284
4346
|
* Debug mode can be enabled with the URL parameter `?debugdrag`, which shows visual helpers and logs drag operations.
|
|
4285
4347
|
*
|
|
4348
|
+
* @summary Enables dragging of objects in 2D or 3D space
|
|
4286
4349
|
* @category Interactivity
|
|
4287
4350
|
* @group Components
|
|
4288
4351
|
*/
|
|
@@ -4444,6 +4507,7 @@ export declare enum DragMode {
|
|
|
4444
4507
|
* });
|
|
4445
4508
|
* ```
|
|
4446
4509
|
*
|
|
4510
|
+
* @summary Component to handle drag and drop of files into the scene
|
|
4447
4511
|
* @category Asset Management
|
|
4448
4512
|
* @group Components
|
|
4449
4513
|
*/
|
|
@@ -4623,6 +4687,7 @@ export declare type DropListenerOnDropArguments = {
|
|
|
4623
4687
|
/**
|
|
4624
4688
|
* The Duplicatable component is used to duplicate a assigned {@link GameObject} when a pointer event occurs on the object.
|
|
4625
4689
|
*
|
|
4690
|
+
* @summary Duplicates a GameObject on pointer events
|
|
4626
4691
|
* @category Interactivity
|
|
4627
4692
|
* @group Components
|
|
4628
4693
|
*/
|
|
@@ -4661,6 +4726,7 @@ export declare const editorGuidKeyName = "needle_editor_guid";
|
|
|
4661
4726
|
export declare type EffectProviderResult = Effect | Pass | Array<Effect | Pass>;
|
|
4662
4727
|
|
|
4663
4728
|
/**
|
|
4729
|
+
*
|
|
4664
4730
|
* @category Effects
|
|
4665
4731
|
* @group Components
|
|
4666
4732
|
*/
|
|
@@ -4688,6 +4754,8 @@ export declare class EmissionModule {
|
|
|
4688
4754
|
/* Excluded from this release type: EmphasizeActionMotionType */
|
|
4689
4755
|
|
|
4690
4756
|
/**
|
|
4757
|
+
* Emphasize the target object when clicked.
|
|
4758
|
+
* @summary Emphasizes the target object when clicked
|
|
4691
4759
|
* @category Everywhere Actions
|
|
4692
4760
|
* @group Components
|
|
4693
4761
|
*/
|
|
@@ -4807,6 +4875,8 @@ declare class EventListSerializer extends TypeSerializer {
|
|
|
4807
4875
|
export declare const eventListSerializer: EventListSerializer;
|
|
4808
4876
|
|
|
4809
4877
|
/**
|
|
4878
|
+
* The EventSystem is responsible for managing and dispatching input events to UI components within the scene.
|
|
4879
|
+
* @summary UI Input Event System
|
|
4810
4880
|
* @category User Interface
|
|
4811
4881
|
* @group Components
|
|
4812
4882
|
*/
|
|
@@ -4922,6 +4992,8 @@ export declare class EventSystem extends Component {
|
|
|
4922
4992
|
/**
|
|
4923
4993
|
* The EventTrigger component is used to trigger events when certain pointer events occur on the GameObject.
|
|
4924
4994
|
* It implements the {@link IPointerEventHandler} interface and can be used to expose events to the user in the editor without writing code.
|
|
4995
|
+
*
|
|
4996
|
+
* @summary Triggers events on pointer interactions
|
|
4925
4997
|
* @category Interactivity
|
|
4926
4998
|
* @group Components
|
|
4927
4999
|
*/
|
|
@@ -6120,6 +6192,8 @@ export declare class Graphics {
|
|
|
6120
6192
|
|
|
6121
6193
|
/**
|
|
6122
6194
|
* GridHelper is a component that allows to display a grid in the scene.
|
|
6195
|
+
*
|
|
6196
|
+
* @example Display a grid in the scene
|
|
6123
6197
|
* @category Helpers
|
|
6124
6198
|
* @group Components
|
|
6125
6199
|
*/
|
|
@@ -6148,6 +6222,7 @@ export declare class GridLayoutGroup extends LayoutGroup {
|
|
|
6148
6222
|
*
|
|
6149
6223
|
* - Example https://engine.needle.tools/samples/ground-projection
|
|
6150
6224
|
*
|
|
6225
|
+
* @summary Projects the environment map onto the ground
|
|
6151
6226
|
* @category Rendering
|
|
6152
6227
|
* @group Components
|
|
6153
6228
|
*/
|
|
@@ -6246,6 +6321,8 @@ export declare enum HideFlags {
|
|
|
6246
6321
|
}
|
|
6247
6322
|
|
|
6248
6323
|
/**
|
|
6324
|
+
* Hides the object on scene start.
|
|
6325
|
+
* @summary Hides the object on scene start
|
|
6249
6326
|
* @category Everywhere Actions
|
|
6250
6327
|
* @group Components
|
|
6251
6328
|
*/
|
|
@@ -6309,6 +6386,7 @@ declare enum HorizontalWrapMode {
|
|
|
6309
6386
|
*
|
|
6310
6387
|
* By default, a simple scale-up animation is used. You can customize the hover and idle animations by providing your own animation clips.
|
|
6311
6388
|
*
|
|
6389
|
+
* @summary Hover Animation on Pointer Enter/Exit
|
|
6312
6390
|
* @category Web
|
|
6313
6391
|
* @group Components
|
|
6314
6392
|
*/
|
|
@@ -6617,6 +6695,10 @@ declare interface ILightDataRegistry {
|
|
|
6617
6695
|
/* Excluded from this release type: ILoadingViewHandler */
|
|
6618
6696
|
|
|
6619
6697
|
/**
|
|
6698
|
+
* Image is a UI component that displays a sprite (2D image) in the user interface.
|
|
6699
|
+
* You can set the image property to assign a texture to be displayed.
|
|
6700
|
+
* The sprite can be customized with various properties such as color tinting and pixel density.
|
|
6701
|
+
* @summary Image UI Component
|
|
6620
6702
|
* @category User Interface
|
|
6621
6703
|
* @group Components
|
|
6622
6704
|
*/
|
|
@@ -7016,6 +7098,10 @@ export declare const enum InputEvents {
|
|
|
7016
7098
|
}
|
|
7017
7099
|
|
|
7018
7100
|
/**
|
|
7101
|
+
* InputField is a UI component that allows users to enter and edit text.
|
|
7102
|
+
* It provides a text input area where users can type, delete, and modify text.
|
|
7103
|
+
* The InputField supports placeholder text, events for value changes, and end edit actions.
|
|
7104
|
+
* @summary Text Input Field UI Component
|
|
7019
7105
|
* @category User Interface
|
|
7020
7106
|
* @group Components
|
|
7021
7107
|
*/
|
|
@@ -8000,6 +8086,7 @@ declare type LifecycleMethodOptions = {
|
|
|
8000
8086
|
* Debug mode can be enabled with the URL parameter `?debuglights`, which shows
|
|
8001
8087
|
* additional console output and visual helpers for lights.
|
|
8002
8088
|
*
|
|
8089
|
+
* @summary Light component for various light types and shadow settings
|
|
8003
8090
|
* @category Rendering
|
|
8004
8091
|
* @group Components
|
|
8005
8092
|
*/
|
|
@@ -8265,6 +8352,8 @@ declare enum LODFadeMode {
|
|
|
8265
8352
|
|
|
8266
8353
|
/**
|
|
8267
8354
|
* LODGroup allows to create a group of LOD levels for an object.
|
|
8355
|
+
*
|
|
8356
|
+
* @summary Level of Detail (LOD) Group Component
|
|
8268
8357
|
* @category Rendering
|
|
8269
8358
|
* @group Components
|
|
8270
8359
|
*/
|
|
@@ -8337,6 +8426,7 @@ export declare enum LogType {
|
|
|
8337
8426
|
* LookAt behaviour makes the object look at a target object or the camera.
|
|
8338
8427
|
* It can also invert the forward direction and keep the up direction.
|
|
8339
8428
|
*
|
|
8429
|
+
* @summary Makes the object look at a target object or the camera
|
|
8340
8430
|
* @category Interactivity, Everywhere Actions
|
|
8341
8431
|
* @group Components
|
|
8342
8432
|
*/
|
|
@@ -8366,6 +8456,7 @@ export declare class LookAt extends Component implements UsdzBehaviour {
|
|
|
8366
8456
|
* A LookAtConstraint is used by OrbitControls to make the camera look at a target.
|
|
8367
8457
|
* This component is used by {@link OrbitControls} internally.
|
|
8368
8458
|
*
|
|
8459
|
+
* @summary Look At Constraint for OrbitControls
|
|
8369
8460
|
* @category Camera Controls
|
|
8370
8461
|
* @group Components
|
|
8371
8462
|
*/
|
|
@@ -9015,6 +9106,7 @@ declare class NeedleGamepadButton {
|
|
|
9015
9106
|
* Controls display options, button visibility, and menu positioning.
|
|
9016
9107
|
* From code, you can access the menu via {@link Context.menu}.
|
|
9017
9108
|
*
|
|
9109
|
+
* @summary Configuration component for the Needle Menu
|
|
9018
9110
|
* @category User Interface
|
|
9019
9111
|
* @group Components
|
|
9020
9112
|
**/
|
|
@@ -9873,6 +9965,7 @@ export declare type NEPointerEventIntersection = Intersection & {
|
|
|
9873
9965
|
/** The nested gltf is a component that is used to load a gltf file when the component becomes active (start)
|
|
9874
9966
|
* It will load the gltf file and instantiate it as a child of the parent of the GameObject that has this component
|
|
9875
9967
|
*
|
|
9968
|
+
* @summary Loads and instantiates a nested glTF file
|
|
9876
9969
|
* @category Asset Management
|
|
9877
9970
|
* @group Components
|
|
9878
9971
|
*/
|
|
@@ -10110,6 +10203,7 @@ export declare class NetworkedStreams extends EventDispatcher<any> {
|
|
|
10110
10203
|
* This component supplies websocket URLs for establishing connections.
|
|
10111
10204
|
* It implements the {@link INetworkingWebsocketUrlProvider} interface.
|
|
10112
10205
|
*
|
|
10206
|
+
* @summary Networking configuration component
|
|
10113
10207
|
* @category Networking
|
|
10114
10208
|
* @group Components
|
|
10115
10209
|
*/
|
|
@@ -10354,6 +10448,13 @@ export declare class ObjectUtils {
|
|
|
10354
10448
|
|
|
10355
10449
|
/* Excluded from this release type: OffscreenCanvasExt */
|
|
10356
10450
|
|
|
10451
|
+
/**
|
|
10452
|
+
* OffsetConstraint component allows an object to maintain a specified positional and rotational offset
|
|
10453
|
+
* relative to another object, with options for alignment and leveling.
|
|
10454
|
+
* @summary Maintains positional and rotational offset relative to another object
|
|
10455
|
+
* @category Constraints
|
|
10456
|
+
* @group Components
|
|
10457
|
+
*/
|
|
10357
10458
|
export declare class OffsetConstraint extends Component {
|
|
10358
10459
|
private referenceSpace;
|
|
10359
10460
|
private from;
|
|
@@ -10631,6 +10732,7 @@ declare enum OpenURLMode {
|
|
|
10631
10732
|
/** The OrbitControls component is used to control a camera using the [OrbitControls from three.js](https://threejs.org/docs/#examples/en/controls/OrbitControls) library.
|
|
10632
10733
|
* The three OrbitControls object can be accessed via the `controls` property.
|
|
10633
10734
|
* The object being controlled by the OrbitControls (usually the camera) can be accessed via the `controllerObject` property.
|
|
10735
|
+
* @summary Camera controller using three.js OrbitControls
|
|
10634
10736
|
* @category Camera
|
|
10635
10737
|
* @group Components
|
|
10636
10738
|
*/
|
|
@@ -10904,6 +11006,13 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
10904
11006
|
immediate?: boolean;
|
|
10905
11007
|
};
|
|
10906
11008
|
|
|
11009
|
+
/**
|
|
11010
|
+
* Outline is a UI component that adds an outline effect to UI elements.
|
|
11011
|
+
* You can customize the outline color and distance to create a visual border around the UI element.
|
|
11012
|
+
* @summary Outline UI Component
|
|
11013
|
+
* @category User Interface
|
|
11014
|
+
* @group Components
|
|
11015
|
+
*/
|
|
10907
11016
|
export declare class Outline extends Component {
|
|
10908
11017
|
effectColor?: RGBAColor;
|
|
10909
11018
|
effectDistance?: Vector2;
|
|
@@ -11042,6 +11151,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
11042
11151
|
*
|
|
11043
11152
|
* Needle Engine uses [three.quarks](https://github.com/Alchemist0823/three.quarks) under the hood to handle particles.
|
|
11044
11153
|
*
|
|
11154
|
+
* @summary Particle System
|
|
11045
11155
|
* @category Rendering
|
|
11046
11156
|
* @group Components
|
|
11047
11157
|
*/
|
|
@@ -11412,6 +11522,9 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
11412
11522
|
}
|
|
11413
11523
|
|
|
11414
11524
|
/**
|
|
11525
|
+
* Pixelation effect simulates a pixelated look by enlarging pixels in the rendered scene.
|
|
11526
|
+
* This effect can be used to achieve a retro or stylized visual aesthetic, reminiscent of early video games or low-resolution graphics.
|
|
11527
|
+
* @summary Pixelation Post-Processing Effect
|
|
11415
11528
|
* @category Effects
|
|
11416
11529
|
* @group Components
|
|
11417
11530
|
*/
|
|
@@ -11441,6 +11554,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
11441
11554
|
* The PlayableDirector component is the main component to control timelines in needle engine.
|
|
11442
11555
|
* It is used to play, pause, stop and evaluate timelines.
|
|
11443
11556
|
* Assign a TimelineAsset to the `playableAsset` property to start playing a timeline.
|
|
11557
|
+
* @summary Controls and plays TimelineAssets
|
|
11444
11558
|
* @category Animation and Sequencing
|
|
11445
11559
|
* @group Components
|
|
11446
11560
|
*/
|
|
@@ -11581,6 +11695,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
11581
11695
|
/* Excluded from this release type: PlayAction */
|
|
11582
11696
|
|
|
11583
11697
|
/**
|
|
11698
|
+
* Plays an animation when clicked.
|
|
11699
|
+
* @summary Plays an animation when clicked
|
|
11584
11700
|
* @category Everywhere Actions
|
|
11585
11701
|
* @group Components
|
|
11586
11702
|
*/
|
|
@@ -11614,6 +11730,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
11614
11730
|
}
|
|
11615
11731
|
|
|
11616
11732
|
/**
|
|
11733
|
+
* Plays an audio clip when clicked.
|
|
11734
|
+
* @summary Plays an audio clip when clicked
|
|
11617
11735
|
* @category Everywhere Actions
|
|
11618
11736
|
* @group Components
|
|
11619
11737
|
*/
|
|
@@ -11633,6 +11751,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
11633
11751
|
/**
|
|
11634
11752
|
* PlayerColor assigns a unique color for each user in the room to the object it is attached to.
|
|
11635
11753
|
* The color is generated based on the user's ID.
|
|
11754
|
+
*
|
|
11755
|
+
* @summary Assigns a unique color to the player object
|
|
11636
11756
|
* @category Networking
|
|
11637
11757
|
* @group Components
|
|
11638
11758
|
*/
|
|
@@ -11747,7 +11867,9 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
11747
11867
|
/**
|
|
11748
11868
|
* This component instantiates an asset for each player that joins a networked room. The asset will be destroyed when the player leaves the room.
|
|
11749
11869
|
* The asset should have a PlayerState component, and can have other components like SyncedTransform, custom components, etc.
|
|
11870
|
+
* @summary Instantiates and manages player assets in a networked room
|
|
11750
11871
|
* @category Networking
|
|
11872
|
+
* @group Components
|
|
11751
11873
|
*/
|
|
11752
11874
|
export declare class PlayerSync extends Component {
|
|
11753
11875
|
/**
|
|
@@ -12588,6 +12710,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
12588
12710
|
*
|
|
12589
12711
|
* - Sample: http://samples.needle.tools/reflection-probes
|
|
12590
12712
|
*
|
|
12713
|
+
* @summary Provides reflection data to materials
|
|
12591
12714
|
* @category Rendering
|
|
12592
12715
|
* @group Components
|
|
12593
12716
|
*/
|
|
@@ -12697,6 +12820,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
12697
12820
|
* skybox.setSkybox("https://example.com/skybox.hdr");
|
|
12698
12821
|
* ```
|
|
12699
12822
|
*
|
|
12823
|
+
* @summary Sets the skybox or environment texture of a scene
|
|
12700
12824
|
* @category Rendering
|
|
12701
12825
|
* @group Components
|
|
12702
12826
|
*/
|
|
@@ -13041,6 +13165,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
13041
13165
|
* - Example: https://samples.needle.tools/physics-playground
|
|
13042
13166
|
* - Example: https://samples.needle.tools/physics-&-animation
|
|
13043
13167
|
*
|
|
13168
|
+
* @summary Rigidbody for physical interactions
|
|
13044
13169
|
* @category Physics
|
|
13045
13170
|
* @group Components
|
|
13046
13171
|
*/
|
|
@@ -13340,6 +13465,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
13340
13465
|
* });
|
|
13341
13466
|
* ```
|
|
13342
13467
|
*
|
|
13468
|
+
* @summary Dynamically loads and switches between multiple scenes
|
|
13343
13469
|
* @category Asset Management
|
|
13344
13470
|
* @group Components
|
|
13345
13471
|
*/
|
|
@@ -13549,6 +13675,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
13549
13675
|
* By default the component will start sharing the screen when the user clicks on the object this component is attached to. You can set {@link device} This behaviour can be disabled by setting `allowStartOnClick` to false.
|
|
13550
13676
|
* It is also possible to start the stream manually from your code by calling the {@link share} method.
|
|
13551
13677
|
*
|
|
13678
|
+
* @summary Share screen, camera or microphone in a networked room
|
|
13552
13679
|
* @category Networking
|
|
13553
13680
|
* @group Components
|
|
13554
13681
|
*/
|
|
@@ -13829,6 +13956,10 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
13829
13956
|
}
|
|
13830
13957
|
|
|
13831
13958
|
/** Screen Space Ambient Occlusion (SSAO) effect.
|
|
13959
|
+
* Ambient Occlusion is a shading method used to calculate how exposed each point in a scene is to ambient lighting.
|
|
13960
|
+
* The effect enhances the depth and realism of 3D scenes by simulating the soft shadows that occur in crevices, corners, and areas where objects are close to each other.
|
|
13961
|
+
* This implementation uses the N8AO library to provide high-quality SSAO with various quality settings.
|
|
13962
|
+
* @summary Screen Space Ambient Occlusion (SSAO) Post-Processing Effect
|
|
13832
13963
|
* @category Effects
|
|
13833
13964
|
* @group Components
|
|
13834
13965
|
* @link [N8AO documentation](https://github.com/N8python/n8ao)
|
|
@@ -13899,6 +14030,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
13899
14030
|
|
|
13900
14031
|
/**
|
|
13901
14032
|
* The ScrollFollow component allows you to link the scroll position of the page (or a specific element) to one or more target objects.
|
|
14033
|
+
|
|
13902
14034
|
* This can be used to create scroll-based animations, audio playback, or other effects. For example you can link the scroll position to a timeline (PlayableDirector) to create scroll-based storytelling effects or to an Animator component to change the animation state based on scroll.
|
|
13903
14035
|
*
|
|
13904
14036
|
* Assign {@link target} objects to the component to have them updated based on the current scroll position (check the 'target' property for supported types).
|
|
@@ -13925,6 +14057,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
13925
14057
|
* <div data-timeline-marker="1.0">End of Timeline</div>
|
|
13926
14058
|
* ```
|
|
13927
14059
|
*
|
|
14060
|
+
* @summary Links scroll position to target objects
|
|
13928
14061
|
* @category Web
|
|
13929
14062
|
* @group Components
|
|
13930
14063
|
* @component
|
|
@@ -14022,6 +14155,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14022
14155
|
*
|
|
14023
14156
|
* - Example https://see-through-walls-z23hmxbz1kjfjn.needle.run/
|
|
14024
14157
|
*
|
|
14158
|
+
* @summary Makes objects fade out when obscuring a reference point from the camera
|
|
14025
14159
|
* @category Rendering
|
|
14026
14160
|
* @group Components
|
|
14027
14161
|
*/
|
|
@@ -14140,6 +14274,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14140
14274
|
export declare function setActive(go: Object3D, active: boolean | number): boolean;
|
|
14141
14275
|
|
|
14142
14276
|
/**
|
|
14277
|
+
* Set the active state of an object when clicked.
|
|
14278
|
+
* @summary Sets the active state of an object when clicked
|
|
14143
14279
|
* @category Everywhere Actions
|
|
14144
14280
|
* @group Components
|
|
14145
14281
|
*/
|
|
@@ -14261,6 +14397,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14261
14397
|
* If the GameObject is a Mesh, it will apply a shadow-catching material to it - otherwise it will create a quad with the shadow-catching material.
|
|
14262
14398
|
*
|
|
14263
14399
|
* Note that ShadowCatcher meshes are not raycastable by default; if you want them to be raycastable, change the layers in `onEnable()`.
|
|
14400
|
+
*
|
|
14401
|
+
* @summary Renders shadows or light on the object
|
|
14264
14402
|
* @category Rendering
|
|
14265
14403
|
* @group Components
|
|
14266
14404
|
*/
|
|
@@ -14375,6 +14513,10 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14375
14513
|
}
|
|
14376
14514
|
|
|
14377
14515
|
/**
|
|
14516
|
+
* Sharpening effect enhances the details and edges in the rendered scene by increasing the contrast between adjacent pixels.
|
|
14517
|
+
* This effect can make textures and fine details appear clearer and more defined, improving the overall visual quality of the scene.
|
|
14518
|
+
* It is particularly useful in scenes where details may be lost due to blurriness or low resolution.
|
|
14519
|
+
* @summary Sharpening Post-Processing Effect
|
|
14378
14520
|
* @category Effects
|
|
14379
14521
|
* @group Components
|
|
14380
14522
|
*/
|
|
@@ -14422,6 +14564,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14422
14564
|
/** SignalReceiver is a component that listens for signals and invokes a reaction when a signal is received.
|
|
14423
14565
|
* Signals can be added to a signal track on a {@link PlayableDirector}
|
|
14424
14566
|
*
|
|
14567
|
+
* @summary Receives signals and invokes reactions
|
|
14425
14568
|
* @category Sequencing and Timelines
|
|
14426
14569
|
* @group Components
|
|
14427
14570
|
*/
|
|
@@ -14522,6 +14665,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14522
14665
|
/**
|
|
14523
14666
|
* SmoothFollow makes the {@link Object3D} (`GameObject`) smoothly follow another target {@link Object3D}.
|
|
14524
14667
|
* It can follow the target's position, rotation, or both.
|
|
14668
|
+
* @summary Smoothly follows a target object
|
|
14525
14669
|
* @category Interactivity
|
|
14526
14670
|
* @group Components
|
|
14527
14671
|
*/
|
|
@@ -14632,6 +14776,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14632
14776
|
/**
|
|
14633
14777
|
* Component that receives and responds to spatial events, like entering or exiting a trigger zone.
|
|
14634
14778
|
* Used in conjunction with {@link SpatialTrigger} to create interactive spatial events.
|
|
14779
|
+
* @summary Receives spatial trigger events
|
|
14635
14780
|
* @category Interactivity
|
|
14636
14781
|
* @group Components
|
|
14637
14782
|
*/
|
|
@@ -14676,6 +14821,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14676
14821
|
*
|
|
14677
14822
|
* Debug mode can be enabled with the URL parameter `?debugspectator`, which provides additional console output.
|
|
14678
14823
|
*
|
|
14824
|
+
* @summary Follow other users in a networked room
|
|
14679
14825
|
* @category Networking
|
|
14680
14826
|
* @group Components
|
|
14681
14827
|
*/
|
|
@@ -14829,6 +14975,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14829
14975
|
*
|
|
14830
14976
|
* You can create a SplineContainer from an array of points using the static method 'createFromPoints'.
|
|
14831
14977
|
*
|
|
14978
|
+
* @summary Holds spline data and generates a spline curve.
|
|
14832
14979
|
* @category Splines
|
|
14833
14980
|
* @group Components
|
|
14834
14981
|
*/
|
|
@@ -14902,6 +15049,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14902
15049
|
*
|
|
14903
15050
|
* - Example http://samples.needle.tools/splines
|
|
14904
15051
|
*
|
|
15052
|
+
* @summary Moves an object along a spline
|
|
14905
15053
|
* @category Splines
|
|
14906
15054
|
* @group Components
|
|
14907
15055
|
*/
|
|
@@ -14977,6 +15125,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
14977
15125
|
|
|
14978
15126
|
/**
|
|
14979
15127
|
* A sprite is a mesh that represents a 2D image. Used by the {@link SpriteRenderer} to render 2D images in the scene.
|
|
15128
|
+
* @summary 2D image renderer
|
|
14980
15129
|
* @category Rendering
|
|
14981
15130
|
* @group Components
|
|
14982
15131
|
*/
|
|
@@ -15204,6 +15353,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
15204
15353
|
/**
|
|
15205
15354
|
* SyncedCamera is a component that syncs the camera position and rotation of all users in the room.
|
|
15206
15355
|
* A prefab can be set to represent the remote cameras visually in the scene.
|
|
15356
|
+
*
|
|
15357
|
+
* @summary Syncs camera position and rotation of users in a networked room
|
|
15207
15358
|
* @category Networking
|
|
15208
15359
|
* @group Components
|
|
15209
15360
|
*/
|
|
@@ -15253,6 +15404,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
15253
15404
|
* myObject.addComponent(SyncedRoom, { joinRandomRoom: true, roomPrefix: "myApp_" });
|
|
15254
15405
|
* ```
|
|
15255
15406
|
*
|
|
15407
|
+
* @summary Joins a networked room based on URL parameters or a random room
|
|
15256
15408
|
* @category Networking
|
|
15257
15409
|
* @group Components
|
|
15258
15410
|
*/
|
|
@@ -15334,6 +15486,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
15334
15486
|
/**
|
|
15335
15487
|
* SyncedTransform synchronizes the position and rotation of a game object over the network.
|
|
15336
15488
|
* It handles ownership transfer, interpolation, and network state updates automatically.
|
|
15489
|
+
*
|
|
15490
|
+
* @summary Synchronizes object transform over the network with ownership management
|
|
15337
15491
|
* @category Networking
|
|
15338
15492
|
* @group Components
|
|
15339
15493
|
*/
|
|
@@ -15428,6 +15582,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
15428
15582
|
export declare type SyncInstantiateOptions = IInstantiateOptions & Pick<IModel, "deleteOnDisconnect">;
|
|
15429
15583
|
|
|
15430
15584
|
/**
|
|
15585
|
+
* Triggers an action when the object is tapped/clicked.
|
|
15586
|
+
* @summary Triggers an action when the object is tapped/clicked
|
|
15431
15587
|
* @category Everywhere Actions
|
|
15432
15588
|
* @group Components
|
|
15433
15589
|
*/
|
|
@@ -15475,6 +15631,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
15475
15631
|
/* Excluded from this release type: TestSimulateUserData */
|
|
15476
15632
|
|
|
15477
15633
|
/**
|
|
15634
|
+
* Text is a UI component that displays text in the user interface.
|
|
15478
15635
|
* @category User Interface
|
|
15479
15636
|
* @group Components
|
|
15480
15637
|
*/
|
|
@@ -15629,6 +15786,10 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
15629
15786
|
}
|
|
15630
15787
|
|
|
15631
15788
|
/**
|
|
15789
|
+
* Tilt Shift effect simulates a miniature scene by applying a selective focus blur to the rendered image.
|
|
15790
|
+
* This effect creates a shallow depth of field, making real-world scenes appear as if they are small-scale models.
|
|
15791
|
+
* It is often used in photography and cinematography to draw attention to specific areas of the scene while blurring out the rest.
|
|
15792
|
+
* @summary Tilt Shift Post-Processing Effect
|
|
15632
15793
|
* @category Effects
|
|
15633
15794
|
* @group Components
|
|
15634
15795
|
*/
|
|
@@ -15703,6 +15864,10 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
15703
15864
|
export declare type TonemappingAttributeOptions = "none" | "linear" | "neutral" | "agx";
|
|
15704
15865
|
|
|
15705
15866
|
/**
|
|
15867
|
+
* Tonemapping effect adjusts the brightness and contrast of the rendered scene to map high dynamic range (HDR) colors to a displayable range.
|
|
15868
|
+
* This effect is essential for achieving realistic lighting and color representation in 3D scenes, as it helps to preserve details in both bright and dark areas.
|
|
15869
|
+
* Various tonemapping algorithms can be applied to achieve different visual styles and effects.
|
|
15870
|
+
* @summary Tonemapping Post-Processing Effect
|
|
15706
15871
|
* @category Effects
|
|
15707
15872
|
* @group Components
|
|
15708
15873
|
*/
|
|
@@ -15855,6 +16020,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
15855
16020
|
/**
|
|
15856
16021
|
* TransformGizmo displays manipulation controls for translating, rotating, and scaling objects in the scene.
|
|
15857
16022
|
* It wraps three.js {@link TransformControls} and provides keyboard shortcuts for changing modes and settings.
|
|
16023
|
+
*
|
|
16024
|
+
* @summary Object manipulation gizmo for translating, rotating, and scaling
|
|
15858
16025
|
* @category Helpers
|
|
15859
16026
|
* @group Components
|
|
15860
16027
|
*/
|
|
@@ -16508,6 +16675,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
16508
16675
|
* playOnAwake: true,
|
|
16509
16676
|
* });
|
|
16510
16677
|
* ```
|
|
16678
|
+
* @summary Plays video clips from URLs or streams
|
|
16511
16679
|
* @category Multimedia
|
|
16512
16680
|
* @group Components
|
|
16513
16681
|
*/
|
|
@@ -16670,6 +16838,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
16670
16838
|
scene.add(viewBox);
|
|
16671
16839
|
* ```
|
|
16672
16840
|
|
|
16841
|
+
* @summary Automatically fits a box area into the camera view
|
|
16673
16842
|
* @category Camera
|
|
16674
16843
|
* @group Components
|
|
16675
16844
|
* @component
|
|
@@ -16721,6 +16890,10 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
16721
16890
|
}
|
|
16722
16891
|
|
|
16723
16892
|
/**
|
|
16893
|
+
* Vignette effect darkens the edges of the rendered scene to draw attention to the center.
|
|
16894
|
+
* This effect simulates the natural vignetting that occurs in photography and cinematography, where the corners of an image are darker than the center.
|
|
16895
|
+
* It can be used to enhance the visual focus on the main subject of the scene and create a more immersive viewing experience.
|
|
16896
|
+
* @summary Vignette Post-Processing Effect
|
|
16724
16897
|
* @category Effects
|
|
16725
16898
|
* @group Components
|
|
16726
16899
|
*/
|
|
@@ -16735,6 +16908,8 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
16735
16908
|
}
|
|
16736
16909
|
|
|
16737
16910
|
/**
|
|
16911
|
+
* Hides or shows the object when clicked.
|
|
16912
|
+
* @summary Hides or shows the object when clicked
|
|
16738
16913
|
* @category Everywhere Actions
|
|
16739
16914
|
* @group Components
|
|
16740
16915
|
*/
|
|
@@ -16757,6 +16932,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
16757
16932
|
/**
|
|
16758
16933
|
* The Voice over IP component (VoIP) allows you to send and receive audio streams to other users in the same networked room.
|
|
16759
16934
|
* It requires a networking connection to be working (e.g. by having an active SyncedRoom component in the scene or by connecting to a room manually).
|
|
16935
|
+
* @summary Voice over IP (VoIP) for networked audio communication
|
|
16760
16936
|
* @category Networking
|
|
16761
16937
|
* @group Components
|
|
16762
16938
|
*/
|
|
@@ -16841,6 +17017,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
16841
17017
|
* volume.addEffect(pixelation);
|
|
16842
17018
|
* ```
|
|
16843
17019
|
*
|
|
17020
|
+
* @summary Manage Post-Processing Effects
|
|
16844
17021
|
* @category Rendering
|
|
16845
17022
|
* @category Effects
|
|
16846
17023
|
* @group Components
|
|
@@ -16987,6 +17164,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
16987
17164
|
*
|
|
16988
17165
|
* - Example: https://samples.needle.tools/ar-camera-background
|
|
16989
17166
|
*
|
|
17167
|
+
* @summary Displays the camera feed as background in WebAR sessions
|
|
16990
17168
|
* @category XR
|
|
16991
17169
|
* @group Components
|
|
16992
17170
|
*/
|
|
@@ -17019,6 +17197,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
17019
17197
|
* });
|
|
17020
17198
|
* ```
|
|
17021
17199
|
*
|
|
17200
|
+
* @summary Root object for WebAR sessions, managing scene placement and user scaling in AR.
|
|
17022
17201
|
* @category XR
|
|
17023
17202
|
* @group Components
|
|
17024
17203
|
*/
|
|
@@ -17135,7 +17314,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
17135
17314
|
* });
|
|
17136
17315
|
* ```
|
|
17137
17316
|
*
|
|
17138
|
-
*
|
|
17317
|
+
* @summary WebXR Component for VR and AR support
|
|
17139
17318
|
* @category XR
|
|
17140
17319
|
* @group Components
|
|
17141
17320
|
*/
|
|
@@ -17586,6 +17765,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
17586
17765
|
* });
|
|
17587
17766
|
* ```
|
|
17588
17767
|
*
|
|
17768
|
+
* @summary Makes the object follow a specific XR controller or hand
|
|
17589
17769
|
* @category XR
|
|
17590
17770
|
* @group Components
|
|
17591
17771
|
* */
|
|
@@ -17631,6 +17811,10 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
17631
17811
|
* It automatically loads the appropriate model for the connected controller or hand.
|
|
17632
17812
|
*
|
|
17633
17813
|
* You can configure if controller models or hand models should be created.
|
|
17814
|
+
*
|
|
17815
|
+
* @summary Displays controller or hand models in XR
|
|
17816
|
+
* @category XR
|
|
17817
|
+
* @group Components
|
|
17634
17818
|
*/
|
|
17635
17819
|
export declare class XRControllerModel extends Component {
|
|
17636
17820
|
/**
|
|
@@ -17675,6 +17859,7 @@ export declare class OrbitControls extends Component implements ICameraControlle
|
|
|
17675
17859
|
* It also visualizes controller rays and hit points in the scene.
|
|
17676
17860
|
*
|
|
17677
17861
|
*
|
|
17862
|
+
* @summary Move the XR rig using controller input
|
|
17678
17863
|
* @category XR
|
|
17679
17864
|
* @group Components
|
|
17680
17865
|
*/
|