@vista3d/mcp 0.0.0-stage → 0.1.0

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.
Files changed (769) hide show
  1. package/LICENSE +12 -0
  2. package/README.md +73 -2
  3. package/README.zh-CN.md +74 -0
  4. package/data/.gitkeep +0 -0
  5. package/data/api-index.json +16116 -0
  6. package/data/search-index.json +71479 -0
  7. package/data/typedoc-md/core/README.md +359 -0
  8. package/data/typedoc-md/core/classes/AmbientLight.md +755 -0
  9. package/data/typedoc-md/core/classes/Animation.md +681 -0
  10. package/data/typedoc-md/core/classes/AnimationController.md +195 -0
  11. package/data/typedoc-md/core/classes/AnimationCurve.md +287 -0
  12. package/data/typedoc-md/core/classes/AnimationCurveKeyframe.md +148 -0
  13. package/data/typedoc-md/core/classes/Annotation.md +1466 -0
  14. package/data/typedoc-md/core/classes/AutoExposureNode.md +269 -0
  15. package/data/typedoc-md/core/classes/Background.md +77 -0
  16. package/data/typedoc-md/core/classes/BoolUpdateFlag.md +145 -0
  17. package/data/typedoc-md/core/classes/Camera.md +1264 -0
  18. package/data/typedoc-md/core/classes/ClipAnimationController.md +1192 -0
  19. package/data/typedoc-md/core/classes/ClipPlaneUpdater.md +1075 -0
  20. package/data/typedoc-md/core/classes/Color4.md +499 -0
  21. package/data/typedoc-md/core/classes/ColorGradingNode.md +157 -0
  22. package/data/typedoc-md/core/classes/Command.md +69 -0
  23. package/data/typedoc-md/core/classes/CommandGroup.md +122 -0
  24. package/data/typedoc-md/core/classes/CommandHistory.md +445 -0
  25. package/data/typedoc-md/core/classes/Component.md +592 -0
  26. package/data/typedoc-md/core/classes/ComponentsDependencies.md +174 -0
  27. package/data/typedoc-md/core/classes/ComponentsManager.md +820 -0
  28. package/data/typedoc-md/core/classes/Controls.md +1308 -0
  29. package/data/typedoc-md/core/classes/DirectionalLight.md +1073 -0
  30. package/data/typedoc-md/core/classes/DisorderedArray.md +394 -0
  31. package/data/typedoc-md/core/classes/DitherNode.md +141 -0
  32. package/data/typedoc-md/core/classes/Engine.md +997 -0
  33. package/data/typedoc-md/core/classes/EngineObject.md +264 -0
  34. package/data/typedoc-md/core/classes/Entity.md +1014 -0
  35. package/data/typedoc-md/core/classes/Environment.md +159 -0
  36. package/data/typedoc-md/core/classes/EventDispatcher.md +215 -0
  37. package/data/typedoc-md/core/classes/GLTFParser.md +278 -0
  38. package/data/typedoc-md/core/classes/GLTFResource.md +465 -0
  39. package/data/typedoc-md/core/classes/GeometryResource.md +355 -0
  40. package/data/typedoc-md/core/classes/GlyphAtlas.md +180 -0
  41. package/data/typedoc-md/core/classes/Gradient.md +702 -0
  42. package/data/typedoc-md/core/classes/GradientAlphaKey.md +70 -0
  43. package/data/typedoc-md/core/classes/GradientColorKey.md +74 -0
  44. package/data/typedoc-md/core/classes/GrainNode.md +155 -0
  45. package/data/typedoc-md/core/classes/HemisphereLight.md +795 -0
  46. package/data/typedoc-md/core/classes/InstancedModelRenderer.md +2720 -0
  47. package/data/typedoc-md/core/classes/KarisBloomNode.md +171 -0
  48. package/data/typedoc-md/core/classes/LUTResource.md +356 -0
  49. package/data/typedoc-md/core/classes/Label.md +3086 -0
  50. package/data/typedoc-md/core/classes/LensFlareNode.md +257 -0
  51. package/data/typedoc-md/core/classes/LightProbe.md +179 -0
  52. package/data/typedoc-md/core/classes/LightProbeGroup.md +271 -0
  53. package/data/typedoc-md/core/classes/LinearPicker.md +263 -0
  54. package/data/typedoc-md/core/classes/Logger.md +151 -0
  55. package/data/typedoc-md/core/classes/MaterialResource.md +397 -0
  56. package/data/typedoc-md/core/classes/MemoryEstimator.md +290 -0
  57. package/data/typedoc-md/core/classes/MeshRenderer.md +2581 -0
  58. package/data/typedoc-md/core/classes/MinMaxCurve.md +392 -0
  59. package/data/typedoc-md/core/classes/MinMaxGradient.md +385 -0
  60. package/data/typedoc-md/core/classes/ModelRenderer.md +2715 -0
  61. package/data/typedoc-md/core/classes/Module.md +269 -0
  62. package/data/typedoc-md/core/classes/OrbitControls.md +2015 -0
  63. package/data/typedoc-md/core/classes/OrthographicCamera.md +1505 -0
  64. package/data/typedoc-md/core/classes/ParallelLight.md +941 -0
  65. package/data/typedoc-md/core/classes/PerspectiveCamera.md +1525 -0
  66. package/data/typedoc-md/core/classes/Picker.md +209 -0
  67. package/data/typedoc-md/core/classes/PointLight.md +1108 -0
  68. package/data/typedoc-md/core/classes/Queue.md +159 -0
  69. package/data/typedoc-md/core/classes/Random.md +140 -0
  70. package/data/typedoc-md/core/classes/RectAreaLight.md +1048 -0
  71. package/data/typedoc-md/core/classes/RectangleCulling.md +310 -0
  72. package/data/typedoc-md/core/classes/RenderDebugInfo.md +144 -0
  73. package/data/typedoc-md/core/classes/Renderer.md +2324 -0
  74. package/data/typedoc-md/core/classes/Resource.md +313 -0
  75. package/data/typedoc-md/core/classes/ResourceManager.md +1214 -0
  76. package/data/typedoc-md/core/classes/ResourceRef.md +124 -0
  77. package/data/typedoc-md/core/classes/SDFGlyphGenerator.md +183 -0
  78. package/data/typedoc-md/core/classes/SSFNode.md +377 -0
  79. package/data/typedoc-md/core/classes/Scene.md +1089 -0
  80. package/data/typedoc-md/core/classes/SceneCoordinateSystem.md +442 -0
  81. package/data/typedoc-md/core/classes/SceneRenderer.md +409 -0
  82. package/data/typedoc-md/core/classes/Script.md +934 -0
  83. package/data/typedoc-md/core/classes/ScriptableSceneRenderer.md +540 -0
  84. package/data/typedoc-md/core/classes/ShaderChunk.md +93 -0
  85. package/data/typedoc-md/core/classes/SkyBackground.md +157 -0
  86. package/data/typedoc-md/core/classes/SolidColorBackground.md +117 -0
  87. package/data/typedoc-md/core/classes/SpotLight.md +1324 -0
  88. package/data/typedoc-md/core/classes/TaskController.md +249 -0
  89. package/data/typedoc-md/core/classes/TextureAtlas.md +173 -0
  90. package/data/typedoc-md/core/classes/TextureBackground.md +174 -0
  91. package/data/typedoc-md/core/classes/TextureResource.md +358 -0
  92. package/data/typedoc-md/core/classes/TiltedViewClipPlaneEstimator.md +591 -0
  93. package/data/typedoc-md/core/classes/TopDownClipPlaneEstimator.md +512 -0
  94. package/data/typedoc-md/core/classes/Transform.md +1893 -0
  95. package/data/typedoc-md/core/classes/UniformsLib.md +189 -0
  96. package/data/typedoc-md/core/classes/UpdateFlag.md +111 -0
  97. package/data/typedoc-md/core/classes/UpdateFlagManager.md +223 -0
  98. package/data/typedoc-md/core/classes/ValueNoise.md +164 -0
  99. package/data/typedoc-md/core/classes/WebGLEngine.md +1166 -0
  100. package/data/typedoc-md/core/classes/WebGPUEngine.md +1154 -0
  101. package/data/typedoc-md/core/classes/WorkerCrashedError.md +93 -0
  102. package/data/typedoc-md/core/classes/WorkerDefinitionNotFoundError.md +49 -0
  103. package/data/typedoc-md/core/classes/WorkerManager.md +266 -0
  104. package/data/typedoc-md/core/classes/WorkerPool.md +93 -0
  105. package/data/typedoc-md/core/classes/WorkerPoolDisposedError.md +49 -0
  106. package/data/typedoc-md/core/classes/WorkerRegistry.md +162 -0
  107. package/data/typedoc-md/core/classes/WorkerTaskAbortedError.md +55 -0
  108. package/data/typedoc-md/core/classes/WorkerTaskExecutionError.md +114 -0
  109. package/data/typedoc-md/core/classes/WorkerTaskTimeoutError.md +61 -0
  110. package/data/typedoc-md/core/enumerations/BackgroundType.md +45 -0
  111. package/data/typedoc-md/core/enumerations/CommandHistoryEventType.md +63 -0
  112. package/data/typedoc-md/core/enumerations/DependentMode.md +29 -0
  113. package/data/typedoc-md/core/enumerations/EasingName.md +632 -0
  114. package/data/typedoc-md/core/enumerations/EventType.md +153 -0
  115. package/data/typedoc-md/core/enumerations/GradientMode.md +48 -0
  116. package/data/typedoc-md/core/enumerations/HorizontalOrigin.md +39 -0
  117. package/data/typedoc-md/core/enumerations/InterpolationMode.md +67 -0
  118. package/data/typedoc-md/core/enumerations/LogLevel.md +63 -0
  119. package/data/typedoc-md/core/enumerations/MinMaxCurveMode.md +67 -0
  120. package/data/typedoc-md/core/enumerations/MinMaxGradientMode.md +101 -0
  121. package/data/typedoc-md/core/enumerations/Priority.md +45 -0
  122. package/data/typedoc-md/core/enumerations/QueryMask.md +360 -0
  123. package/data/typedoc-md/core/enumerations/RenderOrder.md +43 -0
  124. package/data/typedoc-md/core/enumerations/TextAlign.md +45 -0
  125. package/data/typedoc-md/core/enumerations/VerticalOrigin.md +39 -0
  126. package/data/typedoc-md/core/enumerations/WeightedMode.md +81 -0
  127. package/data/typedoc-md/core/enumerations/WrapMode.md +100 -0
  128. package/data/typedoc-md/core/functions/assert.md +37 -0
  129. package/data/typedoc-md/core/functions/autoExposure.md +40 -0
  130. package/data/typedoc-md/core/functions/backIn.md +33 -0
  131. package/data/typedoc-md/core/functions/backInOut.md +34 -0
  132. package/data/typedoc-md/core/functions/backOut.md +33 -0
  133. package/data/typedoc-md/core/functions/bounceIn.md +33 -0
  134. package/data/typedoc-md/core/functions/bounceInOut.md +33 -0
  135. package/data/typedoc-md/core/functions/bounceOut.md +32 -0
  136. package/data/typedoc-md/core/functions/circIn.md +33 -0
  137. package/data/typedoc-md/core/functions/circInOut.md +34 -0
  138. package/data/typedoc-md/core/functions/circOut.md +33 -0
  139. package/data/typedoc-md/core/functions/collectMaterialTextureBindings.md +40 -0
  140. package/data/typedoc-md/core/functions/collectTransferables.md +37 -0
  141. package/data/typedoc-md/core/functions/colorGrading.md +31 -0
  142. package/data/typedoc-md/core/functions/constant.md +24 -0
  143. package/data/typedoc-md/core/functions/createErrorEnvelope.md +41 -0
  144. package/data/typedoc-md/core/functions/createEventEnvelope.md +50 -0
  145. package/data/typedoc-md/core/functions/createRequestEnvelope.md +47 -0
  146. package/data/typedoc-md/core/functions/createResultEnvelope.md +47 -0
  147. package/data/typedoc-md/core/functions/createTextureLoader.md +29 -0
  148. package/data/typedoc-md/core/functions/createWorkerEndpoint.md +54 -0
  149. package/data/typedoc-md/core/functions/createWorkerTransferResult.md +41 -0
  150. package/data/typedoc-md/core/functions/cubicIn.md +32 -0
  151. package/data/typedoc-md/core/functions/cubicInOut.md +32 -0
  152. package/data/typedoc-md/core/functions/cubicOut.md +32 -0
  153. package/data/typedoc-md/core/functions/curlNoise2D.md +38 -0
  154. package/data/typedoc-md/core/functions/curlNoise3D.md +39 -0
  155. package/data/typedoc-md/core/functions/defaultValue.md +35 -0
  156. package/data/typedoc-md/core/functions/defined.md +35 -0
  157. package/data/typedoc-md/core/functions/dependentComponents.md +79 -0
  158. package/data/typedoc-md/core/functions/deserializeError.md +41 -0
  159. package/data/typedoc-md/core/functions/dither.md +34 -0
  160. package/data/typedoc-md/core/functions/elasticIn.md +34 -0
  161. package/data/typedoc-md/core/functions/elasticInOut.md +34 -0
  162. package/data/typedoc-md/core/functions/elasticOut.md +34 -0
  163. package/data/typedoc-md/core/functions/expoIn.md +32 -0
  164. package/data/typedoc-md/core/functions/expoInOut.md +33 -0
  165. package/data/typedoc-md/core/functions/expoOut.md +32 -0
  166. package/data/typedoc-md/core/functions/fade.md +33 -0
  167. package/data/typedoc-md/core/functions/fbm.md +39 -0
  168. package/data/typedoc-md/core/functions/getEasingFunction.md +39 -0
  169. package/data/typedoc-md/core/functions/grain.md +34 -0
  170. package/data/typedoc-md/core/functions/isWorkerMessageEnvelope.md +29 -0
  171. package/data/typedoc-md/core/functions/isWorkerTransferResult.md +35 -0
  172. package/data/typedoc-md/core/functions/karisBloom.md +33 -0
  173. package/data/typedoc-md/core/functions/lensFlare.md +52 -0
  174. package/data/typedoc-md/core/functions/linear.md +32 -0
  175. package/data/typedoc-md/core/functions/normalizePositiveNumber.md +33 -0
  176. package/data/typedoc-md/core/functions/packUnorm16.md +32 -0
  177. package/data/typedoc-md/core/functions/packUnorm8.md +32 -0
  178. package/data/typedoc-md/core/functions/pingPong.md +38 -0
  179. package/data/typedoc-md/core/functions/pixelHash.md +50 -0
  180. package/data/typedoc-md/core/functions/propertyChanged.md +29 -0
  181. package/data/typedoc-md/core/functions/pseudoRandom.md +29 -0
  182. package/data/typedoc-md/core/functions/pseudoRandomRange.md +41 -0
  183. package/data/typedoc-md/core/functions/pseudoRandomRangeInt.md +41 -0
  184. package/data/typedoc-md/core/functions/quadIn.md +32 -0
  185. package/data/typedoc-md/core/functions/quadInOut.md +32 -0
  186. package/data/typedoc-md/core/functions/quadOut.md +32 -0
  187. package/data/typedoc-md/core/functions/quartIn.md +32 -0
  188. package/data/typedoc-md/core/functions/quartInOut.md +32 -0
  189. package/data/typedoc-md/core/functions/quartOut.md +32 -0
  190. package/data/typedoc-md/core/functions/quickSort.md +51 -0
  191. package/data/typedoc-md/core/functions/quintIn.md +32 -0
  192. package/data/typedoc-md/core/functions/quintInOut.md +32 -0
  193. package/data/typedoc-md/core/functions/quintOut.md +32 -0
  194. package/data/typedoc-md/core/functions/random.md +21 -0
  195. package/data/typedoc-md/core/functions/randomRange.md +35 -0
  196. package/data/typedoc-md/core/functions/randomRangeInt.md +35 -0
  197. package/data/typedoc-md/core/functions/removeFromArray.md +35 -0
  198. package/data/typedoc-md/core/functions/repeat.md +38 -0
  199. package/data/typedoc-md/core/functions/ridgedNoise.md +38 -0
  200. package/data/typedoc-md/core/functions/serializeError.md +31 -0
  201. package/data/typedoc-md/core/functions/setRandomFunc.md +35 -0
  202. package/data/typedoc-md/core/functions/sineIn.md +32 -0
  203. package/data/typedoc-md/core/functions/sineInOut.md +32 -0
  204. package/data/typedoc-md/core/functions/sineOut.md +32 -0
  205. package/data/typedoc-md/core/functions/smooth.md +33 -0
  206. package/data/typedoc-md/core/functions/ssf.md +39 -0
  207. package/data/typedoc-md/core/interfaces/AmbientLightParams.md +79 -0
  208. package/data/typedoc-md/core/interfaces/AnimationParams.md +67 -0
  209. package/data/typedoc-md/core/interfaces/AnnotationParams.md +242 -0
  210. package/data/typedoc-md/core/interfaces/BackgroundParams.md +53 -0
  211. package/data/typedoc-md/core/interfaces/CameraParams.md +238 -0
  212. package/data/typedoc-md/core/interfaces/ClipPlaneRange.md +86 -0
  213. package/data/typedoc-md/core/interfaces/ClipPlaneUpdaterParams.md +95 -0
  214. package/data/typedoc-md/core/interfaces/CloudSample.md +94 -0
  215. package/data/typedoc-md/core/interfaces/CommandHistoryEvent.md +43 -0
  216. package/data/typedoc-md/core/interfaces/CommandHistoryParams.md +29 -0
  217. package/data/typedoc-md/core/interfaces/ComponentParams.md +60 -0
  218. package/data/typedoc-md/core/interfaces/ComputeInfo.md +43 -0
  219. package/data/typedoc-md/core/interfaces/ControlsParams.md +80 -0
  220. package/data/typedoc-md/core/interfaces/CreateTaskOptions.md +105 -0
  221. package/data/typedoc-md/core/interfaces/DebugInfo.md +71 -0
  222. package/data/typedoc-md/core/interfaces/DirectionalLightParams.md +135 -0
  223. package/data/typedoc-md/core/interfaces/EngineParams.md +71 -0
  224. package/data/typedoc-md/core/interfaces/EntityParams.md +75 -0
  225. package/data/typedoc-md/core/interfaces/EnvironmentParams.md +81 -0
  226. package/data/typedoc-md/core/interfaces/FogParams.md +118 -0
  227. package/data/typedoc-md/core/interfaces/FramebufferCaptureParams.md +73 -0
  228. package/data/typedoc-md/core/interfaces/GLTFParserParams.md +188 -0
  229. package/data/typedoc-md/core/interfaces/GlyphAtlasBlock.md +87 -0
  230. package/data/typedoc-md/core/interfaces/GlyphAtlasParams.md +89 -0
  231. package/data/typedoc-md/core/interfaces/HemisphereLightParams.md +93 -0
  232. package/data/typedoc-md/core/interfaces/IClipPlaneEstimator.md +93 -0
  233. package/data/typedoc-md/core/interfaces/InstancedGLTFParserParams.md +177 -0
  234. package/data/typedoc-md/core/interfaces/InstancedModelRendererParams.md +203 -0
  235. package/data/typedoc-md/core/interfaces/LabelImageParams.md +119 -0
  236. package/data/typedoc-md/core/interfaces/LabelParams.md +374 -0
  237. package/data/typedoc-md/core/interfaces/LabelTextOutlineParams.md +49 -0
  238. package/data/typedoc-md/core/interfaces/LabelTextParams.md +153 -0
  239. package/data/typedoc-md/core/interfaces/LightProbeGroupParams.md +200 -0
  240. package/data/typedoc-md/core/interfaces/LightProbeParams.md +72 -0
  241. package/data/typedoc-md/core/interfaces/LightShadowParams.md +137 -0
  242. package/data/typedoc-md/core/interfaces/MaterialTextureBinding.md +86 -0
  243. package/data/typedoc-md/core/interfaces/MemoryEstimateOptions.md +46 -0
  244. package/data/typedoc-md/core/interfaces/MemoryInfo.md +155 -0
  245. package/data/typedoc-md/core/interfaces/MemoryUsage.md +94 -0
  246. package/data/typedoc-md/core/interfaces/MemoryUsageBreakdown.md +59 -0
  247. package/data/typedoc-md/core/interfaces/MeshRendererParams.md +157 -0
  248. package/data/typedoc-md/core/interfaces/ModelRendererParams.md +188 -0
  249. package/data/typedoc-md/core/interfaces/ModuleParams.md +21 -0
  250. package/data/typedoc-md/core/interfaces/OrbitControlsParams.md +549 -0
  251. package/data/typedoc-md/core/interfaces/OrthographicCameraParams.md +299 -0
  252. package/data/typedoc-md/core/interfaces/ParallelLightParams.md +122 -0
  253. package/data/typedoc-md/core/interfaces/PendingWorkerTask.md +49 -0
  254. package/data/typedoc-md/core/interfaces/PerspectiveCameraParams.md +299 -0
  255. package/data/typedoc-md/core/interfaces/PickResult.md +53 -0
  256. package/data/typedoc-md/core/interfaces/PickerParams.md +27 -0
  257. package/data/typedoc-md/core/interfaces/PointLightParams.md +177 -0
  258. package/data/typedoc-md/core/interfaces/RectAreaLightParams.md +177 -0
  259. package/data/typedoc-md/core/interfaces/RectangleCullingItem.md +123 -0
  260. package/data/typedoc-md/core/interfaces/RectangleCullingParticipant.md +59 -0
  261. package/data/typedoc-md/core/interfaces/RectangleCullingRect.md +92 -0
  262. package/data/typedoc-md/core/interfaces/RenderInfo.md +99 -0
  263. package/data/typedoc-md/core/interfaces/RenderParams.md +117 -0
  264. package/data/typedoc-md/core/interfaces/RendererParams.md +120 -0
  265. package/data/typedoc-md/core/interfaces/ResourceManagerMemoryStats.md +141 -0
  266. package/data/typedoc-md/core/interfaces/ResourceManagerParams.md +85 -0
  267. package/data/typedoc-md/core/interfaces/SDFFont.md +85 -0
  268. package/data/typedoc-md/core/interfaces/SDFGlyph.md +130 -0
  269. package/data/typedoc-md/core/interfaces/SDFGlyphGeneratorParams.md +55 -0
  270. package/data/typedoc-md/core/interfaces/SRSDescriptor.md +50 -0
  271. package/data/typedoc-md/core/interfaces/SceneParams.md +145 -0
  272. package/data/typedoc-md/core/interfaces/ScriptableSceneRendererParams.md +105 -0
  273. package/data/typedoc-md/core/interfaces/SerializedWorkerError.md +74 -0
  274. package/data/typedoc-md/core/interfaces/SpotLightParams.md +219 -0
  275. package/data/typedoc-md/core/interfaces/TextureAtlasBlock.md +59 -0
  276. package/data/typedoc-md/core/interfaces/TextureAtlasParams.md +75 -0
  277. package/data/typedoc-md/core/interfaces/TextureBackgroundParams.md +81 -0
  278. package/data/typedoc-md/core/interfaces/TiltedViewClipPlaneEstimatorParams.md +231 -0
  279. package/data/typedoc-md/core/interfaces/TopDownClipPlaneEstimatorParams.md +180 -0
  280. package/data/typedoc-md/core/interfaces/TransformParams.md +135 -0
  281. package/data/typedoc-md/core/interfaces/Transformation.md +85 -0
  282. package/data/typedoc-md/core/interfaces/WebGLParams.md +161 -0
  283. package/data/typedoc-md/core/interfaces/WebGPUParams.md +181 -0
  284. package/data/typedoc-md/core/interfaces/WorkerDefinition.md +134 -0
  285. package/data/typedoc-md/core/interfaces/WorkerEndpointContext.md +88 -0
  286. package/data/typedoc-md/core/interfaces/WorkerLease.md +71 -0
  287. package/data/typedoc-md/core/interfaces/WorkerManagerLike.md +167 -0
  288. package/data/typedoc-md/core/interfaces/WorkerManagerOptions.md +73 -0
  289. package/data/typedoc-md/core/interfaces/WorkerMessageEnvelope.md +109 -0
  290. package/data/typedoc-md/core/interfaces/WorkerRunOptions.md +43 -0
  291. package/data/typedoc-md/core/interfaces/WorkerTaskRequest.md +80 -0
  292. package/data/typedoc-md/core/interfaces/WorkerTransferResult.md +69 -0
  293. package/data/typedoc-md/core/type-aliases/ComponentConstructor.md +37 -0
  294. package/data/typedoc-md/core/type-aliases/ComponentCtor.md +43 -0
  295. package/data/typedoc-md/core/type-aliases/IsOptional.md +25 -0
  296. package/data/typedoc-md/core/type-aliases/MaterialTextureBindingKind.md +15 -0
  297. package/data/typedoc-md/core/type-aliases/ModuleConstructor.md +40 -0
  298. package/data/typedoc-md/core/type-aliases/ModuleCtor.md +46 -0
  299. package/data/typedoc-md/core/type-aliases/PickerConstructor.md +37 -0
  300. package/data/typedoc-md/core/type-aliases/PickerCtor.md +45 -0
  301. package/data/typedoc-md/core/type-aliases/ScriptableRenderCallback.md +31 -0
  302. package/data/typedoc-md/core/type-aliases/SkyBackgroundParams.md +15 -0
  303. package/data/typedoc-md/core/type-aliases/SubscriberCallbackFn.md +28 -0
  304. package/data/typedoc-md/core/type-aliases/WorkerEndpointHandler.md +43 -0
  305. package/data/typedoc-md/core/type-aliases/WorkerFactory.md +23 -0
  306. package/data/typedoc-md/core/type-aliases/WorkerMessageKind.md +17 -0
  307. package/data/typedoc-md/core/type-aliases/WorkerStrategy.md +22 -0
  308. package/data/typedoc-md/core/variables/CORE_VERSION.md +11 -0
  309. package/data/typedoc-md/core/variables/DEV.md +13 -0
  310. package/data/typedoc-md/core/variables/EARTH_MAX_BUILDING_HEIGHT.md +17 -0
  311. package/data/typedoc-md/core/variables/EARTH_PERIMETER.md +19 -0
  312. package/data/typedoc-md/core/variables/EARTH_RADIUS.md +17 -0
  313. package/data/typedoc-md/core/variables/EPSILON.md +21 -0
  314. package/data/typedoc-md/core/variables/WORKER_TRANSFER_RESULT.md +18 -0
  315. package/data/typedoc-md/core/variables/backOutIn.md +34 -0
  316. package/data/typedoc-md/core/variables/bounceOutIn.md +34 -0
  317. package/data/typedoc-md/core/variables/circOutIn.md +34 -0
  318. package/data/typedoc-md/core/variables/cubicOutIn.md +34 -0
  319. package/data/typedoc-md/core/variables/elasticOutIn.md +34 -0
  320. package/data/typedoc-md/core/variables/expoOutIn.md +34 -0
  321. package/data/typedoc-md/core/variables/fbmValueNoise.md +27 -0
  322. package/data/typedoc-md/core/variables/hash2d.md +28 -0
  323. package/data/typedoc-md/core/variables/perlinNoise2D.md +28 -0
  324. package/data/typedoc-md/core/variables/perlinNoise3D.md +28 -0
  325. package/data/typedoc-md/core/variables/permute.md +27 -0
  326. package/data/typedoc-md/core/variables/quadOutIn.md +34 -0
  327. package/data/typedoc-md/core/variables/quartOutIn.md +34 -0
  328. package/data/typedoc-md/core/variables/quintOutIn.md +34 -0
  329. package/data/typedoc-md/core/variables/random01.md +25 -0
  330. package/data/typedoc-md/core/variables/randomGradient.md +25 -0
  331. package/data/typedoc-md/core/variables/randomGradient3D.md +27 -0
  332. package/data/typedoc-md/core/variables/randomRangeFn.md +37 -0
  333. package/data/typedoc-md/core/variables/randomVec2.md +25 -0
  334. package/data/typedoc-md/core/variables/randomVec3.md +25 -0
  335. package/data/typedoc-md/core/variables/simplexNoise2D.md +27 -0
  336. package/data/typedoc-md/core/variables/simplexNoise3D.md +27 -0
  337. package/data/typedoc-md/core/variables/sineOutIn.md +34 -0
  338. package/data/typedoc-md/core/variables/valueNoise2D.md +27 -0
  339. package/data/typedoc-md/core/variables/valueNoise3D.md +28 -0
  340. package/data/typedoc-md/core/variables/whiteNoise2D.md +27 -0
  341. package/data/typedoc-md/core/variables/whiteNoise3D.md +27 -0
  342. package/data/typedoc-md/core/variables/worleyNoise2D.md +27 -0
  343. package/data/typedoc-md/core/variables/worleyNoise3D.md +28 -0
  344. package/data/typedoc-md/particlesystem/README.md +271 -0
  345. package/data/typedoc-md/particlesystem/classes/BillboardParticleRenderer.md +1242 -0
  346. package/data/typedoc-md/particlesystem/classes/BuoyancyBlock.md +527 -0
  347. package/data/typedoc-md/particlesystem/classes/CollisionBoxBlock.md +824 -0
  348. package/data/typedoc-md/particlesystem/classes/CollisionCylinderBlock.md +908 -0
  349. package/data/typedoc-md/particlesystem/classes/CollisionModule.md +661 -0
  350. package/data/typedoc-md/particlesystem/classes/CollisionPlaneBlock.md +825 -0
  351. package/data/typedoc-md/particlesystem/classes/CollisionSphereBlock.md +825 -0
  352. package/data/typedoc-md/particlesystem/classes/ColorBySpeedModule.md +303 -0
  353. package/data/typedoc-md/particlesystem/classes/ColorOverLifetimeModule.md +288 -0
  354. package/data/typedoc-md/particlesystem/classes/ConformSphereBlock.md +652 -0
  355. package/data/typedoc-md/particlesystem/classes/EmissionModule.md +393 -0
  356. package/data/typedoc-md/particlesystem/classes/EmitContext.md +725 -0
  357. package/data/typedoc-md/particlesystem/classes/EventSpawnContext.md +367 -0
  358. package/data/typedoc-md/particlesystem/classes/FlipbookPlayerBlock.md +924 -0
  359. package/data/typedoc-md/particlesystem/classes/ForceBlock.md +568 -0
  360. package/data/typedoc-md/particlesystem/classes/ForceOverLifetimeModule.md +457 -0
  361. package/data/typedoc-md/particlesystem/classes/GravityBlock.md +414 -0
  362. package/data/typedoc-md/particlesystem/classes/InheritVelocityModule.md +348 -0
  363. package/data/typedoc-md/particlesystem/classes/KillByAgeBlock.md +402 -0
  364. package/data/typedoc-md/particlesystem/classes/KillByBoxBlock.md +526 -0
  365. package/data/typedoc-md/particlesystem/classes/KillByCylinderBlock.md +610 -0
  366. package/data/typedoc-md/particlesystem/classes/KillByPlaneBlock.md +526 -0
  367. package/data/typedoc-md/particlesystem/classes/KillBySphereBlock.md +525 -0
  368. package/data/typedoc-md/particlesystem/classes/LifetimeByEmitterSpeedModule.md +358 -0
  369. package/data/typedoc-md/particlesystem/classes/LightsModule.md +570 -0
  370. package/data/typedoc-md/particlesystem/classes/LimitVelocityOverLifetimeModule.md +657 -0
  371. package/data/typedoc-md/particlesystem/classes/LinearDragBlock.md +486 -0
  372. package/data/typedoc-md/particlesystem/classes/MainModule.md +1216 -0
  373. package/data/typedoc-md/particlesystem/classes/MeshOutputContext.md +691 -0
  374. package/data/typedoc-md/particlesystem/classes/MeshParticleRenderer.md +552 -0
  375. package/data/typedoc-md/particlesystem/classes/MultiplyAngle3DOverLifeBlock.md +441 -0
  376. package/data/typedoc-md/particlesystem/classes/MultiplyAngleOverLifeBlock.md +413 -0
  377. package/data/typedoc-md/particlesystem/classes/MultiplyAngularVelocity3DOverLifeBlock.md +441 -0
  378. package/data/typedoc-md/particlesystem/classes/MultiplyAngularVelocityOverLifeBlock.md +413 -0
  379. package/data/typedoc-md/particlesystem/classes/MultiplyColorOverLifeBlock.md +456 -0
  380. package/data/typedoc-md/particlesystem/classes/MultiplyScaleOverLifeBlock.md +441 -0
  381. package/data/typedoc-md/particlesystem/classes/MultiplySizeOverLifeBlock.md +413 -0
  382. package/data/typedoc-md/particlesystem/classes/NoiseModule.md +766 -0
  383. package/data/typedoc-md/particlesystem/classes/NoneParticleRenderer.md +501 -0
  384. package/data/typedoc-md/particlesystem/classes/OrientAlongVelocityBlock.md +401 -0
  385. package/data/typedoc-md/particlesystem/classes/OrientFaceCameraPlaneBlock.md +401 -0
  386. package/data/typedoc-md/particlesystem/classes/OrientFaceCameraPositionBlock.md +402 -0
  387. package/data/typedoc-md/particlesystem/classes/OrientFixedAxisBlock.md +442 -0
  388. package/data/typedoc-md/particlesystem/classes/OrientLookAtPositionBlock.md +441 -0
  389. package/data/typedoc-md/particlesystem/classes/OutputContext.md +489 -0
  390. package/data/typedoc-md/particlesystem/classes/ParticleModule.md +256 -0
  391. package/data/typedoc-md/particlesystem/classes/ParticleModuleRegistry.md +95 -0
  392. package/data/typedoc-md/particlesystem/classes/ParticleRenderer.md +415 -0
  393. package/data/typedoc-md/particlesystem/classes/ParticleRendererRegistry.md +103 -0
  394. package/data/typedoc-md/particlesystem/classes/ParticleSystem.md +1056 -0
  395. package/data/typedoc-md/particlesystem/classes/ParticleSystemFactory.md +98 -0
  396. package/data/typedoc-md/particlesystem/classes/PointAttractRepelBlock.md +568 -0
  397. package/data/typedoc-md/particlesystem/classes/QuadOutputContext.md +1524 -0
  398. package/data/typedoc-md/particlesystem/classes/RotationBySpeedModule.md +516 -0
  399. package/data/typedoc-md/particlesystem/classes/RotationOverLifetimeModule.md +460 -0
  400. package/data/typedoc-md/particlesystem/classes/SetAngle3DBlock.md +434 -0
  401. package/data/typedoc-md/particlesystem/classes/SetAngle3DOverLifeBlock.md +440 -0
  402. package/data/typedoc-md/particlesystem/classes/SetAngleBlock.md +449 -0
  403. package/data/typedoc-md/particlesystem/classes/SetAngleOverLifeBlock.md +412 -0
  404. package/data/typedoc-md/particlesystem/classes/SetAngularVelocity3DBlock.md +439 -0
  405. package/data/typedoc-md/particlesystem/classes/SetAngularVelocity3DOverLifeBlock.md +441 -0
  406. package/data/typedoc-md/particlesystem/classes/SetAngularVelocityBlock.md +407 -0
  407. package/data/typedoc-md/particlesystem/classes/SetAngularVelocityOverLifeBlock.md +413 -0
  408. package/data/typedoc-md/particlesystem/classes/SetColorBlock.md +404 -0
  409. package/data/typedoc-md/particlesystem/classes/SetColorBySpeedBlock.md +497 -0
  410. package/data/typedoc-md/particlesystem/classes/SetColorOverLifeBlock.md +454 -0
  411. package/data/typedoc-md/particlesystem/classes/SetLifetimeBlock.md +407 -0
  412. package/data/typedoc-md/particlesystem/classes/SetMassBlock.md +408 -0
  413. package/data/typedoc-md/particlesystem/classes/SetPositionBlock.md +435 -0
  414. package/data/typedoc-md/particlesystem/classes/SetSize3DBlock.md +434 -0
  415. package/data/typedoc-md/particlesystem/classes/SetSizeBlock.md +407 -0
  416. package/data/typedoc-md/particlesystem/classes/SetSizeBySpeedBlock.md +454 -0
  417. package/data/typedoc-md/particlesystem/classes/SetSizeOverLifeBlock.md +412 -0
  418. package/data/typedoc-md/particlesystem/classes/SetVelocityBlock.md +626 -0
  419. package/data/typedoc-md/particlesystem/classes/SetVelocityTangentBlock.md +628 -0
  420. package/data/typedoc-md/particlesystem/classes/ShapeModule.md +663 -0
  421. package/data/typedoc-md/particlesystem/classes/SizeBySpeedModule.md +556 -0
  422. package/data/typedoc-md/particlesystem/classes/SizeOverLifetimeModule.md +542 -0
  423. package/data/typedoc-md/particlesystem/classes/SoftBoundaryForceBlock.md +652 -0
  424. package/data/typedoc-md/particlesystem/classes/SpawnContext.md +355 -0
  425. package/data/typedoc-md/particlesystem/classes/StripQuadOutputContext.md +1309 -0
  426. package/data/typedoc-md/particlesystem/classes/SubEmitterBirthInstance.md +104 -0
  427. package/data/typedoc-md/particlesystem/classes/SubEmittersModule.md +661 -0
  428. package/data/typedoc-md/particlesystem/classes/TextureSheetAnimationModule.md +641 -0
  429. package/data/typedoc-md/particlesystem/classes/TrailsModule.md +842 -0
  430. package/data/typedoc-md/particlesystem/classes/TriggerEventOnCollideBlock.md +448 -0
  431. package/data/typedoc-md/particlesystem/classes/TriggerEventOnDieBlock.md +447 -0
  432. package/data/typedoc-md/particlesystem/classes/TurbulenceBlock.md +764 -0
  433. package/data/typedoc-md/particlesystem/classes/UpdateAngleBlock.md +400 -0
  434. package/data/typedoc-md/particlesystem/classes/UpdateContext.md +379 -0
  435. package/data/typedoc-md/particlesystem/classes/UpdatePositionBlock.md +401 -0
  436. package/data/typedoc-md/particlesystem/classes/VFXBlock.md +357 -0
  437. package/data/typedoc-md/particlesystem/classes/VFXBlockRegistry.md +177 -0
  438. package/data/typedoc-md/particlesystem/classes/VFXBlockTypeNotFoundError.md +47 -0
  439. package/data/typedoc-md/particlesystem/classes/VFXBoxShape.md +686 -0
  440. package/data/typedoc-md/particlesystem/classes/VFXCircleShape.md +853 -0
  441. package/data/typedoc-md/particlesystem/classes/VFXConeShape.md +1026 -0
  442. package/data/typedoc-md/particlesystem/classes/VFXContext.md +317 -0
  443. package/data/typedoc-md/particlesystem/classes/VFXCurveAtlas.md +142 -0
  444. package/data/typedoc-md/particlesystem/classes/VFXDynamicBlock.md +449 -0
  445. package/data/typedoc-md/particlesystem/classes/VFXEdgeShape.md +725 -0
  446. package/data/typedoc-md/particlesystem/classes/VFXOutputContextRegistry.md +177 -0
  447. package/data/typedoc-md/particlesystem/classes/VFXOutputContextTypeNotFoundError.md +47 -0
  448. package/data/typedoc-md/particlesystem/classes/VFXShape.md +551 -0
  449. package/data/typedoc-md/particlesystem/classes/VFXShapeFactory.md +126 -0
  450. package/data/typedoc-md/particlesystem/classes/VFXShapeTypeNotFoundError.md +47 -0
  451. package/data/typedoc-md/particlesystem/classes/VFXSphereShape.md +896 -0
  452. package/data/typedoc-md/particlesystem/classes/VFXStaticBlock.md +411 -0
  453. package/data/typedoc-md/particlesystem/classes/VFXSystem.md +793 -0
  454. package/data/typedoc-md/particlesystem/classes/VFXSystemFactory.md +139 -0
  455. package/data/typedoc-md/particlesystem/classes/VFXTorusShape.md +941 -0
  456. package/data/typedoc-md/particlesystem/classes/VectorFieldForceBlock.md +596 -0
  457. package/data/typedoc-md/particlesystem/classes/VelocityOverLifetimeModule.md +910 -0
  458. package/data/typedoc-md/particlesystem/classes/VortexForceBlock.md +654 -0
  459. package/data/typedoc-md/particlesystem/enumerations/ParticleBlendingMode.md +83 -0
  460. package/data/typedoc-md/particlesystem/enumerations/ParticleColorCombineMode.md +97 -0
  461. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemAnimationRowMode.md +41 -0
  462. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemAnimationTimeMode.md +55 -0
  463. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemAnimationType.md +41 -0
  464. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemBillboardMode.md +69 -0
  465. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemBoxShapeEmitFrom.md +55 -0
  466. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemConeShapeEmitFrom.md +55 -0
  467. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemInheritVelocityMode.md +43 -0
  468. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemMeshShapeType.md +55 -0
  469. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemNoiseQuality.md +55 -0
  470. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemRandomSeeds.md +392 -0
  471. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemRenderMode.md +56 -0
  472. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemScalingMode.md +44 -0
  473. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemShapeMultiModeValue.md +69 -0
  474. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemShapeType.md +139 -0
  475. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemSimulationSpace.md +44 -0
  476. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemSortMode.md +86 -0
  477. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemSubEmitterInheritFlags.md +114 -0
  478. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemSubEmitterType.md +69 -0
  479. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemTrailMode.md +41 -0
  480. package/data/typedoc-md/particlesystem/enumerations/ParticleSystemTrailTextureMode.md +69 -0
  481. package/data/typedoc-md/particlesystem/enumerations/QuadBlendingMode.md +83 -0
  482. package/data/typedoc-md/particlesystem/enumerations/QuadColorCombineMode.md +97 -0
  483. package/data/typedoc-md/particlesystem/enumerations/QuadUvMode.md +89 -0
  484. package/data/typedoc-md/particlesystem/enumerations/StripQuadUvMode.md +58 -0
  485. package/data/typedoc-md/particlesystem/enumerations/VFXBlockMode.md +41 -0
  486. package/data/typedoc-md/particlesystem/enumerations/VFXCollisionMode.md +41 -0
  487. package/data/typedoc-md/particlesystem/enumerations/VFXCollisionRadiusMode.md +55 -0
  488. package/data/typedoc-md/particlesystem/enumerations/VFXColorMode.md +57 -0
  489. package/data/typedoc-md/particlesystem/enumerations/VFXConeShapeHeightMode.md +41 -0
  490. package/data/typedoc-md/particlesystem/enumerations/VFXContextType.md +115 -0
  491. package/data/typedoc-md/particlesystem/enumerations/VFXDataType.md +41 -0
  492. package/data/typedoc-md/particlesystem/enumerations/VFXFlipbookAnimationRange.md +74 -0
  493. package/data/typedoc-md/particlesystem/enumerations/VFXFlipbookCyclesMode.md +55 -0
  494. package/data/typedoc-md/particlesystem/enumerations/VFXFlipbookFrameRateMode.md +69 -0
  495. package/data/typedoc-md/particlesystem/enumerations/VFXFlipbookPlayMode.md +41 -0
  496. package/data/typedoc-md/particlesystem/enumerations/VFXForceFalloff.md +41 -0
  497. package/data/typedoc-md/particlesystem/enumerations/VFXForceMode.md +41 -0
  498. package/data/typedoc-md/particlesystem/enumerations/VFXKillBoundsMode.md +41 -0
  499. package/data/typedoc-md/particlesystem/enumerations/VFXNoiseType.md +55 -0
  500. package/data/typedoc-md/particlesystem/enumerations/VFXShapePositionMode.md +69 -0
  501. package/data/typedoc-md/particlesystem/enumerations/VFXShapeSpawnMode.md +41 -0
  502. package/data/typedoc-md/particlesystem/enumerations/VFXSimulationSpace.md +44 -0
  503. package/data/typedoc-md/particlesystem/enumerations/VFXSoftBoundaryShape.md +41 -0
  504. package/data/typedoc-md/particlesystem/enumerations/VFXSortMode.md +87 -0
  505. package/data/typedoc-md/particlesystem/enumerations/VFXVelocityCompositionMode.md +69 -0
  506. package/data/typedoc-md/particlesystem/interfaces/Angle3DOverLifeBlockParams.md +88 -0
  507. package/data/typedoc-md/particlesystem/interfaces/AngleOverLifeBlockParams.md +60 -0
  508. package/data/typedoc-md/particlesystem/interfaces/AngularVelocity3DOverLifeBlockParams.md +88 -0
  509. package/data/typedoc-md/particlesystem/interfaces/AngularVelocityOverLifeBlockParams.md +60 -0
  510. package/data/typedoc-md/particlesystem/interfaces/BillboardParticleRendererParams.md +511 -0
  511. package/data/typedoc-md/particlesystem/interfaces/BuoyancyBlockParams.md +104 -0
  512. package/data/typedoc-md/particlesystem/interfaces/CollisionBoxBlockParams.md +278 -0
  513. package/data/typedoc-md/particlesystem/interfaces/CollisionCylinderBlockParams.md +318 -0
  514. package/data/typedoc-md/particlesystem/interfaces/CollisionPlaneBlockParams.md +278 -0
  515. package/data/typedoc-md/particlesystem/interfaces/CollisionSphereBlockParams.md +278 -0
  516. package/data/typedoc-md/particlesystem/interfaces/ColorOverLifeBlockParams.md +86 -0
  517. package/data/typedoc-md/particlesystem/interfaces/ConformSphereBlockParams.md +164 -0
  518. package/data/typedoc-md/particlesystem/interfaces/CustomParticleRendererParams.md +93 -0
  519. package/data/typedoc-md/particlesystem/interfaces/EmissionEmitContext.md +156 -0
  520. package/data/typedoc-md/particlesystem/interfaces/FlipbookPlayerBlockParams.md +307 -0
  521. package/data/typedoc-md/particlesystem/interfaces/ForceBlockParams.md +124 -0
  522. package/data/typedoc-md/particlesystem/interfaces/GravityBlockParams.md +64 -0
  523. package/data/typedoc-md/particlesystem/interfaces/KillByBoxBlockParams.md +104 -0
  524. package/data/typedoc-md/particlesystem/interfaces/KillByCylinderBlockParams.md +144 -0
  525. package/data/typedoc-md/particlesystem/interfaces/KillByPlaneBlockParams.md +104 -0
  526. package/data/typedoc-md/particlesystem/interfaces/KillBySphereBlockParams.md +104 -0
  527. package/data/typedoc-md/particlesystem/interfaces/LinearDragBlockParams.md +84 -0
  528. package/data/typedoc-md/particlesystem/interfaces/MeshOutputContextParams.md +129 -0
  529. package/data/typedoc-md/particlesystem/interfaces/MeshParticleRendererParams.md +139 -0
  530. package/data/typedoc-md/particlesystem/interfaces/MultiplyScaleOverLifeBlockParams.md +106 -0
  531. package/data/typedoc-md/particlesystem/interfaces/NoneParticleRendererParams.md +82 -0
  532. package/data/typedoc-md/particlesystem/interfaces/OrientFixedAxisBlockParams.md +64 -0
  533. package/data/typedoc-md/particlesystem/interfaces/OrientLookAtPositionBlockParams.md +64 -0
  534. package/data/typedoc-md/particlesystem/interfaces/ParticleBlendingOptions.md +127 -0
  535. package/data/typedoc-md/particlesystem/interfaces/ParticleLightParams.md +59 -0
  536. package/data/typedoc-md/particlesystem/interfaces/ParticleRendererParams.md +63 -0
  537. package/data/typedoc-md/particlesystem/interfaces/ParticleSystemModuleParams.md +375 -0
  538. package/data/typedoc-md/particlesystem/interfaces/ParticleSystemParams.md +137 -0
  539. package/data/typedoc-md/particlesystem/interfaces/PointAttractRepelBlockParams.md +124 -0
  540. package/data/typedoc-md/particlesystem/interfaces/QuadBlendingOptions.md +127 -0
  541. package/data/typedoc-md/particlesystem/interfaces/QuadOutputContextParams.md +496 -0
  542. package/data/typedoc-md/particlesystem/interfaces/SetAngle3DBlockParams.md +104 -0
  543. package/data/typedoc-md/particlesystem/interfaces/SetAngleBlockParams.md +84 -0
  544. package/data/typedoc-md/particlesystem/interfaces/SetAngularVelocity3DBlockParams.md +104 -0
  545. package/data/typedoc-md/particlesystem/interfaces/SetAngularVelocityBlockParams.md +64 -0
  546. package/data/typedoc-md/particlesystem/interfaces/SetColorBlockParams.md +58 -0
  547. package/data/typedoc-md/particlesystem/interfaces/SetColorBySpeedBlockParams.md +106 -0
  548. package/data/typedoc-md/particlesystem/interfaces/SetLifetimeBlockParams.md +64 -0
  549. package/data/typedoc-md/particlesystem/interfaces/SetMassBlockParams.md +64 -0
  550. package/data/typedoc-md/particlesystem/interfaces/SetPositionBlockParams.md +58 -0
  551. package/data/typedoc-md/particlesystem/interfaces/SetSize3DBlockParams.md +104 -0
  552. package/data/typedoc-md/particlesystem/interfaces/SetSizeBlockParams.md +64 -0
  553. package/data/typedoc-md/particlesystem/interfaces/SetSizeBySpeedBlockParams.md +86 -0
  554. package/data/typedoc-md/particlesystem/interfaces/SetVelocityBlockParams.md +164 -0
  555. package/data/typedoc-md/particlesystem/interfaces/SetVelocityTangentBlockParams.md +165 -0
  556. package/data/typedoc-md/particlesystem/interfaces/SizeOverLifeBlockParams.md +66 -0
  557. package/data/typedoc-md/particlesystem/interfaces/SoftBoundaryForceBlockParams.md +164 -0
  558. package/data/typedoc-md/particlesystem/interfaces/StripQuadOutputContextParams.md +395 -0
  559. package/data/typedoc-md/particlesystem/interfaces/SubEmitter.md +73 -0
  560. package/data/typedoc-md/particlesystem/interfaces/SubEmitterInheritProperties.md +167 -0
  561. package/data/typedoc-md/particlesystem/interfaces/TrailsModuleParams.md +313 -0
  562. package/data/typedoc-md/particlesystem/interfaces/TriggerEventOnCollideBlockParams.md +67 -0
  563. package/data/typedoc-md/particlesystem/interfaces/TriggerEventOnDieBlockParams.md +67 -0
  564. package/data/typedoc-md/particlesystem/interfaces/TurbulenceBlockParams.md +224 -0
  565. package/data/typedoc-md/particlesystem/interfaces/VFXBlockParams.md +79 -0
  566. package/data/typedoc-md/particlesystem/interfaces/VFXBoxShapeParams.md +214 -0
  567. package/data/typedoc-md/particlesystem/interfaces/VFXBurstRule.md +87 -0
  568. package/data/typedoc-md/particlesystem/interfaces/VFXCPUEvent.md +77 -0
  569. package/data/typedoc-md/particlesystem/interfaces/VFXCircleShapeParams.md +306 -0
  570. package/data/typedoc-md/particlesystem/interfaces/VFXConeShapeParams.md +387 -0
  571. package/data/typedoc-md/particlesystem/interfaces/VFXCurveSlot.md +59 -0
  572. package/data/typedoc-md/particlesystem/interfaces/VFXCurveSlots.md +37 -0
  573. package/data/typedoc-md/particlesystem/interfaces/VFXEdgeShapeParams.md +223 -0
  574. package/data/typedoc-md/particlesystem/interfaces/VFXOutputShade.md +145 -0
  575. package/data/typedoc-md/particlesystem/interfaces/VFXShapeArcParams.md +82 -0
  576. package/data/typedoc-md/particlesystem/interfaces/VFXShapeParams.md +140 -0
  577. package/data/typedoc-md/particlesystem/interfaces/VFXShapeVolumeParams.md +213 -0
  578. package/data/typedoc-md/particlesystem/interfaces/VFXSphereShapeParams.md +327 -0
  579. package/data/typedoc-md/particlesystem/interfaces/VFXSystemParams.md +335 -0
  580. package/data/typedoc-md/particlesystem/interfaces/VFXTorusShapeParams.md +346 -0
  581. package/data/typedoc-md/particlesystem/interfaces/VectorFieldForceBlockParams.md +147 -0
  582. package/data/typedoc-md/particlesystem/interfaces/VortexForceBlockParams.md +164 -0
  583. package/data/typedoc-md/particlesystem/type-aliases/ParticleModuleConstructor.md +33 -0
  584. package/data/typedoc-md/particlesystem/type-aliases/ParticleRendererConstructor.md +43 -0
  585. package/data/typedoc-md/particlesystem/type-aliases/ParticleRendererOptions.md +15 -0
  586. package/data/typedoc-md/particlesystem/type-aliases/VFXBlockCtor.md +53 -0
  587. package/data/typedoc-md/particlesystem/type-aliases/VFXOutputContextCtor.md +35 -0
  588. package/data/typedoc-md/particlesystem/type-aliases/VFXOutputContextFactory.md +35 -0
  589. package/data/typedoc-md/particlesystem/type-aliases/VFXShapeCtor.md +35 -0
  590. package/data/typedoc-md/particlesystem/type-aliases/VFXSystemTemplate.md +19 -0
  591. package/data/typedoc-md/particlesystem/variables/DEFAULT_PARTICLE_PER_STRIP_COUNT.md +20 -0
  592. package/data/typedoc-md/particlesystem/variables/DEFAULT_STRIP_MAX_PARTICLES.md +22 -0
  593. package/data/typedoc-md/particlesystem/variables/MAX_BURSTS.md +13 -0
  594. package/data/typedoc-md/particlesystem/variables/MAX_EVENTS.md +13 -0
  595. package/data/typedoc-md/particlesystem/variables/PARTICLESYSTEM_VERSION.md +13 -0
  596. package/data/typedoc-md/postprocessing/README.md +20 -0
  597. package/data/typedoc-md/postprocessing/classes/OffscreenPass.md +184 -0
  598. package/data/typedoc-md/postprocessing/classes/PostprocessingSceneRenderer.md +330 -0
  599. package/data/typedoc-md/postprocessing/classes/SSFEffect.md +584 -0
  600. package/data/typedoc-md/postprocessing/interfaces/PostprocessingSceneRendererParams.md +115 -0
  601. package/data/typedoc-md/postprocessing/interfaces/ScreenSpaceFogEffectParams.md +420 -0
  602. package/data/typedoc-md/postprocessing/variables/POSTPROCESSING_VERSION.md +11 -0
  603. package/dist/server.js +1301 -0
  604. package/package.json +46 -4
  605. package/resources/examples/.gitkeep +0 -0
  606. package/resources/examples/ambient-light.md +47 -0
  607. package/resources/examples/animation-curve.md +62 -0
  608. package/resources/examples/animation.md +56 -0
  609. package/resources/examples/annotation.md +68 -0
  610. package/resources/examples/auto-exposure-node.md +67 -0
  611. package/resources/examples/billboard-particle-renderer.md +85 -0
  612. package/resources/examples/bool-update-flag.md +61 -0
  613. package/resources/examples/clip-animation-controller.md +76 -0
  614. package/resources/examples/clip-plane-updater.md +63 -0
  615. package/resources/examples/color-grading-node.md +59 -0
  616. package/resources/examples/command-group.md +48 -0
  617. package/resources/examples/command-history.md +59 -0
  618. package/resources/examples/command.md +55 -0
  619. package/resources/examples/components-manager.md +43 -0
  620. package/resources/examples/controls.md +52 -0
  621. package/resources/examples/directional-light.md +49 -0
  622. package/resources/examples/dither-node.md +55 -0
  623. package/resources/examples/emit-context.md +71 -0
  624. package/resources/examples/entity.md +47 -0
  625. package/resources/examples/environment.md +51 -0
  626. package/resources/examples/event-dispatcher.md +62 -0
  627. package/resources/examples/event-spawn-context.md +67 -0
  628. package/resources/examples/geometry-resource.md +50 -0
  629. package/resources/examples/gltf-parser.md +78 -0
  630. package/resources/examples/gltf-resource.md +61 -0
  631. package/resources/examples/glyph-atlas.md +74 -0
  632. package/resources/examples/gradient.md +70 -0
  633. package/resources/examples/grain-node.md +57 -0
  634. package/resources/examples/hemisphere-light.md +49 -0
  635. package/resources/examples/instanced-model-renderer.md +99 -0
  636. package/resources/examples/karis-bloom-node.md +56 -0
  637. package/resources/examples/label.md +77 -0
  638. package/resources/examples/lens-flare-node.md +65 -0
  639. package/resources/examples/light-probe-group.md +53 -0
  640. package/resources/examples/light-probe.md +52 -0
  641. package/resources/examples/linear-picker.md +50 -0
  642. package/resources/examples/lut-resource.md +52 -0
  643. package/resources/examples/material-resource.md +63 -0
  644. package/resources/examples/memory-estimator.md +81 -0
  645. package/resources/examples/mesh-output-context.md +69 -0
  646. package/resources/examples/mesh-particle-renderer.md +71 -0
  647. package/resources/examples/mesh-renderer.md +49 -0
  648. package/resources/examples/min-max-curve.md +57 -0
  649. package/resources/examples/min-max-gradient.md +58 -0
  650. package/resources/examples/model-renderer.md +83 -0
  651. package/resources/examples/none-particle-renderer.md +59 -0
  652. package/resources/examples/offscreen-pass.md +46 -0
  653. package/resources/examples/orbit-controls.md +51 -0
  654. package/resources/examples/orthographic-camera.md +49 -0
  655. package/resources/examples/parallel-light.md +49 -0
  656. package/resources/examples/particle-module-registry.md +65 -0
  657. package/resources/examples/particle-renderer-registry.md +72 -0
  658. package/resources/examples/particle-system-factory.md +60 -0
  659. package/resources/examples/particle-system.md +85 -0
  660. package/resources/examples/perspective-camera.md +49 -0
  661. package/resources/examples/picker.md +58 -0
  662. package/resources/examples/point-light.md +50 -0
  663. package/resources/examples/postprocessing-scene-renderer.md +56 -0
  664. package/resources/examples/quad-output-context.md +75 -0
  665. package/resources/examples/random.md +57 -0
  666. package/resources/examples/rect-area-light.md +50 -0
  667. package/resources/examples/rectangle-culling.md +72 -0
  668. package/resources/examples/render-debug-info.md +67 -0
  669. package/resources/examples/renderer.md +53 -0
  670. package/resources/examples/resource-manager.md +61 -0
  671. package/resources/examples/resource-ref.md +55 -0
  672. package/resources/examples/scene-coordinate-system.md +66 -0
  673. package/resources/examples/scene-renderer.md +48 -0
  674. package/resources/examples/scene.md +49 -0
  675. package/resources/examples/script.md +54 -0
  676. package/resources/examples/scriptable-scene-renderer.md +58 -0
  677. package/resources/examples/sdf-glyph-generator.md +77 -0
  678. package/resources/examples/solid-color-background.md +45 -0
  679. package/resources/examples/spawn-context.md +58 -0
  680. package/resources/examples/spot-light.md +50 -0
  681. package/resources/examples/ssf-effect.md +66 -0
  682. package/resources/examples/ssf-node.md +78 -0
  683. package/resources/examples/strip-quad-output-context.md +69 -0
  684. package/resources/examples/sub-emitter-birth-instance.md +73 -0
  685. package/resources/examples/task-controller.md +66 -0
  686. package/resources/examples/texture-atlas.md +67 -0
  687. package/resources/examples/texture-background.md +53 -0
  688. package/resources/examples/texture-resource.md +53 -0
  689. package/resources/examples/tilted-view-clip-plane-estimator.md +66 -0
  690. package/resources/examples/top-down-clip-plane-estimator.md +67 -0
  691. package/resources/examples/transform.md +52 -0
  692. package/resources/examples/uniforms-lib.md +75 -0
  693. package/resources/examples/update-context.md +57 -0
  694. package/resources/examples/update-flag-manager.md +68 -0
  695. package/resources/examples/value-noise.md +60 -0
  696. package/resources/examples/vfx-block-registry.md +76 -0
  697. package/resources/examples/vfx-box-shape.md +60 -0
  698. package/resources/examples/vfx-circle-shape.md +62 -0
  699. package/resources/examples/vfx-cone-shape.md +67 -0
  700. package/resources/examples/vfx-curve-atlas.md +65 -0
  701. package/resources/examples/vfx-edge-shape.md +60 -0
  702. package/resources/examples/vfx-output-context-registry.md +84 -0
  703. package/resources/examples/vfx-shape-factory.md +63 -0
  704. package/resources/examples/vfx-sphere-shape.md +61 -0
  705. package/resources/examples/vfx-system-factory.md +67 -0
  706. package/resources/examples/vfx-system.md +88 -0
  707. package/resources/examples/vfx-torus-shape.md +61 -0
  708. package/resources/examples/webgl-engine.md +52 -0
  709. package/resources/examples/webgpu-engine.md +53 -0
  710. package/resources/examples/worker-manager.md +77 -0
  711. package/resources/examples/worker-pool.md +78 -0
  712. package/resources/examples/worker-registry.md +70 -0
  713. package/resources/guides/.gitkeep +0 -0
  714. package/resources/guides/animation.md +65 -0
  715. package/resources/guides/annotation.md +63 -0
  716. package/resources/guides/atlas.md +93 -0
  717. package/resources/guides/background.md +62 -0
  718. package/resources/guides/blocks.md +91 -0
  719. package/resources/guides/camera.md +67 -0
  720. package/resources/guides/clip-plane.md +60 -0
  721. package/resources/guides/command.md +81 -0
  722. package/resources/guides/component-renderer.md +64 -0
  723. package/resources/guides/component.md +64 -0
  724. package/resources/guides/contexts.md +100 -0
  725. package/resources/guides/controls.md +61 -0
  726. package/resources/guides/coordinate-systems.md +68 -0
  727. package/resources/guides/culling.md +82 -0
  728. package/resources/guides/data-structures.md +85 -0
  729. package/resources/guides/debug.md +76 -0
  730. package/resources/guides/effect-node.md +84 -0
  731. package/resources/guides/effect.md +69 -0
  732. package/resources/guides/engine.md +69 -0
  733. package/resources/guides/entity.md +57 -0
  734. package/resources/guides/environment.md +49 -0
  735. package/resources/guides/estimator.md +74 -0
  736. package/resources/guides/event.md +60 -0
  737. package/resources/guides/gltf.md +93 -0
  738. package/resources/guides/gradient.md +97 -0
  739. package/resources/guides/instanced-model-renderer.md +92 -0
  740. package/resources/guides/label.md +79 -0
  741. package/resources/guides/light-probe.md +81 -0
  742. package/resources/guides/light.md +82 -0
  743. package/resources/guides/logger.md +50 -0
  744. package/resources/guides/material.md +61 -0
  745. package/resources/guides/math.md +88 -0
  746. package/resources/guides/memory.md +84 -0
  747. package/resources/guides/mesh-renderer.md +59 -0
  748. package/resources/guides/model-renderer.md +78 -0
  749. package/resources/guides/module.md +97 -0
  750. package/resources/guides/pass.md +49 -0
  751. package/resources/guides/pick.md +65 -0
  752. package/resources/guides/postprocessing.md +56 -0
  753. package/resources/guides/registry.md +64 -0
  754. package/resources/guides/resource.md +83 -0
  755. package/resources/guides/scene.md +90 -0
  756. package/resources/guides/script.md +63 -0
  757. package/resources/guides/sdf.md +80 -0
  758. package/resources/guides/shapes.md +99 -0
  759. package/resources/guides/shuriken-factory.md +51 -0
  760. package/resources/guides/shuriken-renderer.md +82 -0
  761. package/resources/guides/shuriken.md +76 -0
  762. package/resources/guides/transform.md +60 -0
  763. package/resources/guides/update-flag.md +80 -0
  764. package/resources/guides/utils-curve.md +88 -0
  765. package/resources/guides/value.md +66 -0
  766. package/resources/guides/vfx-curve.md +74 -0
  767. package/resources/guides/vfx-factory.md +77 -0
  768. package/resources/guides/vfx.md +102 -0
  769. package/resources/guides/worker.md +127 -0
