Needle Engine
  • README
  • Code Of Conduct
  • HOW TO
  • documentation
    • SUMMARY
    • _backlog-mermaid
    • _backlog
    • _meta-test
    • Automatic Component Generation
    • Needle Core Components
    • How To Debug
    • Deployment and Optimization
    • embedding
    • Everywhere Actions
    • Example Projects ✨
    • Exporting Assets, Animations, Prefabs, Materials, Lightmaps...
    • Questions and Answers (FAQ) 💡
    • Feature Overview
    • This page has been moved: continue here
    • getting-started
    • Frameworks, Bundlers, HTML
    • index
    • Additional Modules
    • Networking
    • Needle Engine Project Structure
    • Samples Projects
    • Scripting Examples
    • Creating and using Components
    • Live
    • Live
    • About
    • Live
    • Live
    • Live
    • Live
    • Support, Community & AI
    • Technical Overview
    • Testimonials
    • Testing on local devices
    • Using Needle Engine directly from HTML
    • vision
    • VR & AR (WebXR)
    • blender
      • Needle Engine for Blender
    • cloud
      • Needle Cloud
    • custom-integrations
      • index
    • getting-started
      • Scripting Introduction for Unity Developers
      • Getting Started & Installation
      • Scripting in Needle Engine
    • reference
      • needle.config.json
      • <needle-engine> Configuration
      • @serializable and other decorators
    • three
      • index
    • unity
      • Editor Sync
      • Needle Engine for Unity
    • lang
      • de
        • 404
        • SUMMARY
        • Automatische Komponenten-Generierung
        • Needle-Kernkomponenten
        • Debugging
        • Bereitstellung und Optimierung
        • embedding
        • Everywhere Actions
        • Beispielprojekte ✨
        • Assets, Animationen, Prefabs, Materialien, Lightmaps exportieren...
        • Fragen und Antworten (FAQ) 💡
        • Funktionsübersicht
        • Diese Seite wurde verschoben: hier fortfahren
        • getting-started
        • Frameworks, Bundler, HTML
        • index
        • Zusätzliche Module
        • Netzwerkfunktionen
        • Needle Engine Projektstruktur
        • Beispielprojekte
        • Scripting Beispiele
        • Erstellen und Verwenden von Komponenten
        • Live
        • Live
        • Über
        • Live
        • Live
        • Live
        • Live
        • Support und Community
        • Technischer Überblick
        • Erfahrungsberichte
        • Testen auf lokalen Geräten
        • Needle Engine direkt aus HTML verwenden
        • vision
        • VR & AR (WebXR)
        • blender
          • Needle Engine für Blender
        • cloud
          • Needle Cloud
        • custom-integrations
          • index
        • getting-started
          • Einführung in das Scripting für Unity-Entwickler
          • Erste Schritte & Installation
          • Scripting in Needle Engine
        • reference
          • needle.config.json
          • <needle-engine> Konfiguration
          • @serializable und andere Decorators
        • three
          • index
        • unity
          • Editor Synchronisierung
          • Needle Engine für Unity
      • es
        • SUMMARY
        • Generación Automática de Componentes
        • Componentes principales de Needle
        • Cómo Depurar
        • Despliegue y optimización
        • embedding
        • Acciones Everywhere
        • Proyectos de Ejemplo ✨
        • Exportación de Assets, Animaciones, Prefabs, Materiales, Lightmaps...
        • Preguntas Frecuentes (FAQ) 💡
        • Resumen de Características
        • Esta página ha sido movida: continúe aquí
        • getting-started
        • Frameworks, Bundlers, HTML
        • index
        • Módulos Adicionales
        • Redes
        • Estructura de Proyecto de Needle Engine
        • Proyectos de ejemplo
        • Ejemplos de scripting
        • Crear y usar Components
        • En vivo
        • En Vivo
        • Acerca de
        • En vivo
        • En vivo
        • En vivo
        • En vivo
        • Soporte y Comunidad
        • Resumen técnico
        • Testimonios
        • Testing on local devices
        • Usando Needle Engine directamente desde HTML
        • vision
        • VR & AR (WebXR)
        • blender
          • Needle Engine para Blender
        • cloud
          • Needle Cloud
        • custom-integrations
          • index
        • getting-started
          • Introducción al Scripting para Desarrolladores de Unity
          • Primeros pasos e instalación
          • Scripting in Needle Engine
        • reference
          • needle.config.json
          • Configuración de <needle-engine>
          • @serializable y otros decoradores
        • three
          • index
        • unity
          • Editor Sync
          • Needle Engine para Unity
      • fr
        • SUMMARY
        • Génération automatique de composants
        • Composants principaux de Needle
        • Comment déboguer
        • Déploiement et Optimisation
        • embedding
        • Everywhere Actions
        • Exemples de Projets ✨
        • Exporter des Assets, des Animations, des Prefabs, des Matériaux, des Lightmaps...
        • Questions et Réponses (FAQ) 💡
        • Aperçu des fonctionnalités
        • Cette page a été déplacée : continuez ici
        • getting-started
        • Frameworks, Bundlers, HTML
        • index
        • Modules supplémentaires
        • Réseau
        • Structure du projet Needle Engine
        • Projets d'exemples
        • Exemples de Scripting
        • Créer et utiliser des Components
        • showcase-bike
        • En direct
        • À propos
        • En direct
        • Jouer
        • En direct
        • En direct
        • Support et Communauté
        • Vue d'ensemble technique
        • Témoignages
        • Tester sur les appareils locaux
        • Utiliser Needle Engine directement depuis HTML
        • vision
        • VR & AR (WebXR)
        • blender
          • Needle Engine pour Blender
        • cloud
          • Needle Cloud
        • custom-integrations
          • index
        • getting-started
          • Introduction au Scripting pour les Développeurs Unity
          • Premiers pas et installation
          • Scripting in Needle Engine
        • reference
          • needle.config.json
          • <needle-engine> Configuration
          • @serializable et autres décorateurs
        • three
          • index
        • unity
          • Synchronisation de l'Editor (Editor Sync)
          • Needle Engine pour Unity
      • hi
        • SUMMARY
        • कंपोनेंट का स्वतः जनरेशन
        • नीडल कोर कंपोनेंट्स
        • How To Debug
        • Deployment and Optimization
        • embedding
        • Everywhere Actions
        • उदाहरण प्रोजेक्ट ✨
        • एसेट, एनिमेशन, प्रीफैब, मटेरियल, लाइटमैप्स... को एक्सपोर्ट करना
        • प्रश्न और उत्तर (FAQ) 💡
        • सुविधा अवलोकन
        • यह पृष्ठ स्थानांतरित कर दिया गया है: यहां जारी रखें
        • getting-started
        • Frameworks, Bundlers, HTML
        • index
        • अतिरिक्त मॉड्यूल
        • नेटवर्किंग
        • Needle Engine प्रोजेक्ट स्ट्रक्चर
        • samples-and-modules
        • स्क्रिप्टिंग उदाहरण
        • कंपोनेंट बनाना और उपयोग करना
        • लाइव
        • लाइव
        • परिचय
        • लाइव
        • लाइव
        • लाइव
        • लाइव
        • समर्थन और समुदाय
        • तकनीकी अवलोकन
        • प्रशंसापत्र
        • Testing on local devices
        • HTML से सीधे Needle Engine का उपयोग करना
        • vision
        • VR & AR (WebXR)
        • blender
          • Needle Engine for Blender
        • cloud
          • Needle Cloud
        • custom-integrations
          • index
        • getting-started
          • Unity डेवलपर्स के लिए स्क्रिप्टिंग परिचय
          • आरंभ करना और इंस्टॉलेशन
          • Needle Engine में स्क्रिप्टिंग
        • reference
          • needle.config.json
          • <needle-engine> कॉन्फ़िगरेशन
          • @serializable and other decorators
        • three
          • index
        • unity
          • Editor Sync
          • Unity के लिए Needle Engine
      • ja
        • SUMMARY
        • 自動コンポーネント生成
        • Needleコアコンポーネント
        • デバッグの方法
        • デプロイと最適化
        • embedding
        • Everywhere Actions
        • サンプルプロジェクト ✨
        • アセット、アニメーション、Prefab、マテリアル、ライトマップなどのエクスポート
        • よくある質問(FAQ)💡
        • 機能概要
        • このページは移動しました: こちらからどうぞ
        • getting-started
        • フレームワーク、バンドラー、HTML
        • index
        • 追加モジュール
        • ネットワーキング
        • Needle Engineプロジェクトの構造
        • サンプルプロジェクト
        • スクリプティング例
        • Creating and using Components
        • ライブ
        • showcase-castle
        • 概要
        • ライブ
        • ライブ
        • ライブ
        • ライブ
        • サポートとコミュニティ
        • 技術概要
        • お客様の声
        • ローカルデバイスでのテスト
        • HTMLからNeedle Engineを直接使用する
        • vision
        • VR & AR (WebXR)
        • blender
          • Blender 用 Needle Engine
        • cloud
          • Needle Cloud
        • custom-integrations
          • index
        • getting-started
          • Scripting Introduction for Unity Developers
          • はじめに & インストール
          • Needle Engineでのスクリプティング
        • reference
          • needle.config.json
          • <needle-engine> 設定
          • @serializable およびその他のデコレーター
        • three
          • index
        • unity
          • Editor Sync
          • Unity用Needle Engine
      • pt
        • SUMMARY
        • Automatic Component Generation
        • Componentes Principais do Needle
        • Como Depurar
        • Implementação e Otimização
        • embedding
        • Everywhere Actions
        • Projetos de Exemplo ✨
        • Exportar Recursos, Animações, Prefabs, Materiais, Lightmaps...
        • Perguntas e Respostas (FAQ) 💡
        • Visão Geral dos Recursos
        • Esta página foi movida: continue aqui
        • getting-started
        • Frameworks, Bundlers, HTML
        • index
        • Módulos Adicionais
        • Redes
        • Estrutura do Projeto Needle Engine
        • Projetos de Exemplo
        • Exemplos de Scripting
        • Criar e usar Componentes
        • Ao Vivo
        • Ao Vivo
        • Sobre
        • Ao Vivo
        • Ao Vivo
        • Ao Vivo
        • Ao Vivo
        • Suporte e Comunidade
        • Visão Geral Técnica
        • Depoimentos
        • Testar em dispositivos locais
        • vanilla-js
        • vision
        • VR & AR (WebXR)
        • blender
          • Needle Engine para Blender
        • cloud
          • Needle Cloud
        • custom-integrations
          • index
        • getting-started
          • Introdução à Scripting para Developers Unity
          • Começar e Instalação
          • Scripting no Needle Engine
        • reference
          • needle.config.json
          • needle-engine-attributes
          • @serializable e outros decorators
        • three
          • index
        • unity
          • Sincronização do Editor
          • Needle Engine para Unity
      • vn
        • 404
        • SUMMARY
        • Automatic Component Generation
        • Các Component Cốt lõi của Needle
        • Cách gỡ lỗi
        • Triển khai và Tối ưu hóa
        • embedding
        • Hành động ở mọi nơi (Everywhere Actions)
        • Các Dự Án Ví Dụ ✨
        • Xuất Tài sản, Hoạt ảnh, Prefab, Vật liệu, Lightmap...
        • Câu hỏi thường gặp (FAQ) 💡
        • Tổng quan tính năng
        • Trang này đã được di chuyển: tiếp tục tại đây
        • getting-started
        • Frameworks, Bundlers, HTML
        • index
        • Các Module Bổ Sung
        • Kết nối mạng
        • Cấu trúc dự án Needle Engine
        • samples-and-modules
        • Ví dụ về Scripting
        • Tạo và sử dụng Component
        • Trực tiếp
        • Trực tiếp
        • Giới thiệu
        • Trực tiếp
        • Chơi thử
        • Trực tiếp
        • Demo trực tiếp
        • Hỗ trợ và Cộng đồng
        • Tổng quan kỹ thuật
        • Lời chứng thực
        • Testing on local devices
        • Sử dụng Needle Engine trực tiếp từ HTML
        • vision
        • VR & AR (WebXR)
        • blender
          • Needle Engine cho Blender
        • cloud
          • Needle Cloud
        • custom-integrations
          • index
        • getting-started
          • Giới thiệu về Scripting cho các nhà phát triển Unity
          • Getting Started & Installation
          • Scripting trong Needle Engine
        • reference
          • needle.config.json
          • Cấu hình <needle-engine>
          • @serializable và các decorator khác
        • three
          • index
        • unity
          • Editor Sync
          • Needle Engine cho Unity
      • zh
        • SUMMARY
        • 自动生成组件
        • Needle 核心组件
        • 如何调试
        • 部署与优化
        • embedding
        • Everywhere Actions
        • 示例项目 ✨
        • 导出资源、动画、预制体、材质、光照贴图...
        • 常见问题 (FAQ) 💡
        • 功能概览
        • 此页面已移动:请在此处继续
        • getting-started
        • 框架、打包器、HTML
        • index
        • 附加模块
        • 网络
        • Needle Engine 项目结构
        • 示例项目
        • Scripting Examples
        • Creating and using Components
        • 实时示例
        • 实时
        • 关于
        • 实时演示
        • 在线试玩
        • 实时演示
        • 现场演示
        • 支持与社区
        • 技术概述
        • 用户评价
        • Testing on local devices
        • 使用 Needle Engine 直接从 HTML
        • vision
        • VR & AR (WebXR)
        • blender
          • Needle Engine for Blender
        • cloud
          • Needle Cloud
        • custom-integrations
          • index
        • getting-started
          • Scripting Introduction for Unity Developers
          • 入门与安装
          • 在 Needle Engine 中编写脚本
        • reference
          • needle.config.json
          • <needle-engine> 配置
          • @serializable and other decorators
        • three
          • index
        • unity
          • 编辑器同步
          • Unity 版 Needle Engine
