@realsee/five-webgpu 1.0.0-alpha.4 → 1.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/navigation.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/index.AdaptiveLuminancePass.html +1 -1
- package/docs/classes/index.BoundingMesh.html +1 -1
- package/docs/classes/index.Camera.html +1 -1
- package/docs/classes/index.EyeDomeLightingPass.html +1 -1
- package/docs/classes/index.Five.html +38 -38
- package/docs/classes/index.FivePass.html +1 -1
- package/docs/classes/index.FlowingFireworks3DPass.html +1 -1
- package/docs/classes/index.FlowingLight2DPass.html +1 -1
- package/docs/classes/index.FlowingLight3DPass.html +1 -1
- package/docs/classes/index.GaussianBlurPass.html +1 -1
- package/docs/classes/index.InternalWebGPURenderer.html +13 -2
- package/docs/classes/index.Model.html +1 -1
- package/docs/classes/index.ModelScene.html +1 -1
- package/docs/classes/index.NetworkSubscribe.html +1 -1
- package/docs/classes/index.PBMCustomNode.html +57 -0
- package/docs/classes/index.PBMGaussianSplattingNodeMaterial.html +1 -1
- package/docs/classes/index.PBMGaussianSplattingObject.html +1 -1
- package/docs/classes/index.PBMGaussianSplattingRenderMesh.html +1 -1
- package/docs/classes/index.PBMGroup.html +1 -1
- package/docs/classes/index.PBMMesh.html +1 -1
- package/docs/classes/index.PBMMeshBasicMaterial.html +10 -3
- package/docs/classes/index.PBMMeshBasicNodeMaterial.html +22 -5
- package/docs/classes/index.PBMMeshPanoOnlyMaterial.html +10 -3
- package/docs/classes/index.PBMMeshPanoOnlyNodeMaterial.html +22 -5
- package/docs/classes/index.PBMMeshPhongMaterial.html +10 -3
- package/docs/classes/index.PBMMeshPhongNodeMaterial.html +22 -5
- package/docs/classes/index.PBMMeshPhysicalMaterial.html +10 -3
- package/docs/classes/index.PBMMeshPhysicalNodeMaterial.html +22 -5
- package/docs/classes/index.PBMPanoFilter.html +8 -8
- package/docs/classes/index.PBMPointCloud.html +1 -1
- package/docs/classes/index.PBMSkinnedMesh.html +1 -1
- package/docs/classes/index.PBMUpdateable.html +1 -1
- package/docs/classes/index.PanoCircleMesh.html +1 -1
- package/docs/classes/index.PanoCircleMeshCustom.html +1 -1
- package/docs/classes/index.PanoCircleMeshSolid.html +1 -1
- package/docs/classes/index.Parameter.html +57 -52
- package/docs/classes/index.Scene.html +1 -1
- package/docs/classes/index.Subscribe.html +1 -1
- package/docs/classes/index.Tile3D.html +1 -1
- package/docs/classes/index.TileNode.html +1 -1
- package/docs/classes/index.TrajectoryNode.html +1 -1
- package/docs/classes/index.WorkResolvedObserver.html +1 -1
- package/docs/functions/index.customNodesCacheKey.html +3 -0
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/index.AddableObject.html +1 -1
- package/docs/interfaces/index.AjaxOptions.html +1 -1
- package/docs/interfaces/index.BaseEvent.html +1 -1
- package/docs/interfaces/index.EventCallback.html +1 -1
- package/docs/interfaces/index.GestureEvent.html +1 -1
- package/docs/interfaces/index.IPBMMaterial.html +9 -2
- package/docs/interfaces/index.ImageOptions.html +1 -1
- package/docs/interfaces/index.IntersectEvent.html +1 -1
- package/docs/interfaces/index.IntersectMesh.html +1 -1
- package/docs/interfaces/index.IntersectMeshInterface.html +1 -1
- package/docs/interfaces/index.Intersection.html +1 -1
- package/docs/interfaces/index.LooseWorkWithExtrinsics.html +1 -1
- package/docs/interfaces/index.ModeChangeEvent.html +1 -1
- package/docs/interfaces/index.ModelControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.ModelEvent.html +1 -1
- package/docs/interfaces/index.ModelSceneEvent.html +1 -1
- package/docs/interfaces/index.ModelTileEvent.html +1 -1
- package/docs/interfaces/index.MovePanoOptions.html +1 -1
- package/docs/interfaces/index.NetworkAbortError.html +1 -1
- package/docs/interfaces/index.NetworkFirbiddenError.html +1 -1
- package/docs/interfaces/index.NetworkOptions.html +1 -1
- package/docs/interfaces/index.NetworkProxyError.html +1 -1
- package/docs/interfaces/index.NetworkResourceEvent.html +1 -1
- package/docs/interfaces/index.NetworkResponseError.html +1 -1
- package/docs/interfaces/index.NetworkTimeoutError.html +1 -1
- package/docs/interfaces/index.ObjectEvent.html +1 -1
- package/docs/interfaces/index.PBMClipperParameter.html +2 -2
- package/docs/interfaces/index.PBMCustomNodeContext.html +39 -0
- package/docs/interfaces/index.PBMCustomNodeOptions.html +10 -0
- package/docs/interfaces/index.PBMCustomNodePanoContext.html +13 -0
- package/docs/interfaces/index.PBMCustomNodeSlots.html +31 -0
- package/docs/interfaces/index.PBMHDRConfig.html +2 -2
- package/docs/interfaces/index.PBMPanoDepth.html +5 -5
- package/docs/interfaces/index.PBMPanoFilterValue.html +2 -2
- package/docs/interfaces/index.PBMPanoPicture.html +8 -8
- package/docs/interfaces/index.PBMRefinedScreen.html +2 -2
- package/docs/interfaces/index.PanoCircleMeshInterface.html +1 -1
- package/docs/interfaces/index.PanoEvent.html +1 -1
- package/docs/interfaces/index.PanoTextureEvent.html +1 -1
- package/docs/interfaces/index.PanoramaControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.PanoramaLikeControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.ParameterMaterialValue.html +42 -37
- package/docs/interfaces/index.ParameterTilesetValue.html +15 -15
- package/docs/interfaces/index.ParameterValue.html +56 -51
- package/docs/interfaces/index.Pose.html +1 -1
- package/docs/interfaces/index.RenderEvent.html +1 -1
- package/docs/interfaces/index.ResolvedParameterValue.html +56 -51
- package/docs/interfaces/index.State.html +1 -1
- package/docs/interfaces/index.StateEvent.html +1 -1
- package/docs/interfaces/index.TextureOptions.html +1 -1
- package/docs/interfaces/index.TopviewControllerCustomInitArgs.html +1 -1
- package/docs/interfaces/index.ViewLayer.html +1 -1
- package/docs/interfaces/index.WorkCubeImage.html +1 -1
- package/docs/interfaces/index.WorkImage.html +1 -1
- package/docs/interfaces/index.WorkObserver.html +1 -1
- package/docs/interfaces/index.WorkTile.html +1 -1
- package/docs/interfaces/index.WorksEvent.html +1 -1
- package/docs/interfaces/index.XRControllerEvent.html +1 -1
- package/docs/interfaces/index.XRGestureEvent.html +1 -1
- package/docs/interfaces/index.XRSessionEvent.html +1 -1
- package/docs/modules/index.html +1 -1
- package/docs/types/index.PBMCustomNodeTargetType.html +2 -0
- package/docs/types/index.ParseOptions.html +1 -1
- package/five/core/internalWebGPURenderer.d.ts +16 -0
- package/five/core/tiling.d.ts +17 -0
- package/five/index.js +29 -29
- package/five/index.mjs +2866 -2598
- package/five/model/index.d.ts +1 -1
- package/five/model/materials/nodes/pbmMeshBasicNodeMaterial.d.ts +2 -0
- package/five/model/materials/nodes/pbmMeshPanoOnlyNodeMaterial.d.ts +2 -0
- package/five/model/materials/nodes/pbmMeshPhongNodeMaterial.d.ts +2 -0
- package/five/model/materials/nodes/pbmMeshPhysicalNodeMaterial.d.ts +2 -0
- package/five/model/materials/pbmMaterial.d.ts +168 -0
- package/five/model/materials/tsl/defines.d.ts +2 -1
- package/five/model/materials/tsl/outputBuilder.d.ts +8 -4
- package/five/model/parameter.d.ts +13 -1
- package/package.json +1 -1
- package/plugins/index.js +2 -2
- package/plugins/index.mjs +2 -2
- package/react/index.js +2 -2
- package/react/index.mjs +2 -2
- package/umd/five-plugins.js +2 -2
- package/umd/five-react.js +2 -2
- package/umd/five.js +67 -67
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PBMCustomNodeContext | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/index.html">index</a></li><li><a href="" aria-current="page">PBMCustomNodeContext</a></li></ul><h1>Interface PBMCustomNodeContext</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>PBMCustomNode callback 可访问的内置 TSL 节点。</p>
|
|
2
|
+
<p>注意:这里暴露的是节点表达式,不是 CPU 侧的实时数值;它们会被编译进当前材质的 shader。</p>
|
|
3
|
+
</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PBMCustomNodeContext</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#brightness">brightness</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#cameradirection">cameraDirection</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#coloralpha">colorAlpha</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#colorbrightness">colorBrightness</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#colorsaturation">colorSaturation</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#constantcolor">constantColor</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#floorindex">floorIndex</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#flooropacity">floorOpacity</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#iscurrentfloor">isCurrentFloor</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#isroof">isRoof</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#isroofcameracut">isRoofCameraCut</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#isroofmodelalphacut">isRoofModelAlphaCut</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#maxdisplayboost">maxDisplayBoost</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#modelalpha">modelAlpha</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#modelboundingmax">modelBoundingMax</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#modelboundingmin">modelBoundingMin</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pano0">pano0</a><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodePanoContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodePanoContext</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pano1">pano1</a><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodePanoContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodePanoContext</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pixelratio">pixelRatio</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pointmaxpixel">pointMaxPixel</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pointminpixel">pointMinPixel</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#pointscale">pointScale</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#positionview">positionView</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#positionworld">positionWorld</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#progress">progress</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#resolution">resolution</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec2"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#shownfloorindex">shownFloorIndex</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:64</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#brightness" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>brightness</span></a>
|
|
4
|
+
<a href="#cameradirection" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera<wbr/>Direction</span></a>
|
|
5
|
+
<a href="#coloralpha" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>color<wbr/>Alpha</span></a>
|
|
6
|
+
<a href="#colorbrightness" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>color<wbr/>Brightness</span></a>
|
|
7
|
+
<a href="#colorsaturation" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>color<wbr/>Saturation</span></a>
|
|
8
|
+
<a href="#constantcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>constant<wbr/>Color</span></a>
|
|
9
|
+
<a href="#floorindex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>floor<wbr/>Index</span></a>
|
|
10
|
+
<a href="#flooropacity" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>floor<wbr/>Opacity</span></a>
|
|
11
|
+
<a href="#iscurrentfloor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Current<wbr/>Floor</span></a>
|
|
12
|
+
<a href="#isroof" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Roof</span></a>
|
|
13
|
+
<a href="#isroofcameracut" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Roof<wbr/>Camera<wbr/>Cut</span></a>
|
|
14
|
+
<a href="#isroofmodelalphacut" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Roof<wbr/>Model<wbr/>Alpha<wbr/>Cut</span></a>
|
|
15
|
+
<a href="#maxdisplayboost" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Display<wbr/>Boost</span></a>
|
|
16
|
+
<a href="#modelalpha" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Alpha</span></a>
|
|
17
|
+
<a href="#modelboundingmax" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Bounding<wbr/>Max</span></a>
|
|
18
|
+
<a href="#modelboundingmin" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Bounding<wbr/>Min</span></a>
|
|
19
|
+
<a href="#pano0" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano0</span></a>
|
|
20
|
+
<a href="#pano1" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano1</span></a>
|
|
21
|
+
<a href="#pixelratio" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pixel<wbr/>Ratio</span></a>
|
|
22
|
+
<a href="#pointmaxpixel" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>point<wbr/>Max<wbr/>Pixel</span></a>
|
|
23
|
+
<a href="#pointminpixel" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>point<wbr/>Min<wbr/>Pixel</span></a>
|
|
24
|
+
<a href="#pointscale" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>point<wbr/>Scale</span></a>
|
|
25
|
+
<a href="#positionview" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>position<wbr/>View</span></a>
|
|
26
|
+
<a href="#positionworld" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>position<wbr/>World</span></a>
|
|
27
|
+
<a href="#progress" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>progress</span></a>
|
|
28
|
+
<a href="#resolution" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>resolution</span></a>
|
|
29
|
+
<a href="#shownfloorindex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>shown<wbr/>Floor<wbr/>Index</span></a>
|
|
30
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="brightness"><span>brightness</span><a href="#brightness" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">brightness</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:81</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="cameradirection"><span>camera<wbr/>Direction</span><a href="#cameradirection" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">cameraDirection</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>相机朝向(世界/模型渲染使用的 varying)</p>
|
|
31
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:70</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="coloralpha"><span>color<wbr/>Alpha</span><a href="#coloralpha" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">colorAlpha</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:80</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="colorbrightness"><span>color<wbr/>Brightness</span><a href="#colorbrightness" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">colorBrightness</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:83</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="colorsaturation"><span>color<wbr/>Saturation</span><a href="#colorsaturation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">colorSaturation</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:82</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="constantcolor"><span>constant<wbr/>Color</span><a href="#constantcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">constantColor</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:84</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="floorindex"><span>floor<wbr/>Index</span><a href="#floorindex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">floorIndex</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>楼层和屋顶状态</p>
|
|
32
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:87</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="flooropacity"><span>floor<wbr/>Opacity</span><a href="#flooropacity" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">floorOpacity</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:90</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="iscurrentfloor"><span>is<wbr/>Current<wbr/>Floor</span><a href="#iscurrentfloor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">isCurrentFloor</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:89</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="isroof"><span>is<wbr/>Roof</span><a href="#isroof" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">isRoof</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:91</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="isroofcameracut"><span>is<wbr/>Roof<wbr/>Camera<wbr/>Cut</span><a href="#isroofcameracut" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">isRoofCameraCut</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:92</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="isroofmodelalphacut"><span>is<wbr/>Roof<wbr/>Model<wbr/>Alpha<wbr/>Cut</span><a href="#isroofmodelalphacut" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">isRoofModelAlphaCut</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:93</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="maxdisplayboost"><span>max<wbr/>Display<wbr/>Boost</span><a href="#maxdisplayboost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxDisplayBoost</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:78</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="modelalpha"><span>model<wbr/>Alpha</span><a href="#modelalpha" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">modelAlpha</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:79</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="modelboundingmax"><span>model<wbr/>Bounding<wbr/>Max</span><a href="#modelboundingmax" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">modelBoundingMax</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:95</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="modelboundingmin"><span>model<wbr/>Bounding<wbr/>Min</span><a href="#modelboundingmin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">modelBoundingMin</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:94</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pano0"><span>pano0</span><a href="#pano0" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pano0</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodePanoContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodePanoContext</a></div><div class="tsd-comment tsd-typography"><p>起始/结束全景点位的采样结果</p>
|
|
33
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:98</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pano1"><span>pano1</span><a href="#pano1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pano1</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodePanoContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodePanoContext</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:99</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pixelratio"><span>pixel<wbr/>Ratio</span><a href="#pixelratio" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pixelRatio</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>当前像素比</p>
|
|
34
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:74</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pointmaxpixel"><span>point<wbr/>Max<wbr/>Pixel</span><a href="#pointmaxpixel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pointMaxPixel</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:104</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pointminpixel"><span>point<wbr/>Min<wbr/>Pixel</span><a href="#pointminpixel" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pointMinPixel</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:103</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="pointscale"><span>point<wbr/>Scale</span><a href="#pointscale" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">pointScale</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>点云相关参数</p>
|
|
35
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:102</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="positionview"><span>position<wbr/>View</span><a href="#positionview" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">positionView</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>当前片元的视图空间位置</p>
|
|
36
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:68</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="positionworld"><span>position<wbr/>World</span><a href="#positionworld" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">positionWorld</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>当前片元的世界空间位置</p>
|
|
37
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:66</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="progress"><span>progress</span><a href="#progress" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">progress</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>模型/全景渲染参数</p>
|
|
38
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:77</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="resolution"><span>resolution</span><a href="#resolution" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">resolution</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec2"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>当前渲染分辨率</p>
|
|
39
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:72</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="shownfloorindex"><span>shown<wbr/>Floor<wbr/>Index</span><a href="#shownfloorindex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">shownFloorIndex</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:88</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#brightness"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>brightness</span></a><a href="#cameradirection"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>camera<wbr/>Direction</span></a><a href="#coloralpha"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>color<wbr/>Alpha</span></a><a href="#colorbrightness"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>color<wbr/>Brightness</span></a><a href="#colorsaturation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>color<wbr/>Saturation</span></a><a href="#constantcolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>constant<wbr/>Color</span></a><a href="#floorindex"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>floor<wbr/>Index</span></a><a href="#flooropacity"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>floor<wbr/>Opacity</span></a><a href="#iscurrentfloor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Current<wbr/>Floor</span></a><a href="#isroof"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Roof</span></a><a href="#isroofcameracut"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Roof<wbr/>Camera<wbr/>Cut</span></a><a href="#isroofmodelalphacut"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>is<wbr/>Roof<wbr/>Model<wbr/>Alpha<wbr/>Cut</span></a><a href="#maxdisplayboost"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Display<wbr/>Boost</span></a><a href="#modelalpha"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Alpha</span></a><a href="#modelboundingmax"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Bounding<wbr/>Max</span></a><a href="#modelboundingmin"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Bounding<wbr/>Min</span></a><a href="#pano0"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano0</span></a><a href="#pano1"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano1</span></a><a href="#pixelratio"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pixel<wbr/>Ratio</span></a><a href="#pointmaxpixel"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>point<wbr/>Max<wbr/>Pixel</span></a><a href="#pointminpixel"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>point<wbr/>Min<wbr/>Pixel</span></a><a href="#pointscale"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>point<wbr/>Scale</span></a><a href="#positionview"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>position<wbr/>View</span></a><a href="#positionworld"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>position<wbr/>World</span></a><a href="#progress"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>progress</span></a><a href="#resolution"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>resolution</span></a><a href="#shownfloorindex"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>shown<wbr/>Floor<wbr/>Index</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PBMCustomNodeOptions | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/index.html">index</a></li><li><a href="" aria-current="page">PBMCustomNodeOptions</a></li></ul><h1>Interface PBMCustomNodeOptions</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PBMCustomNodeOptions</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#slots">slots</a><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeSlots.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeSlots</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#type">type</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> <a href="../types/index.PBMCustomNodeTargetType.html" class="tsd-signature-type tsd-kind-type-alias">PBMCustomNodeTargetType</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#uniforms">uniforms</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">UniformNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:172</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#slots" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>slots</span></a>
|
|
2
|
+
<a href="#type" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a>
|
|
3
|
+
<a href="#uniforms" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>uniforms?</span></a>
|
|
4
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="slots"><span>slots</span><a href="#slots" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">slots</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeSlots.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeSlots</a></div><div class="tsd-comment tsd-typography"><p>节点插槽</p>
|
|
5
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:176</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="type"><span>type</span><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> <a href="../types/index.PBMCustomNodeTargetType.html" class="tsd-signature-type tsd-kind-type-alias">PBMCustomNodeTargetType</a><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"><p>生效的材质类型</p>
|
|
6
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:174</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="uniforms"><code class="tsd-tag">Optional</code><span>uniforms</span><a href="#uniforms" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">uniforms</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">UniformNode</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>自定义标量 uniforms(可选)。
|
|
7
|
+
登记在这里的 uniform,写其 <code>.value</code> 时会自动触发所属材质刷新(见 watchUniforms)。
|
|
8
|
+
注意:uniformArray 的数据在 <code>.array</code>/元素上,<code>.value</code> setter 捕获不到,
|
|
9
|
+
不要放进这里;这类改动请在原地修改后显式调用 <a href="../classes/index.PBMCustomNode.html#markneedsupdate" class="tsd-kind-method">PBMCustomNode.markNeedsUpdate</a>。</p>
|
|
10
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:183</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#slots"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>slots</span></a><a href="#type"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>type</span></a><a href="#uniforms"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>uniforms</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PBMCustomNodePanoContext | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/index.html">index</a></li><li><a href="" aria-current="page">PBMCustomNodePanoContext</a></li></ul><h1>Interface PBMCustomNodePanoContext</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>全景分支中可供自定义节点使用的节点上下文。
|
|
2
|
+
这些字段是稳定的 PBM API,业务方不需要直接依赖内部 defines.ts 路径。</p>
|
|
3
|
+
</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PBMCustomNodePanoContext</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#depthtrust">depthTrust</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#hdrcolor">hdrColor</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#origin">origin</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#sampledirection">sampleDirection</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#sdrcolor">sdrColor</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:46</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#depthtrust" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>depth<wbr/>Trust</span></a>
|
|
4
|
+
<a href="#hdrcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hdr<wbr/>Color</span></a>
|
|
5
|
+
<a href="#origin" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>origin</span></a>
|
|
6
|
+
<a href="#sampledirection" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sample<wbr/>Direction</span></a>
|
|
7
|
+
<a href="#sdrcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sdr<wbr/>Color</span></a>
|
|
8
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="depthtrust"><span>depth<wbr/>Trust</span><a href="#depthtrust" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">depthTrust</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"float"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>全景深度可信度</p>
|
|
9
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:56</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="hdrcolor"><span>hdr<wbr/>Color</span><a href="#hdrcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hdrColor</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>HDR 处理后的全景颜色</p>
|
|
10
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:54</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="origin"><span>origin</span><a href="#origin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">origin</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>全景点位在世界空间中的原点</p>
|
|
11
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:48</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sampledirection"><span>sample<wbr/>Direction</span><a href="#sampledirection" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">sampleDirection</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>当前片元对应的全景采样方向</p>
|
|
12
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:50</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="sdrcolor"><span>sdr<wbr/>Color</span><a href="#sdrcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">sdrColor</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>SDR 全景颜色</p>
|
|
13
|
+
</div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:52</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#depthtrust"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>depth<wbr/>Trust</span></a><a href="#hdrcolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hdr<wbr/>Color</span></a><a href="#origin"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>origin</span></a><a href="#sampledirection"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sample<wbr/>Direction</span></a><a href="#sdrcolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>sdr<wbr/>Color</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PBMCustomNodeSlots | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/index.html">index</a></li><li><a href="" aria-current="page">PBMCustomNodeSlots</a></li></ul><h1>Interface PBMCustomNodeSlots</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>节点插槽定义</p>
|
|
2
|
+
<p>每个插槽是一个函数,接收当前管线中的节点,返回修改后的节点。
|
|
3
|
+
用户在函数中可自由使用 TSL API(uniform、attribute、Fn、数学运算等)。</p>
|
|
4
|
+
</div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PBMCustomNodeSlots</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#discard">discard</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#modelcolor">modelColor</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">color</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#outputcolor">outputColor</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">color</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec4"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec4"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#panocolor">panoColor</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">panoColor</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#vertexposition">vertexPosition</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">position</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:112</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#discard" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>discard?</span></a>
|
|
5
|
+
<a href="#modelcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Color?</span></a>
|
|
6
|
+
<a href="#outputcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>output<wbr/>Color?</span></a>
|
|
7
|
+
<a href="#panocolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano<wbr/>Color?</span></a>
|
|
8
|
+
<a href="#vertexposition" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>vertex<wbr/>Position?</span></a>
|
|
9
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="discard"><code class="tsd-tag">Optional</code><span>discard</span><a href="#discard" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">discard</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>自定义 discard 逻辑(在管线 discard 判断之后额外追加)
|
|
10
|
+
返回的 bool 节点为 true 时丢弃该片元。</p>
|
|
11
|
+
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">context</span>: <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"bool"</span><span class="tsd-signature-symbol">></span></h4><p>是否丢弃 (bool node)</p>
|
|
12
|
+
</li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:156</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="modelcolor"><code class="tsd-tag">Optional</code><span>model<wbr/>Color</span><a href="#modelcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">modelColor</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">color</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>模型基础颜色修改(在全景混合之前)</p>
|
|
13
|
+
<ul>
|
|
14
|
+
<li>Mesh 材质:在 colorMode 处理之后、pano 混合之前调用</li>
|
|
15
|
+
<li>PointCloud 材质:在实例颜色读取 + HSV 调整之后调用</li>
|
|
16
|
+
</ul>
|
|
17
|
+
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">color</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">color</span>: <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>当前模型颜色 (vec3, linear working space)</p>
|
|
18
|
+
</div></li><li><span><span class="tsd-kind-parameter">context</span>: <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></h4><p>修改后的颜色 (vec3)</p>
|
|
19
|
+
</li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:122</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="outputcolor"><code class="tsd-tag">Optional</code><span>output<wbr/>Color</span><a href="#outputcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">outputColor</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">color</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec4"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec4"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>最终输出颜色修改(在全部管线处理完成后、return 之前)</p>
|
|
20
|
+
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">color</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec4"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec4"</span><span class="tsd-signature-symbol">></span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">color</span>: <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec4"</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>当前最终颜色 (vec4, 含 alpha)</p>
|
|
21
|
+
</div></li><li><span><span class="tsd-kind-parameter">context</span>: <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec4"</span><span class="tsd-signature-symbol">></span></h4><p>修改后的最终颜色 (vec4)</p>
|
|
22
|
+
</li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:145</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="panocolor"><code class="tsd-tag">Optional</code><span>pano<wbr/>Color</span><a href="#panocolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">panoColor</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">panoColor</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>全景颜色修改(在全景采样 + HDR + filter 之后,与模型混合之前)
|
|
23
|
+
仅在启用全景贴图时生效。</p>
|
|
24
|
+
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">panoColor</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">panoColor</span>: <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>当前全景采样颜色 (vec3)</p>
|
|
25
|
+
</div></li><li><span><span class="tsd-kind-parameter">context</span>: <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></h4><p>修改后的全景颜色 (vec3)</p>
|
|
26
|
+
</li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:134</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="vertexposition"><code class="tsd-tag">Optional</code><span>vertex<wbr/>Position</span><a href="#vertexposition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">vertexPosition</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">position</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></div><div class="tsd-comment tsd-typography"><p>顶点位置偏移(世界空间)
|
|
27
|
+
在标准顶点变换之后、投影之前应用。
|
|
28
|
+
注意:PointCloud 材质中此插槽作用于 instancePosition 展开后的 view 空间。</p>
|
|
29
|
+
</div><div class="tsd-type-declaration"><h4>Type Declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">position</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">position</span>: <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></span><div class="tsd-comment tsd-typography"><p>当前世界空间位置 (vec3)</p>
|
|
30
|
+
</div></li><li><span><span class="tsd-kind-parameter">context</span>: <a href="index.PBMCustomNodeContext.html" class="tsd-signature-type tsd-kind-interface">PBMCustomNodeContext</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">Node</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"vec3"</span><span class="tsd-signature-symbol">></span></h4><p>修改后的世界空间位置 (vec3)</p>
|
|
31
|
+
</li></ul></li></ul></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:166</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#discard"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>discard</span></a><a href="#modelcolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>model<wbr/>Color</span></a><a href="#outputcolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>output<wbr/>Color</span></a><a href="#panocolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pano<wbr/>Color</span></a><a href="#vertexposition"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>vertex<wbr/>Position</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PBMHDRConfig | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/index.html">index</a></li><li><a href="" aria-current="page">PBMHDRConfig</a></li></ul><h1>Interface PBMHDRConfig</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PBMHDRConfig</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#gamma">gamma</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#hdrcapacitymax">hdrCapacityMax</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#hdrcapacitymin">hdrCapacityMin</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#map">map</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">CubeTexture</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#maxcontentboost">maxContentBoost</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#mincontentboost">minContentBoost</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>PBMHDRConfig | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/index.html">index</a></li><li><a href="" aria-current="page">PBMHDRConfig</a></li></ul><h1>Interface PBMHDRConfig</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">PBMHDRConfig</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#gamma">gamma</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#hdrcapacitymax">hdrCapacityMax</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#hdrcapacitymin">hdrCapacityMin</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#map">map</a><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">CubeTexture</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#maxcontentboost">maxContentBoost</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#mincontentboost">minContentBoost</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="3777"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-signature-type">HDRCfgData</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">PBMHDRConfig</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:516</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#gamma" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gamma</span></a>
|
|
2
2
|
<a href="#hdrcapacitymax" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hdr<wbr/>Capacity<wbr/>Max</span></a>
|
|
3
3
|
<a href="#hdrcapacitymin" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hdr<wbr/>Capacity<wbr/>Min</span></a>
|
|
4
4
|
<a href="#map" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>map</span></a>
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="gamma"><span>gamma</span><a href="#gamma" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">gamma</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>GainMap gamma 值</p>
|
|
8
8
|
</div><aside class="tsd-sources"><p>Inherited from HDRCfgData.gamma</p><ul><li>Defined in lib/five/utils/hdr-data.ts:11</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="hdrcapacitymax"><span>hdr<wbr/>Capacity<wbr/>Max</span><a href="#hdrcapacitymax" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hdrCapacityMax</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>显示器 HDR 容量上限</p>
|
|
9
9
|
</div><aside class="tsd-sources"><p>Inherited from HDRCfgData.hdrCapacityMax</p><ul><li>Defined in lib/five/utils/hdr-data.ts:9</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="hdrcapacitymin"><span>hdr<wbr/>Capacity<wbr/>Min</span><a href="#hdrcapacitymin" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">hdrCapacityMin</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>显示器 HDR 容量下限(通常为 1)</p>
|
|
10
|
-
</div><aside class="tsd-sources"><p>Inherited from HDRCfgData.hdrCapacityMin</p><ul><li>Defined in lib/five/utils/hdr-data.ts:7</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="map"><span>map</span><a href="#map" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">map</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">CubeTexture</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:
|
|
10
|
+
</div><aside class="tsd-sources"><p>Inherited from HDRCfgData.hdrCapacityMin</p><ul><li>Defined in lib/five/utils/hdr-data.ts:7</li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="map"><span>map</span><a href="#map" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">map</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs/" class="tsd-signature-type external" target="_blank">CubeTexture</a></div><aside class="tsd-sources"><ul><li>Defined in lib/five/model/materials/pbmMaterial.ts:517</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="maxcontentboost"><span>max<wbr/>Content<wbr/>Boost</span><a href="#maxcontentboost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxContentBoost</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>GainMap 最大亮度增益</p>
|
|
11
11
|
</div><aside class="tsd-sources"><p>Inherited from HDRCfgData.maxContentBoost</p><ul><li>Defined in lib/five/utils/hdr-data.ts:3</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited"><h3 class="tsd-anchor-link" id="mincontentboost"><span>min<wbr/>Content<wbr/>Boost</span><a href="#mincontentboost" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">minContentBoost</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>GainMap 最小亮度增益(通常为 1)</p>
|
|
12
12
|
</div><aside class="tsd-sources"><p>Inherited from HDRCfgData.minContentBoost</p><ul><li>Defined in lib/five/utils/hdr-data.ts:5</li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#gamma" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>gamma</span></a><a href="#hdrcapacitymax" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hdr<wbr/>Capacity<wbr/>Max</span></a><a href="#hdrcapacitymin" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hdr<wbr/>Capacity<wbr/>Min</span></a><a href="#map"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>map</span></a><a href="#maxcontentboost" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Content<wbr/>Boost</span></a><a href="#mincontentboost" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>min<wbr/>Content<wbr/>Boost</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">如视 Five SDK</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|