@@ -0,0 +1,1324 @@
1
+ [**core**](../README.md)
2
+
3
+ ***
4
+
5
+ [core](../README.md) / SpotLight
6
+
7
+ # Class: SpotLight
8
+
9
+ Defined in: [ecs/component/light/SpotLight.ts:27](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L27)
10
+
11
+ Spot light component wrapping THREE.SpotLight.
12
+
13
+ Emits a conical beam from position toward target, with angle, penumbra,
14
+ distance/decay attenuation, and optional shadow casting.
15
+
16
+ ## Export
17
+
18
+ SpotLight
19
+
20
+ ## Example
21
+
22
+ ```ts
23
+ import { SpotLight } from '@vista3d/core';
24
+ const entity = scene.rootEntity.createChild();
25
+ entity.addComponent(SpotLight, {
26
+ color: '#ffffff',
27
+ intensity: 1.0
28
+ });
29
+ entity.removeComponent(SpotLight);
30
+ ```
31
+
32
+ ## Extends
33
+
34
+ - [`Component`](Component.md)
35
+
36
+ ## Constructors
37
+
38
+ ### Constructor
39
+
40
+ > **new SpotLight**(`entity`, `params?`): `SpotLight`
41
+
42
+ Defined in: [ecs/component/light/SpotLight.ts:387](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L387)
43
+
44
+ Create a spot light component on the given entity.
45
+
46
+ #### Parameters
47
+
48
+ ##### entity
49
+
50
+ [`Entity`](Entity.md)
51
+
52
+ Owning entity
53
+
54
+ ##### params?
55
+
56
+ [`SpotLightParams`](../interfaces/SpotLightParams.md) = `{}`
57
+
58
+ Spot light construction parameters
59
+
60
+ #### Returns
61
+
62
+ `SpotLight`
63
+
64
+ #### Memberof
65
+
66
+ SpotLight
67
+
68
+ #### Overrides
69
+
70
+ [`Component`](Component.md).[`constructor`](Component.md#constructor)
71
+
72
+ ## Properties
73
+
74
+ ### awoken
75
+
76
+ > `protected` **awoken**: `boolean` = `false`
77
+
78
+ Defined in: [ecs/component/Component.ts:101](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L101)
79
+
80
+ #### Inherited from
81
+
82
+ [`Component`](Component.md).[`awoken`](Component.md#awoken)
83
+
84
+ ***
85
+
86
+ ### enabledValue
87
+
88
+ > `protected` **enabledValue**: `boolean` = `true`
89
+
90
+ Defined in: [ecs/component/Component.ts:104](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L104)
91
+
92
+ #### Inherited from
93
+
94
+ [`Component`](Component.md).[`enabledValue`](Component.md#enabledvalue)
95
+
96
+ ***
97
+
98
+ ### entity
99
+
100
+ > `readonly` **entity**: [`Entity`](Entity.md)
101
+
102
+ Defined in: [ecs/component/Component.ts:122](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L122)
103
+
104
+ Target entity
105
+
106
+ #### Inherited from
107
+
108
+ [`Component`](Component.md).[`entity`](Component.md#entity)
109
+
110
+ ***
111
+
112
+ ### userData
113
+
114
+ > **userData**: `object`
115
+
116
+ Defined in: [ecs/component/Component.ts:39](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L39)
117
+
118
+ User-defined key/value bag initialized from `params.userData`.
119
+ The engine never reads or writes it; suitable for temporary state or business metadata.
120
+
121
+ #### Index Signature
122
+
123
+ \[`key`: `string`\]: `unknown`
124
+
125
+ #### Memberof
126
+
127
+ Component
128
+
129
+ #### Inherited from
130
+
131
+ [`Component`](Component.md).[`userData`](Component.md#userdata)
132
+
133
+ ***
134
+
135
+ ### worldMatrixDirty
136
+
137
+ > `protected` **worldMatrixDirty**: `boolean` = `false`
138
+
139
+ Defined in: [ecs/component/Component.ts:110](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L110)
140
+
141
+ #### Inherited from
142
+
143
+ [`Component`](Component.md).[`worldMatrixDirty`](Component.md#worldmatrixdirty)
144
+
145
+ ***
146
+
147
+ ### worldMatrixNeedsUpdateIndex
148
+
149
+ > **worldMatrixNeedsUpdateIndex**: `number` = `-1`
150
+
151
+ Defined in: [ecs/component/Component.ts:30](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L30)
152
+
153
+ Index inside the world-matrix dirty list assigned by [ComponentsManager](ComponentsManager.md) for O(1) removal; `-1` means not
154
+ listed.
155
+
156
+ #### Memberof
157
+
158
+ Component
159
+
160
+ #### Inherited from
161
+
162
+ [`Component`](Component.md).[`worldMatrixNeedsUpdateIndex`](Component.md#worldmatrixneedsupdateindex)
163
+
164
+ ## Accessors
165
+
166
+ ### angle
167
+
168
+ #### Get Signature
169
+
170
+ > **get** **angle**(): `number`
171
+
172
+ Defined in: [ecs/component/light/SpotLight.ts:167](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L167)
173
+
174
+ Cone angle in radians.
175
+
176
+ ##### Memberof
177
+
178
+ SpotLight
179
+
180
+ ##### Returns
181
+
182
+ `number`
183
+
184
+ #### Set Signature
185
+
186
+ > **set** **angle**(`value`): `void`
187
+
188
+ Defined in: [ecs/component/light/SpotLight.ts:155](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L155)
189
+
190
+ Set the cone angle in radians.
191
+
192
+ ##### Memberof
193
+
194
+ SpotLight
195
+
196
+ ##### Parameters
197
+
198
+ ###### value
199
+
200
+ `number`
201
+
202
+ ##### Returns
203
+
204
+ `void`
205
+
206
+ ***
207
+
208
+ ### castShadow
209
+
210
+ #### Get Signature
211
+
212
+ > **get** **castShadow**(): `boolean`
213
+
214
+ Defined in: [ecs/component/light/SpotLight.ts:307](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L307)
215
+
216
+ Whether this light casts shadows.
217
+
218
+ ##### Memberof
219
+
220
+ SpotLight
221
+
222
+ ##### Returns
223
+
224
+ `boolean`
225
+
226
+ #### Set Signature
227
+
228
+ > **set** **castShadow**(`value`): `void`
229
+
230
+ Defined in: [ecs/component/light/SpotLight.ts:294](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L294)
231
+
232
+ Set whether this light casts shadows.
233
+
234
+ ##### Memberof
235
+
236
+ SpotLight
237
+
238
+ ##### Parameters
239
+
240
+ ###### value
241
+
242
+ `boolean`
243
+
244
+ ##### Returns
245
+
246
+ `void`
247
+
248
+ ***
249
+
250
+ ### color
251
+
252
+ #### Get Signature
253
+
254
+ > **get** **color**(): `Readonly`\<`Color`\>
255
+
256
+ Defined in: [ecs/component/light/SpotLight.ts:47](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L47)
257
+
258
+ Spot light color.
259
+
260
+ ##### Memberof
261
+
262
+ SpotLight
263
+
264
+ ##### Returns
265
+
266
+ `Readonly`\<`Color`\>
267
+
268
+ #### Set Signature
269
+
270
+ > **set** **color**(`value`): `void`
271
+
272
+ Defined in: [ecs/component/light/SpotLight.ts:35](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L35)
273
+
274
+ Set the spot light color.
275
+
276
+ ##### Memberof
277
+
278
+ SpotLight
279
+
280
+ ##### Parameters
281
+
282
+ ###### value
283
+
284
+ `ColorRepresentation`
285
+
286
+ ##### Returns
287
+
288
+ `void`
289
+
290
+ ***
291
+
292
+ ### decay
293
+
294
+ #### Get Signature
295
+
296
+ > **get** **decay**(): `number`
297
+
298
+ Defined in: [ecs/component/light/SpotLight.ts:215](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L215)
299
+
300
+ Decay exponent.
301
+
302
+ ##### Memberof
303
+
304
+ SpotLight
305
+
306
+ ##### Returns
307
+
308
+ `number`
309
+
310
+ #### Set Signature
311
+
312
+ > **set** **decay**(`value`): `void`
313
+
314
+ Defined in: [ecs/component/light/SpotLight.ts:203](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L203)
315
+
316
+ Set the decay exponent.
317
+
318
+ ##### Memberof
319
+
320
+ SpotLight
321
+
322
+ ##### Parameters
323
+
324
+ ###### value
325
+
326
+ `number`
327
+
328
+ ##### Returns
329
+
330
+ `void`
331
+
332
+ ***
333
+
334
+ ### direction
335
+
336
+ #### Set Signature
337
+
338
+ > **set** **direction**(`value`): `void`
339
+
340
+ Defined in: [ecs/component/light/SpotLight.ts:277](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L277)
341
+
342
+ Set the light direction as a local-space unit vector, preserving target distance.
343
+
344
+ ##### Memberof
345
+
346
+ SpotLight
347
+
348
+ ##### Parameters
349
+
350
+ ###### value
351
+
352
+ `Vector3`
353
+
354
+ ##### Returns
355
+
356
+ `void`
357
+
358
+ ***
359
+
360
+ ### distance
361
+
362
+ #### Get Signature
363
+
364
+ > **get** **distance**(): `number`
365
+
366
+ Defined in: [ecs/component/light/SpotLight.ts:143](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L143)
367
+
368
+ Intensity falloff distance.
369
+
370
+ ##### Memberof
371
+
372
+ SpotLight
373
+
374
+ ##### Returns
375
+
376
+ `number`
377
+
378
+ #### Set Signature
379
+
380
+ > **set** **distance**(`value`): `void`
381
+
382
+ Defined in: [ecs/component/light/SpotLight.ts:131](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L131)
383
+
384
+ Set intensity falloff distance (0 = never fall off).
385
+
386
+ ##### Memberof
387
+
388
+ SpotLight
389
+
390
+ ##### Parameters
391
+
392
+ ###### value
393
+
394
+ `number`
395
+
396
+ ##### Returns
397
+
398
+ `void`
399
+
400
+ ***
401
+
402
+ ### enabled
403
+
404
+ #### Get Signature
405
+
406
+ > **get** **enabled**(): `boolean`
407
+
408
+ Defined in: [ecs/component/Component.ts:81](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L81)
409
+
410
+ Whether the user enable switch is on, regardless of entity hierarchy activity.
411
+ See [isActiveAndEnabled](Component.md#isactiveandenabled) for whether the component is currently running.
412
+
413
+ ##### Memberof
414
+
415
+ Component
416
+
417
+ ##### Returns
418
+
419
+ `boolean`
420
+
421
+ #### Set Signature
422
+
423
+ > **set** **enabled**(`value`): `void`
424
+
425
+ Defined in: [ecs/component/Component.ts:61](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L61)
426
+
427
+ Set the user enable switch without changing entity hierarchy activity.
428
+ The component runs only when this switch is on and the entity is active in hierarchy.
429
+
430
+ ##### Memberof
431
+
432
+ Component
433
+
434
+ ##### Parameters
435
+
436
+ ###### value
437
+
438
+ `boolean`
439
+
440
+ ##### Returns
441
+
442
+ `void`
443
+
444
+ #### Inherited from
445
+
446
+ [`Component`](Component.md).[`enabled`](Component.md#enabled)
447
+
448
+ ***
449
+
450
+ ### intensity
451
+
452
+ #### Get Signature
453
+
454
+ > **get** **intensity**(): `number`
455
+
456
+ Defined in: [ecs/component/light/SpotLight.ts:71](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L71)
457
+
458
+ Intensity in candela.
459
+
460
+ ##### Memberof
461
+
462
+ SpotLight
463
+
464
+ ##### Returns
465
+
466
+ `number`
467
+
468
+ #### Set Signature
469
+
470
+ > **set** **intensity**(`value`): `void`
471
+
472
+ Defined in: [ecs/component/light/SpotLight.ts:59](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L59)
473
+
474
+ Set intensity in candela.
475
+
476
+ ##### Memberof
477
+
478
+ SpotLight
479
+
480
+ ##### Parameters
481
+
482
+ ###### value
483
+
484
+ `number`
485
+
486
+ ##### Returns
487
+
488
+ `void`
489
+
490
+ ***
491
+
492
+ ### isActiveAndEnabled
493
+
494
+ #### Get Signature
495
+
496
+ > **get** **isActiveAndEnabled**(): `boolean`
497
+
498
+ Defined in: [ecs/component/Component.ts:94](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L94)
499
+
500
+ Whether the component is currently running: enabled, entity active in hierarchy, and enable handler completed.
501
+
502
+ ##### Memberof
503
+
504
+ Component
505
+
506
+ ##### Returns
507
+
508
+ `boolean`
509
+
510
+ #### Inherited from
511
+
512
+ [`Component`](Component.md).[`isActiveAndEnabled`](Component.md#isactiveandenabled)
513
+
514
+ ***
515
+
516
+ ### light
517
+
518
+ #### Get Signature
519
+
520
+ > **get** **light**(): `SpotLight`
521
+
522
+ Defined in: [ecs/component/light/SpotLight.ts:370](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L370)
523
+
524
+ Underlying THREE.SpotLight instance.
525
+
526
+ ##### Memberof
527
+
528
+ SpotLight
529
+
530
+ ##### Returns
531
+
532
+ `SpotLight`
533
+
534
+ ***
535
+
536
+ ### penumbra
537
+
538
+ #### Get Signature
539
+
540
+ > **get** **penumbra**(): `number`
541
+
542
+ Defined in: [ecs/component/light/SpotLight.ts:191](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L191)
543
+
544
+ Penumbra fraction in [0, 1].
545
+
546
+ ##### Memberof
547
+
548
+ SpotLight
549
+
550
+ ##### Returns
551
+
552
+ `number`
553
+
554
+ #### Set Signature
555
+
556
+ > **set** **penumbra**(`value`): `void`
557
+
558
+ Defined in: [ecs/component/light/SpotLight.ts:179](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L179)
559
+
560
+ Set the penumbra fraction in [0, 1].
561
+
562
+ ##### Memberof
563
+
564
+ SpotLight
565
+
566
+ ##### Parameters
567
+
568
+ ###### value
569
+
570
+ `number`
571
+
572
+ ##### Returns
573
+
574
+ `void`
575
+
576
+ ***
577
+
578
+ ### position
579
+
580
+ #### Get Signature
581
+
582
+ > **get** **position**(): `Readonly`\<`Vector3`\>
583
+
584
+ Defined in: [ecs/component/light/SpotLight.ts:240](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L240)
585
+
586
+ Light position (live reference; in-place writes mark dirty).
587
+
588
+ ##### Memberof
589
+
590
+ SpotLight
591
+
592
+ ##### Returns
593
+
594
+ `Readonly`\<`Vector3`\>
595
+
596
+ #### Set Signature
597
+
598
+ > **set** **position**(`value`): `void`
599
+
600
+ Defined in: [ecs/component/light/SpotLight.ts:227](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L227)
601
+
602
+ Set the light position and mark the world matrix dirty.
603
+
604
+ ##### Memberof
605
+
606
+ SpotLight
607
+
608
+ ##### Parameters
609
+
610
+ ###### value
611
+
612
+ `Vector3`
613
+
614
+ ##### Returns
615
+
616
+ `void`
617
+
618
+ ***
619
+
620
+ ### power
621
+
622
+ #### Get Signature
623
+
624
+ > **get** **power**(): `number`
625
+
626
+ Defined in: [ecs/component/light/SpotLight.ts:95](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L95)
627
+
628
+ Luminous power in lumen.
629
+
630
+ ##### Memberof
631
+
632
+ SpotLight
633
+
634
+ ##### Returns
635
+
636
+ `number`
637
+
638
+ #### Set Signature
639
+
640
+ > **set** **power**(`value`): `void`
641
+
642
+ Defined in: [ecs/component/light/SpotLight.ts:83](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L83)
643
+
644
+ Set luminous power in lumen (lumen = PI * intensity).
645
+
646
+ ##### Memberof
647
+
648
+ SpotLight
649
+
650
+ ##### Parameters
651
+
652
+ ###### value
653
+
654
+ `number`
655
+
656
+ ##### Returns
657
+
658
+ `void`
659
+
660
+ ***
661
+
662
+ ### scene
663
+
664
+ #### Get Signature
665
+
666
+ > **get** **scene**(): [`Scene`](Scene.md)
667
+
668
+ Defined in: [ecs/component/Component.ts:49](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L49)
669
+
670
+ Scene that owns this component, resolved through `entity.scene`.
671
+ Undefined until the entity is attached to a scene.
672
+
673
+ ##### Memberof
674
+
675
+ Component
676
+
677
+ ##### Returns
678
+
679
+ [`Scene`](Scene.md)
680
+
681
+ #### Inherited from
682
+
683
+ [`Component`](Component.md).[`scene`](Component.md#scene)
684
+
685
+ ***
686
+
687
+ ### shadowBias
688
+
689
+ #### Get Signature
690
+
691
+ > **get** **shadowBias**(): `number`
692
+
693
+ Defined in: [ecs/component/light/SpotLight.ts:332](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L332)
694
+
695
+ Shadow depth bias.
696
+
697
+ ##### Memberof
698
+
699
+ SpotLight
700
+
701
+ ##### Returns
702
+
703
+ `number`
704
+
705
+ #### Set Signature
706
+
707
+ > **set** **shadowBias**(`value`): `void`
708
+
709
+ Defined in: [ecs/component/light/SpotLight.ts:319](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L319)
710
+
711
+ Set the shadow depth bias.
712
+
713
+ ##### Memberof
714
+
715
+ SpotLight
716
+
717
+ ##### Parameters
718
+
719
+ ###### value
720
+
721
+ `number`
722
+
723
+ ##### Returns
724
+
725
+ `void`
726
+
727
+ ***
728
+
729
+ ### shadowNormalBias
730
+
731
+ #### Get Signature
732
+
733
+ > **get** **shadowNormalBias**(): `number`
734
+
735
+ Defined in: [ecs/component/light/SpotLight.ts:357](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L357)
736
+
737
+ Shadow sampling offset along surface normals.
738
+
739
+ ##### Memberof
740
+
741
+ SpotLight
742
+
743
+ ##### Returns
744
+
745
+ `number`
746
+
747
+ #### Set Signature
748
+
749
+ > **set** **shadowNormalBias**(`value`): `void`
750
+
751
+ Defined in: [ecs/component/light/SpotLight.ts:344](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L344)
752
+
753
+ Set the shadow sampling offset along surface normals.
754
+
755
+ ##### Memberof
756
+
757
+ SpotLight
758
+
759
+ ##### Parameters
760
+
761
+ ###### value
762
+
763
+ `number`
764
+
765
+ ##### Returns
766
+
767
+ `void`
768
+
769
+ ***
770
+
771
+ ### target
772
+
773
+ #### Get Signature
774
+
775
+ > **get** **target**(): `Readonly`\<`Vector3`\>
776
+
777
+ Defined in: [ecs/component/light/SpotLight.ts:265](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L265)
778
+
779
+ Target position (live reference; in-place writes mark dirty).
780
+
781
+ ##### Memberof
782
+
783
+ SpotLight
784
+
785
+ ##### Returns
786
+
787
+ `Readonly`\<`Vector3`\>
788
+
789
+ #### Set Signature
790
+
791
+ > **set** **target**(`value`): `void`
792
+
793
+ Defined in: [ecs/component/light/SpotLight.ts:252](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L252)
794
+
795
+ Set the target position and mark the world matrix dirty.
796
+
797
+ ##### Memberof
798
+
799
+ SpotLight
800
+
801
+ ##### Parameters
802
+
803
+ ###### value
804
+
805
+ `Vector3`
806
+
807
+ ##### Returns
808
+
809
+ `void`
810
+
811
+ ***
812
+
813
+ ### watts
814
+
815
+ #### Get Signature
816
+
817
+ > **get** **watts**(): `number`
818
+
819
+ Defined in: [ecs/component/light/SpotLight.ts:119](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L119)
820
+
821
+ Radiant power in watt.
822
+
823
+ ##### Memberof
824
+
825
+ SpotLight
826
+
827
+ ##### Returns
828
+
829
+ `number`
830
+
831
+ #### Set Signature
832
+
833
+ > **set** **watts**(`value`): `void`
834
+
835
+ Defined in: [ecs/component/light/SpotLight.ts:107](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L107)
836
+
837
+ Set radiant power in watt (intensity = (watt * 683) / PI).
838
+
839
+ ##### Memberof
840
+
841
+ SpotLight
842
+
843
+ ##### Parameters
844
+
845
+ ###### value
846
+
847
+ `number`
848
+
849
+ ##### Returns
850
+
851
+ `void`
852
+
853
+ ## Methods
854
+
855
+ ### destroy()
856
+
857
+ > **destroy**(): `void`
858
+
859
+ Defined in: [ecs/component/Component.ts:173](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L173)
860
+
861
+ Destroy the component: reset awake state, disable if running without clearing the user switch, run the destroy
862
+ hook, then dispose event listeners.
863
+ Invoked by [Entity.removeComponent](Entity.md#removecomponent); do not call from user code.
864
+
865
+ #### Returns
866
+
867
+ `void`
868
+
869
+ #### Memberof
870
+
871
+ Component
872
+
873
+ #### Inherited from
874
+
875
+ [`Component`](Component.md).[`destroy`](Component.md#destroy)
876
+
877
+ ***
878
+
879
+ ### dispose()
880
+
881
+ > **dispose**(): `void`
882
+
883
+ Defined in: [event/EventDispatcher.ts:192](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/event/EventDispatcher.ts#L192)
884
+
885
+ Clear every subscriber list and release the map entries.
886
+
887
+ #### Returns
888
+
889
+ `void`
890
+
891
+ #### Memberof
892
+
893
+ EventDispatcher
894
+
895
+ #### Inherited from
896
+
897
+ [`Component`](Component.md).[`dispose`](Component.md#dispose)
898
+
899
+ ***
900
+
901
+ ### emit()
902
+
903
+ > **emit**(`event`): `void`
904
+
905
+ Defined in: [event/EventDispatcher.ts:159](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/event/EventDispatcher.ts#L159)
906
+
907
+ Emit an event to subscribers of `event.type` in priority order.
908
+
909
+ The subscriber array is sliced before the loop so removals during a
910
+ callback do not affect iteration. A callback return of `true` stops
911
+ the remaining subscribers for this emission.
912
+
913
+ #### Parameters
914
+
915
+ ##### event
916
+
917
+ Event object; `type` is required
918
+
919
+ ###### type
920
+
921
+ `string`
922
+
923
+ #### Returns
924
+
925
+ `void`
926
+
927
+ #### Memberof
928
+
929
+ EventDispatcher
930
+
931
+ #### Inherited from
932
+
933
+ [`Component`](Component.md).[`emit`](Component.md#emit)
934
+
935
+ ***
936
+
937
+ ### handleAwake()
938
+
939
+ > `protected` **handleAwake**(): `void`
940
+
941
+ Defined in: [ecs/component/Component.ts:194](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L194)
942
+
943
+ Lifecycle hook invoked once when the entity first becomes active in hierarchy (also when the component is
944
+ disabled).
945
+ Runs before enable; entity and scene references are already available.
946
+
947
+ #### Returns
948
+
949
+ `void`
950
+
951
+ #### Memberof
952
+
953
+ Component
954
+
955
+ #### Inherited from
956
+
957
+ [`Component`](Component.md).[`handleAwake`](Component.md#handleawake)
958
+
959
+ ***
960
+
961
+ ### handleDestroy()
962
+
963
+ > `protected` **handleDestroy**(): `void`
964
+
965
+ Defined in: [ecs/component/light/SpotLight.ts:643](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L643)
966
+
967
+ Dispose the native light on destroy.
968
+
969
+ #### Returns
970
+
971
+ `void`
972
+
973
+ #### Memberof
974
+
975
+ SpotLight
976
+
977
+ #### Overrides
978
+
979
+ [`Component`](Component.md).[`handleDestroy`](Component.md#handledestroy)
980
+
981
+ ***
982
+
983
+ ### handleDisable()
984
+
985
+ > `protected` **handleDisable**(): `void`
986
+
987
+ Defined in: [ecs/component/light/SpotLight.ts:628](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L628)
988
+
989
+ Detach the native light and target when disabled.
990
+
991
+ #### Returns
992
+
993
+ `void`
994
+
995
+ #### Memberof
996
+
997
+ SpotLight
998
+
999
+ #### Overrides
1000
+
1001
+ [`Component`](Component.md).[`handleDisable`](Component.md#handledisable)
1002
+
1003
+ ***
1004
+
1005
+ ### handleEnable()
1006
+
1007
+ > `protected` **handleEnable**(): `void`
1008
+
1009
+ Defined in: [ecs/component/light/SpotLight.ts:611](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L611)
1010
+
1011
+ Attach the native light and target under the entity Transform when enabled.
1012
+
1013
+ #### Returns
1014
+
1015
+ `void`
1016
+
1017
+ #### Memberof
1018
+
1019
+ SpotLight
1020
+
1021
+ #### Overrides
1022
+
1023
+ [`Component`](Component.md).[`handleEnable`](Component.md#handleenable)
1024
+
1025
+ ***
1026
+
1027
+ ### off()
1028
+
1029
+ > **off**(`type`, `callback?`): `void`
1030
+
1031
+ Defined in: [event/EventDispatcher.ts:85](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/event/EventDispatcher.ts#L85)
1032
+
1033
+ Unsubscribe from an event type.
1034
+
1035
+ When `callback` is omitted, all subscribers for that type are removed.
1036
+ When `callback` is given, only the first matching subscriber is removed.
1037
+
1038
+ #### Parameters
1039
+
1040
+ ##### type
1041
+
1042
+ `string`
1043
+
1044
+ Event type
1045
+
1046
+ ##### callback?
1047
+
1048
+ [`SubscriberCallbackFn`](../type-aliases/SubscriberCallbackFn.md)
1049
+
1050
+ Callback to remove; omit to clear the type
1051
+
1052
+ #### Returns
1053
+
1054
+ `void`
1055
+
1056
+ #### Memberof
1057
+
1058
+ EventDispatcher
1059
+
1060
+ #### Inherited from
1061
+
1062
+ [`Component`](Component.md).[`off`](Component.md#off)
1063
+
1064
+ ***
1065
+
1066
+ ### on()
1067
+
1068
+ > **on**(`type`, `callback`, `options?`): `void`
1069
+
1070
+ Defined in: [event/EventDispatcher.ts:49](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/event/EventDispatcher.ts#L49)
1071
+
1072
+ Subscribe to an event type, inserting by descending priority.
1073
+
1074
+ #### Parameters
1075
+
1076
+ ##### type
1077
+
1078
+ `string`
1079
+
1080
+ Event type
1081
+
1082
+ ##### callback
1083
+
1084
+ [`SubscriberCallbackFn`](../type-aliases/SubscriberCallbackFn.md)
1085
+
1086
+ Subscriber callback
1087
+
1088
+ ##### options?
1089
+
1090
+ Optional `this` binding. `priority` defaults to [Priority.NORMAL](../enumerations/Priority.md#normal)
1091
+
1092
+ ###### priority?
1093
+
1094
+ [`Priority`](../enumerations/Priority.md)
1095
+
1096
+ ###### target?
1097
+
1098
+ `any`
1099
+
1100
+ #### Returns
1101
+
1102
+ `void`
1103
+
1104
+ #### Memberof
1105
+
1106
+ EventDispatcher
1107
+
1108
+ #### Inherited from
1109
+
1110
+ [`Component`](Component.md).[`on`](Component.md#on)
1111
+
1112
+ ***
1113
+
1114
+ ### once()
1115
+
1116
+ > **once**(`type`, `callback`, `options?`): `void`
1117
+
1118
+ Defined in: [event/EventDispatcher.ts:132](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/event/EventDispatcher.ts#L132)
1119
+
1120
+ Subscribe for a single emission, then unsubscribe automatically.
1121
+
1122
+ The wrapper invokes the original callback, removes itself via `off`,
1123
+ and returns the original callback's return value so stop-propagation
1124
+ still works.
1125
+
1126
+ #### Parameters
1127
+
1128
+ ##### type
1129
+
1130
+ `string`
1131
+
1132
+ Event type
1133
+
1134
+ ##### callback
1135
+
1136
+ [`SubscriberCallbackFn`](../type-aliases/SubscriberCallbackFn.md)
1137
+
1138
+ Subscriber callback
1139
+
1140
+ ##### options?
1141
+
1142
+ Optional `this` binding. `priority` defaults to [Priority.NORMAL](../enumerations/Priority.md#normal)
1143
+
1144
+ ###### priority?
1145
+
1146
+ [`Priority`](../enumerations/Priority.md)
1147
+
1148
+ ###### target?
1149
+
1150
+ `any`
1151
+
1152
+ #### Returns
1153
+
1154
+ `void`
1155
+
1156
+ #### Memberof
1157
+
1158
+ EventDispatcher
1159
+
1160
+ #### Inherited from
1161
+
1162
+ [`Component`](Component.md).[`once`](Component.md#once)
1163
+
1164
+ ***
1165
+
1166
+ ### resetWorldMatrixNeedsUpdate()
1167
+
1168
+ > `protected` **resetWorldMatrixNeedsUpdate**(): `void`
1169
+
1170
+ Defined in: [ecs/component/Component.ts:230](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L230)
1171
+
1172
+ Clear the world-matrix dirty flag after [updateWorldMatrix](Component.md#updateworldmatrix).
1173
+ Called by [ComponentsManager.callWorldMatrixUpdate](ComponentsManager.md#callworldmatrixupdate); does not clear the list index.
1174
+
1175
+ #### Returns
1176
+
1177
+ `void`
1178
+
1179
+ #### Memberof
1180
+
1181
+ Component
1182
+
1183
+ #### Inherited from
1184
+
1185
+ [`Component`](Component.md).[`resetWorldMatrixNeedsUpdate`](Component.md#resetworldmatrixneedsupdate)
1186
+
1187
+ ***
1188
+
1189
+ ### setTarget()
1190
+
1191
+ > **setTarget**(`target`, `worldSpace?`): `void`
1192
+
1193
+ Defined in: [ecs/component/light/SpotLight.ts:405](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L405)
1194
+
1195
+ Set the light target position, optionally converting from world space.
1196
+
1197
+ #### Parameters
1198
+
1199
+ ##### target
1200
+
1201
+ `Vector3`
1202
+
1203
+ Target position
1204
+
1205
+ ##### worldSpace?
1206
+
1207
+ `boolean` = `true`
1208
+
1209
+ Whether `target` is in world space
1210
+
1211
+ #### Returns
1212
+
1213
+ `void`
1214
+
1215
+ #### Memberof
1216
+
1217
+ SpotLight
1218
+
1219
+ ***
1220
+
1221
+ ### translateTargetOnAxis()
1222
+
1223
+ > **translateTargetOnAxis**(`axis`, `distance`): `void`
1224
+
1225
+ Defined in: [ecs/component/light/SpotLight.ts:439](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L439)
1226
+
1227
+ Translate the target along a local axis (assumed normalized).
1228
+
1229
+ #### Parameters
1230
+
1231
+ ##### axis
1232
+
1233
+ `Vector3`
1234
+
1235
+ Translation axis
1236
+
1237
+ ##### distance
1238
+
1239
+ `number`
1240
+
1241
+ Translation distance
1242
+
1243
+ #### Returns
1244
+
1245
+ `void`
1246
+
1247
+ #### Memberof
1248
+
1249
+ SpotLight
1250
+
1251
+ ***
1252
+
1253
+ ### updateShadow()
1254
+
1255
+ > **updateShadow**(): `void`
1256
+
1257
+ Defined in: [ecs/component/light/SpotLight.ts:466](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L466)
1258
+
1259
+ Request a shadow map rebuild on the next update.
1260
+
1261
+ Call when shadow.autoUpdate is false and the shadow must refresh.
1262
+
1263
+ #### Returns
1264
+
1265
+ `void`
1266
+
1267
+ #### Memberof
1268
+
1269
+ SpotLight
1270
+
1271
+ ***
1272
+
1273
+ ### updateWorldMatrix()
1274
+
1275
+ > **updateWorldMatrix**(`matrixAutoUpdate?`): `void`
1276
+
1277
+ Defined in: [ecs/component/light/SpotLight.ts:479](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/light/SpotLight.ts#L479)
1278
+
1279
+ Update the native light and target world matrices when dirty.
1280
+
1281
+ #### Parameters
1282
+
1283
+ ##### matrixAutoUpdate?
1284
+
1285
+ `boolean` = `true`
1286
+
1287
+ Whether Three.js should update local matrices
1288
+
1289
+ #### Returns
1290
+
1291
+ `void`
1292
+
1293
+ #### Memberof
1294
+
1295
+ SpotLight
1296
+
1297
+ #### Overrides
1298
+
1299
+ [`Component`](Component.md).[`updateWorldMatrix`](Component.md#updateworldmatrix)
1300
+
1301
+ ***
1302
+
1303
+ ### worldMatrixNeedsUpdate()
1304
+
1305
+ > **worldMatrixNeedsUpdate**(): `void`
1306
+
1307
+ Defined in: [ecs/component/Component.ts:141](https://github.com/yisky/vista3d/blob/e1ccd08ef45ea4d82a8d984fd687bd5c8240fdd9/packages/core/src/ecs/component/Component.ts#L141)
1308
+
1309
+ Mark the world matrix dirty and enqueue this component for the next matrix update pass.
1310
+ Use when this component's own Object3D local transform changed and no ancestor Transform is the dirty root.
1311
+ Ancestor propagation only marks dirty without enqueueing. No-ops if already dirty; re-calling after scene attach
1312
+ backfills the queue if needed.
1313
+
1314
+ #### Returns
1315
+
1316
+ `void`
1317
+
1318
+ #### Memberof
1319
+
1320
+ Component
1321
+
1322
+ #### Inherited from
1323
+
1324
+ [`Component`](Component.md).[`worldMatrixNeedsUpdate`](Component.md#worldmatrixneedsupdate)