Powered by GitBook
On this page
  • Audio
  • Animation
  • Rendering
  • Postprocessing
  • Networking
  • Interaction
  • Physics
  • XR / WebXR
  • Debugging
  • Runtime File Input/Output
  • UI
  • Other
  • Editor Only
Edit on GitHub
  1. documentation
  2. lang
  3. zh

Needle 核心组件

Previous自动生成组件Next如何调试

Last updated 26 days ago

以下是我们提供的一些组件概述。其中许多组件映射到 Unity、Blender 或其他集成中的组件和功能。

如需完整列表,请参阅我们的 。

您随时可以添加自己的组件,或者为我们尚未提供的 Unity 组件添加包装器。

在我们的文档的 部分了解更多信息。

Audio

Name
Description

AudioListener

AudioSource

用于播放音频

Animation

Name
Description

Animator with AnimatorController

导出动画状态机、条件、过渡

Animation

最基本的动画组件。仅导出第一个剪辑

PlayableDirector with TimelineAsset

导出强大的序列以控制动画、音频、状态等

Rendering

Name
Description

Camera

Light

DirectionalLight, PointLight, Spotlight。请注意,您也可以使用它来烘焙光照(例如 Rectangular Light 形状)

XRFlag

控制对象何时可见。例如,仅在 AR 中启用对象

DeviceFlag

控制对象在哪种设备上可见

LODGroup

ParticleSystem

实验性功能,目前未完全支持

VideoPlayer

播放来自 URL 或引用的视频文件(导出时将复制到输出)的视频。VideoPlayer 还支持从 MediaStream 对象或 M3U8 直播 URL 进行流式传输

MeshRenderer

用于处理对象的渲染,包括光照贴图和实例化

SkinnedMeshRenderer

参见 MeshRenderer

SpriteRenderer

用于渲染 Sprites 和 Spriteanimations

Volume with PostProcessing asset

Postprocessing

  • 仅 Unity: 请注意,在 Unity 中使用 Volume 的后处理效果仅支持 URP

Effect Name

Antialiasing

额外 Unity 组件

Bloom

通过 Volume asset

Chromatic Aberration

通过 Volume asset

Color Adjustments / Color Correction

通过 Volume asset

Depth Of Field

通过 Volume asset

Vignette

通过 Volume asset

ToneMappingEffect

通过 Volume asset 或单独组件

Pixelation

Screenspace Ambient Occlusion N8

Screenspace Ambient Occlusion

Tilt Shift Effect

SharpeningEffect

Your custom effect

Networking

Name
Description

SyncedRoom

主要网络组件。添加到场景中即可启用网络功能

Networking

用于设置网络的后端服务器

SyncedTransform

自动同步对象的变换

SyncedCamera

自动向房间中的其他用户同步摄像头位置和视图。您可以通过引用一个对象来定义摄像头的渲染方式

WebXRSync

同步 WebXR Avatar(AR 和 VR)

Voip

启用语音聊天

Screensharing

启用屏幕共享功能

Interaction

Name
Description

EventSystem

处理在场景对象上触发指针事件和 UI 事件

ObjectRaycater

DragControls 和 Duplicatable 所需

GraphicsRaycaster

与 ObjectRaycaster 相同,但用于 UI 元素

DragControls

允许在场景中拖动对象。需要在父级层级中存在 raycaster,例如 ObjectRaycaster

Duplicatable

可以通过拖动复制指定的对象。需要 DragControls

Interactable

将对象标记为可交互的基本组件

OrbitControls

添加到摄像头以添加摄像头轨道控制功能

SmoothFollow

允许平滑地插值到另一个对象的变换

DeleteBox

进入此框的对象(带有 Deletable 组件)将被销毁

Deletable

附加此组件的 GameObject 在进入或与 DeleteBox 相交时将被删除

DropListener

添加以接收文件拖放事件进行上传

SpatialTrigger

用于在对象进入特定空间或区域时触发事件。您也可以使用 Physics 事件

SpatialTriggerReceiver

用于接收 SpatialTrigger 发送的事件

Physics

Name
Description

Rigidbody

添加以使对象响应重力(或设置为 kinematic 和 static)

BoxCollider

一个 Box 碰撞体形状,对象可以与之碰撞,或者在设置为 trigger 时触发事件

SphereCollider

参见 BoxCollider

CapsuleCollider

参见 BoxCollider

MeshCollider

参见 BoxCollider

Physics Materials

Physics materials 可用于定义碰撞体的弹性等属性

XR / WebXR

Name
Description

WebXR

添加到场景中以支持 VR、AR 和 Passthrough,以及渲染 Avatar 模型

添加以启用 USD 和 Quicklook 支持

XRFlag

控制对象何时可见,例如,仅在 VR 或 AR 中,或仅在第三人称视图中

WebARSessionRoot

处理场景在 AR 模式下的放置和缩放

WebARCameraBackground

添加以访问 AR 摄像头图像并应用效果或用于渲染

WebXRImageTracking

分配要跟踪的图像,并可选择在图像位置实例化对象

WebXRPlaneTracking

为跟踪到的平面创建平面网格或碰撞体

XRControllerModel

可以添加到渲染设备控制器或手部模型(在 WebXR 组件中启用时会默认创建)

XRControllerMovement

可以添加以提供默认的移动和传送控制

XRControllerFollow

可以添加到场景中的任何对象,并配置为跟随左手或右手或控制器

Debugging

Name
Description

GridHelper

绘制网格

BoxGizmo

绘制盒子

AxesHelper

绘制 XYZ 轴

注意:当您编写自定义代码时,可以使用静态 Gizmos 方法绘制调试线条和形状

Runtime File Input/Output

Name
Description

GltfExport

实验性功能!用于从 Web 运行时导出 gltf。

DropListener

接收文件拖放事件用于上传和网络

UI

Name
Description

Canvas

Unity 的 UI 系统。目前需要处于 World Space 模式。

Text (Legacy)

使用 Unity 的 UI Text 组件渲染文本。支持自定义字体,导出时会自动生成字体图集。使用字体设置或 FontAdditionalCharacters 组件控制图集中包含哪些字符。 注意:在 Unity 中请确保使用 Legacy/Text 组件(目前不支持 TextMeshPro)

Button

接收点击事件 - 使用 onClick 事件进行响应。也可以添加到 3D 场景对象。 注意:请确保在 Button 中使用 Legacy/Text 组件(或通过 UI/Legacy/Button Unity 上下文菜单创建 Button,因为目前不支持 TextMeshPro)

Image

渲染精灵图像

RawImage

渲染纹理

InputField

允许文本输入

注意:根据您的项目,对于支持 VR、AR 和屏幕的跨平台项目,通常空间 UI 和 2D UI 的混合使用是有意义的。通常,您会使用 HTML 构建 2D 部分以获得最佳可访问性,并使用支持深度偏移(例如按钮悬停状态等)的几何 UI 构建 3D 部分。

Other

Name
Description

SceneSwitcher

处理其他场景或预制件/glTF 文件的加载和卸载。具有预加载、通过滑动、键盘事件或 URL 导航切换场景的功能

Editor Only

Name
Description

ExportInfo

用于管理 Web 项目(例如安装或启动 Web 应用)的主要组件

EditorSync

添加此组件可直接从 Unity Editor 同步材质或组件值更改到正在运行的 three.js 应用,无需重新加载


页面由 AI 自动翻译

参见

后处理效果在底层使用了 。这意味着您也可以轻松添加自己的自定义效果,并获得自动优化的后处理通道。

物理引擎使用 实现。

空间 UI 组件从 Unity UI(Canvas,非 UI Toolkit)映射到 。 UI 可以动画化。

API 文档
Scripting
pmndrs postprocessing library
Rapier
阅读 XR 文档
three-mesh-ui
参见 stackblitz 示例
USDZExporter
下表