@realsee/five 5.0.0-alpha.21 → 5.0.0-alpha.211
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/README.md +18 -8
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +134 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1414 -0
- package/docs/classes/five.AnimationFrameLoop.html +15 -0
- package/docs/classes/five.BVH.html +10 -0
- package/docs/classes/five.BVHIntersect.html +1 -0
- package/docs/classes/five.BVHNode.html +7 -0
- package/docs/classes/five.BVHVector3.html +1 -0
- package/docs/classes/five.Camera.html +11 -0
- package/docs/classes/five.Clipper.html +1 -0
- package/docs/classes/five.Five.html +335 -0
- package/docs/classes/five.InternalWebGLRenderer.html +1 -0
- package/docs/classes/five.IntersectMesh.html +1 -0
- package/docs/classes/five.Model.html +99 -0
- package/docs/classes/five.NetworkSubscribe.html +50 -0
- package/docs/classes/five.PBMContainer.html +17 -0
- package/docs/classes/five.PBMGroup.html +19 -0
- package/docs/classes/five.PBMMaterial.html +29 -0
- package/docs/classes/five.PBMMesh.html +7 -0
- package/docs/classes/five.PanoCircleMesh.html +7 -0
- package/docs/classes/five.PanoCircleMeshCustom.html +7 -0
- package/docs/classes/five.PanoCircleMeshSolid.html +7 -0
- package/docs/classes/five.Scene.html +3 -0
- package/docs/classes/five.Subscribe.html +56 -0
- package/docs/classes/five.TextureLoader.html +1 -0
- package/docs/classes/five.Tile3D.html +34 -0
- package/docs/classes/five.Tile3DModel.html +15 -0
- package/docs/classes/five.TileBoundingSphere.html +1 -0
- package/docs/classes/five.TileCacheNode.html +1 -0
- package/docs/classes/five.TileCubeTextureTarget.html +1 -0
- package/docs/classes/five.TileCullingVolume.html +1 -0
- package/docs/classes/five.TileOrientedBoundingBox.html +1 -0
- package/docs/classes/five.TileRequestScheduler.html +16 -0
- package/docs/classes/five.Tileset3D.html +11 -0
- package/docs/classes/five.Tileset3DTraverser.html +1 -0
- package/docs/classes/five.TilesetCache.html +1 -0
- package/docs/classes/five.Work.html +32 -0
- package/docs/classes/five.XRButton.html +1 -0
- package/docs/classes/gltf_loader.DDSLoader.html +1 -0
- package/docs/classes/gltf_loader.DRACOLoader.html +1 -0
- package/docs/classes/gltf_loader.GLTFLoader.html +17 -0
- package/docs/classes/gltf_loader.GLTFObject.html +7 -0
- package/docs/classes/gltf_loader.GLTFParser.html +1 -0
- package/docs/classes/gltf_loader.THREEGLTFLoader.html +1 -0
- package/docs/classes/line.Line.html +1 -0
- package/docs/classes/line.LineGeometry.html +1 -0
- package/docs/classes/line.LineMaterial.html +1 -0
- package/docs/classes/line.LineSegmentsGeometry.html +1 -0
- package/docs/classes/line.THREE_Line2.html +1 -0
- package/docs/classes/line.THREE_LineSegments2.html +1 -0
- package/docs/classes/react.Store.html +29 -0
- package/docs/classes/server.BVH.html +10 -0
- package/docs/classes/server.BVHIntersect.html +1 -0
- package/docs/classes/server.BVHNode.html +7 -0
- package/docs/classes/server.BVHVector3.html +1 -0
- package/docs/classes/server.Model.html +70 -0
- package/docs/classes/server.PBMContainer.html +7 -0
- package/docs/classes/server.PBMGroup.html +9 -0
- package/docs/classes/server.PBMMesh.html +7 -0
- package/docs/classes/sticker.Sticker.html +32 -0
- package/docs/classes/vfx.Airflow.html +1 -0
- package/docs/classes/vfx.Flame.html +1 -0
- package/docs/classes/vfx.Particle.html +89 -0
- package/docs/classes/vfx.SpotLight.html +1 -0
- package/docs/index.html +166 -434
- package/docs/interfaces/five.AddableObject.html +9 -0
- package/docs/interfaces/five.AnimationFrame.html +1 -0
- package/docs/interfaces/five.CameraPose.html +1 -0
- package/docs/interfaces/five.ClipperParameter.html +1 -0
- package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +28 -0
- package/docs/interfaces/five.EventCallback.html +405 -0
- package/docs/interfaces/five.FiveInitArgs.html +111 -0
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +17 -0
- package/docs/interfaces/five.ImageOptions.html +18 -0
- package/docs/interfaces/five.ImageURLMappings.html +1 -0
- package/docs/interfaces/five.ImageURLOptions.html +15 -0
- package/docs/interfaces/five.IntersectMeshInterface.html +3 -0
- package/docs/interfaces/five.Intersection.html +7 -0
- package/docs/interfaces/five.MapviewControllerCustomInitArgs.html +15 -0
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +20 -0
- package/docs/interfaces/five.ModelEventCallback.html +26 -0
- package/docs/interfaces/five.ModelLodOptions.html +1 -0
- package/docs/interfaces/five.MotionKeyframe.html +1 -0
- package/docs/interfaces/five.MovePanoOptions.html +42 -0
- package/docs/interfaces/five.NetworkOptions.html +9 -0
- package/docs/interfaces/five.PBMPanoPicture.html +7 -0
- package/docs/interfaces/five.PBMParameters.html +29 -0
- package/docs/interfaces/five.PanoCircleMeshCustomOptions.html +1 -0
- package/docs/interfaces/five.PanoCircleMeshInterface.html +19 -0
- package/docs/interfaces/five.PanoCircleMeshOptions.html +1 -0
- package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +1 -0
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +35 -0
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +20 -0
- package/docs/interfaces/five.Pose.html +37 -0
- package/docs/interfaces/five.Scissor.html +14 -0
- package/docs/interfaces/five.State.html +21 -0
- package/docs/interfaces/five.SubscribeMixinType.emit.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.hasListener.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.off.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.on.html +1 -0
- package/docs/interfaces/five.SubscribeMixinType.once.html +1 -0
- package/docs/interfaces/five.TextureOptions.html +20 -0
- package/docs/interfaces/five.Tile3DModelLoaderOptions.html +3 -0
- package/docs/interfaces/five.TileBoundingVolume.html +19 -0
- package/docs/interfaces/five.TileContent.html +1 -0
- package/docs/interfaces/five.TileCubeNode.html +1 -0
- package/docs/interfaces/five.TileCubeTree.html +1 -0
- package/docs/interfaces/five.Tileset3dOptions.html +1 -0
- package/docs/interfaces/five.TilesetJSON.html +1 -0
- package/docs/interfaces/five.TilesetJSONNode.html +1 -0
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +9 -0
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +31 -0
- package/docs/interfaces/five.WebXRAxesParams.html +1 -0
- package/docs/interfaces/five.WebXRControllerParams.html +1 -0
- package/docs/interfaces/five.WorkCubeImage.html +13 -0
- package/docs/interfaces/five.WorkImage.html +21 -0
- package/docs/interfaces/five.WorkInitial.html +13 -0
- package/docs/interfaces/five.WorkModel.html +11 -0
- package/docs/interfaces/five.WorkModelTiles.html +3 -0
- package/docs/interfaces/five.WorkObserver.html +27 -0
- package/docs/interfaces/five.WorkTile.html +1 -0
- package/docs/interfaces/five.WorkVideo.html +9 -0
- package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +31 -0
- package/docs/interfaces/gltf_loader.DDS.html +1 -0
- package/docs/interfaces/gltf_loader.GLTF.html +7 -0
- package/docs/interfaces/gltf_loader.GLTFReference.html +1 -0
- package/docs/interfaces/gltf_loader.THREEGLTF.html +1 -0
- package/docs/interfaces/react.FiveActionReactCallbacks.html +52 -0
- package/docs/interfaces/react.FiveInjectionTypes.html +181 -0
- package/docs/interfaces/react.PropTypeOfFiveFeatures.html +1 -0
- package/docs/interfaces/server.Intersection.html +7 -0
- package/docs/interfaces/server.ModelEventCallback.html +18 -0
- package/docs/interfaces/sticker.IntersectionLike.html +8 -0
- package/docs/interfaces/vfx.ParticleArgs.html +75 -0
- package/docs/interfaces/vfx.ParticleTweenKeyframe.html +1 -0
- package/docs/interfaces/vue.FiveActionVueCallbacks.html +60 -0
- package/docs/modules/five.SubscribeMixinType.html +1 -0
- package/docs/modules/five.html +470 -3006
- package/docs/modules/gltf_loader.html +1 -155
- package/docs/modules/line.html +1 -210
- package/docs/modules/react.html +130 -1507
- package/docs/modules/server.html +18 -526
- package/docs/modules/sticker.html +1 -151
- package/docs/modules/vfx.html +1 -0
- package/docs/modules/vue.html +115 -0
- package/docs/modules.html +1 -136
- package/exporters/staticify.js +210 -0
- package/five/index.d.ts +1506 -283
- package/five/index.js +362 -1
- package/gltf-loader/index.d.ts +90 -5
- package/gltf-loader/index.js +260 -1
- package/line/index.d.ts +1 -0
- package/line/index.js +260 -1
- package/package.json +12 -11
- package/react/index.d.ts +73 -72
- package/react/index.js +260 -1
- package/scripts/five-staticify.js +26 -0
- package/server/index.d.ts +222 -27
- package/server/index.js +357 -1
- package/sticker/index.d.ts +2 -1
- package/sticker/index.js +260 -1
- package/templates/quick-start/package.json +1 -1
- package/umd/five-gltf-loader.js +1 -2
- package/umd/five-line.js +1 -2
- package/umd/five-react.js +1 -2
- package/umd/five-sticker.js +1 -2
- package/umd/five-vfx.js +1 -0
- package/umd/five-vue.js +1 -0
- package/umd/five.js +1 -1
- package/umd/five.js.LICENSE.txt +58 -118
- package/vfx/index.d.ts +264 -0
- package/vfx/index.js +260 -0
- package/vue/index.d.ts +441 -0
- package/vue/index.js +260 -0
- package/docs/assets/css/main.css +0 -2660
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
- package/docs/classes/five.camera.html +0 -323
- package/docs/classes/five.five-1.html +0 -2670
- package/docs/classes/five.hashcubetexture.html +0 -252
- package/docs/classes/five.internalwebglrenderer.html +0 -212
- package/docs/classes/five.model.html +0 -962
- package/docs/classes/five.pbmcontainer.html +0 -411
- package/docs/classes/five.pbmgroup.html +0 -430
- package/docs/classes/five.pbmmaterial.html +0 -533
- package/docs/classes/five.pbmmesh.html +0 -254
- package/docs/classes/five.scene.html +0 -263
- package/docs/classes/five.subscribe.html +0 -569
- package/docs/classes/gltf_loader.gltfloader.html +0 -412
- package/docs/classes/gltf_loader.gltfobject.html +0 -287
- package/docs/classes/line.line-1.html +0 -384
- package/docs/classes/line.linegeometry.html +0 -530
- package/docs/classes/line.linematerial.html +0 -306
- package/docs/classes/line.linesegmentsgeometry.html +0 -477
- package/docs/classes/line.three_line2.html +0 -280
- package/docs/classes/line.three_linesegments2.html +0 -282
- package/docs/classes/react.store.html +0 -605
- package/docs/classes/server.model.html +0 -823
- package/docs/classes/server.pbmgroup.html +0 -366
- package/docs/classes/server.pbmmesh.html +0 -335
- package/docs/classes/sticker.sticker-1.html +0 -465
- package/docs/interfaces/five.addableobject.html +0 -234
- package/docs/interfaces/five.depthpanoramacontrollercustominitargs.html +0 -420
- package/docs/interfaces/five.eventcallback.html +0 -2548
- package/docs/interfaces/five.fiveinitargs.html +0 -707
- package/docs/interfaces/five.floorplancontrollercustominitargs.html +0 -295
- package/docs/interfaces/five.imageoptions.html +0 -332
- package/docs/interfaces/five.intersection.html +0 -227
- package/docs/interfaces/five.intersectmeshinterface.html +0 -188
- package/docs/interfaces/five.modelcontrollercustominitargs.html +0 -366
- package/docs/interfaces/five.modeleventcallback.html +0 -367
- package/docs/interfaces/five.movepanooptions.html +0 -469
- package/docs/interfaces/five.panocirclemeshinterface.html +0 -361
- package/docs/interfaces/five.panoramacontrollercustominitargs.html +0 -464
- package/docs/interfaces/five.panoramalikecontrollercustominitargs.html +0 -364
- package/docs/interfaces/five.pbmparameters.html +0 -474
- package/docs/interfaces/five.pose.html +0 -270
- package/docs/interfaces/five.scissor.html +0 -252
- package/docs/interfaces/five.state.html +0 -300
- package/docs/interfaces/five.subscribemixintype.emit.html +0 -180
- package/docs/interfaces/five.subscribemixintype.haslistener.html +0 -171
- package/docs/interfaces/five.subscribemixintype.off.html +0 -198
- package/docs/interfaces/five.subscribemixintype.on.html +0 -213
- package/docs/interfaces/five.subscribemixintype.once.html +0 -210
- package/docs/interfaces/five.topviewcontrollercustominitargs.html +0 -226
- package/docs/interfaces/five.vrpanoramacontrollercustominitargs.html +0 -452
- package/docs/interfaces/gltf_loader.gltf.html +0 -304
- package/docs/interfaces/react.fiveactionreactcallbacks.html +0 -580
- package/docs/interfaces/react.fiveinjectiontypes.html +0 -1625
- package/docs/interfaces/react.injectfivetoprops.html +0 -280
- package/docs/interfaces/server.intersection.html +0 -308
- package/docs/interfaces/server.modeleventcallback.html +0 -409
- package/docs/interfaces/sticker.intersectionlike.html +0 -223
- package/docs/modules/five.subscribemixintype.html +0 -143
- package/scripts/export-five-resource/chfs.exe +0 -0
- package/scripts/export-five-resource/fileify.js +0 -192
- package/scripts/export-five-resource/format-work.js +0 -71
- package/scripts/export-five-resource/staticify.js +0 -327
- package/scripts/transcode-model/BufferGeometryUtils.js +0 -832
- package/scripts/transcode-model/LoaderSupport.js +0 -1545
- package/scripts/transcode-model/MTLLoader.js +0 -602
- package/scripts/transcode-model/OBJLoader2.js +0 -1470
- package/scripts/transcode-model/obj2pbm.js +0 -65
- /package/docs/assets/{images/icons.png → icons.png} +0 -0
- /package/docs/assets/{images/icons@2x.png → icons@2x.png} +0 -0
- /package/docs/assets/{images/widgets.png → widgets.png} +0 -0
- /package/docs/assets/{images/widgets@2x.png → widgets@2x.png} +0 -0
- /package/resource/{basis_transcoder.js → basis/basis_transcoder.js} +0 -0
- /package/resource/{basis_transcoder.wasm → basis/basis_transcoder.wasm} +0 -0
- /package/resource/{draco_decoder.js → gltf/draco_decoder.js} +0 -0
- /package/resource/{draco_decoder.wasm → gltf/draco_decoder.wasm} +0 -0
- /package/resource/{draco_wasm_wrapper.js → gltf/draco_wasm_wrapper.js} +0 -0
|
@@ -1,962 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html class="default no-js">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Model | 如视 Five SDK - v5.0.0-alpha.21</title>
|
|
7
|
-
<meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.21">
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
-
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
|
-
<script async src="../assets/js/search.js" id="search-script"></script>
|
|
11
|
-
</head>
|
|
12
|
-
<body>
|
|
13
|
-
<header>
|
|
14
|
-
<div class="tsd-page-toolbar">
|
|
15
|
-
<div class="container">
|
|
16
|
-
<div class="table-wrap">
|
|
17
|
-
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
|
18
|
-
<div class="field">
|
|
19
|
-
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
20
|
-
<input id="tsd-search-field" type="text" />
|
|
21
|
-
</div>
|
|
22
|
-
<ul class="results">
|
|
23
|
-
<li class="state loading">Preparing search index...</li>
|
|
24
|
-
<li class="state failure">The search index is not available</li>
|
|
25
|
-
</ul>
|
|
26
|
-
<a href="../index.html" class="title">如视 Five SDK - v5.0.0-alpha.21</a>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="table-cell" id="tsd-widgets">
|
|
29
|
-
<div id="tsd-filter">
|
|
30
|
-
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
31
|
-
<div class="tsd-filter-group">
|
|
32
|
-
<div class="tsd-select" id="tsd-filter-visibility">
|
|
33
|
-
<span class="tsd-select-label">All</span>
|
|
34
|
-
<ul class="tsd-select-list">
|
|
35
|
-
<li data-value="public">Public</li>
|
|
36
|
-
<li data-value="protected">Public/Protected</li>
|
|
37
|
-
<li data-value="private" class="selected">All</li>
|
|
38
|
-
</ul>
|
|
39
|
-
</div>
|
|
40
|
-
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
41
|
-
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
<div class="tsd-page-title">
|
|
50
|
-
<div class="container">
|
|
51
|
-
<ul class="tsd-breadcrumb">
|
|
52
|
-
<li>
|
|
53
|
-
<a href="../modules.html">如视 Five SDK - v5.0.0-alpha.21</a>
|
|
54
|
-
</li>
|
|
55
|
-
<li>
|
|
56
|
-
<a href="../modules/five.html">five</a>
|
|
57
|
-
</li>
|
|
58
|
-
<li>
|
|
59
|
-
<a href="five.model.html">Model</a>
|
|
60
|
-
</li>
|
|
61
|
-
</ul>
|
|
62
|
-
<h1>Class Model</h1>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</header>
|
|
66
|
-
<div class="container container-main">
|
|
67
|
-
<div class="row">
|
|
68
|
-
<div class="col-8 col-content">
|
|
69
|
-
<section class="tsd-panel tsd-comment">
|
|
70
|
-
<div class="tsd-comment tsd-typography">
|
|
71
|
-
<div class="lead">
|
|
72
|
-
<p>Five 模型</p>
|
|
73
|
-
</div>
|
|
74
|
-
<dl class="tsd-comment-tags">
|
|
75
|
-
<dt>description</dt>
|
|
76
|
-
<dd><p>通过 work 数据加载, 适配 at3d、pbm、dome、domez 格式的文件
|
|
77
|
-
可以通过 jsonp 解析 base64 的 dataURL 内容,
|
|
78
|
-
需要满足 your/path/filename.at3d.json_xxxxxx,
|
|
79
|
-
通过 json_xxxxxx(<dataURL>) 方式返回。</p>
|
|
80
|
-
</dd>
|
|
81
|
-
</dl>
|
|
82
|
-
</div>
|
|
83
|
-
</section>
|
|
84
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
85
|
-
<h3>Hierarchy</h3>
|
|
86
|
-
<ul class="tsd-hierarchy">
|
|
87
|
-
<li>
|
|
88
|
-
<a href="five.pbmcontainer.html" class="tsd-signature-type" data-tsd-kind="Class">PBMContainer</a>
|
|
89
|
-
<ul class="tsd-hierarchy">
|
|
90
|
-
<li>
|
|
91
|
-
<span class="target">Model</span>
|
|
92
|
-
</li>
|
|
93
|
-
</ul>
|
|
94
|
-
</li>
|
|
95
|
-
</ul>
|
|
96
|
-
</section>
|
|
97
|
-
<section class="tsd-panel">
|
|
98
|
-
<h3>Implements</h3>
|
|
99
|
-
<ul class="tsd-hierarchy">
|
|
100
|
-
<li><a href="five.subscribe.html" class="tsd-signature-type" data-tsd-kind="Class">Subscribe</a><span class="tsd-signature-symbol"><</span><a href="../modules/five.html#modeleventtype" class="tsd-signature-type" data-tsd-kind="Type alias">ModelEventType</a><span class="tsd-signature-symbol">></span></li>
|
|
101
|
-
</ul>
|
|
102
|
-
</section>
|
|
103
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
104
|
-
<h2>Index</h2>
|
|
105
|
-
<section class="tsd-panel tsd-index-panel">
|
|
106
|
-
<div class="tsd-index-content">
|
|
107
|
-
<section class="tsd-index-section ">
|
|
108
|
-
<h3>Constructors</h3>
|
|
109
|
-
<ul class="tsd-index-list">
|
|
110
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="five.model.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
|
111
|
-
</ul>
|
|
112
|
-
</section>
|
|
113
|
-
<section class="tsd-index-section ">
|
|
114
|
-
<h3>Properties</h3>
|
|
115
|
-
<ul class="tsd-index-list">
|
|
116
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#bounding" class="tsd-kind-icon">bounding</a></li>
|
|
117
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#bvhs" class="tsd-kind-icon">bvhs</a></li>
|
|
118
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#emit" class="tsd-kind-icon">emit</a></li>
|
|
119
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#empty" class="tsd-kind-icon">empty</a></li>
|
|
120
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#floorlength" class="tsd-kind-icon">floor<wbr>Length</a></li>
|
|
121
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#haslistener" class="tsd-kind-icon">has<wbr>Listener</a></li>
|
|
122
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#loaded" class="tsd-kind-icon">loaded</a></li>
|
|
123
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="five.model.html#needsrender" class="tsd-kind-icon">needs<wbr>Render</a></li>
|
|
124
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#off" class="tsd-kind-icon">off</a></li>
|
|
125
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#on" class="tsd-kind-icon">on</a></li>
|
|
126
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#once" class="tsd-kind-icon">once</a></li>
|
|
127
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><a href="five.model.html#shownfloor" class="tsd-kind-icon">shown<wbr>Floor</a></li>
|
|
128
|
-
</ul>
|
|
129
|
-
</section>
|
|
130
|
-
<section class="tsd-index-section ">
|
|
131
|
-
<h3>Accessors</h3>
|
|
132
|
-
<ul class="tsd-index-list">
|
|
133
|
-
<li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="five.model.html#shownfloor-1" class="tsd-kind-icon">shownfloor</a></li>
|
|
134
|
-
</ul>
|
|
135
|
-
</section>
|
|
136
|
-
<section class="tsd-index-section ">
|
|
137
|
-
<h3>Methods</h3>
|
|
138
|
-
<ul class="tsd-index-list">
|
|
139
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="five.model.html#buildbvh" class="tsd-kind-icon">buildBVH</a></li>
|
|
140
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="five.model.html#dispose" class="tsd-kind-icon">dispose</a></li>
|
|
141
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="five.model.html#disposegeometry" class="tsd-kind-icon">dispose<wbr>Geometry</a></li>
|
|
142
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="five.model.html#disposematerial" class="tsd-kind-icon">dispose<wbr>Material</a></li>
|
|
143
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="five.model.html#getedges" class="tsd-kind-icon">get<wbr>Edges</a></li>
|
|
144
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="five.model.html#getmaterial" class="tsd-kind-icon">get<wbr>Material</a></li>
|
|
145
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="five.model.html#gettransparent" class="tsd-kind-icon">get<wbr>Transparent</a></li>
|
|
146
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="five.model.html#hasfloors" class="tsd-kind-icon">has<wbr>Floors</a></li>
|
|
147
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="five.model.html#hasfloors_" class="tsd-kind-icon">has<wbr>Floors_</a></li>
|
|
148
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="five.model.html#intersectraycaster" class="tsd-kind-icon">intersect<wbr>Raycaster</a></li>
|
|
149
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="five.model.html#load" class="tsd-kind-icon">load</a></li>
|
|
150
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="five.model.html#setmaterial" class="tsd-kind-icon">set<wbr>Material</a></li>
|
|
151
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="five.model.html#settransparent" class="tsd-kind-icon">set<wbr>Transparent</a></li>
|
|
152
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><a href="five.model.html#show" class="tsd-kind-icon">show</a></li>
|
|
153
|
-
</ul>
|
|
154
|
-
</section>
|
|
155
|
-
</div>
|
|
156
|
-
</section>
|
|
157
|
-
</section>
|
|
158
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
159
|
-
<h2>Constructors</h2>
|
|
160
|
-
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
|
|
161
|
-
<a name="constructor" class="tsd-anchor"></a>
|
|
162
|
-
<h3>constructor</h3>
|
|
163
|
-
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
|
|
164
|
-
<li class="tsd-signature tsd-kind-icon">new <wbr>Model<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a></li>
|
|
165
|
-
</ul>
|
|
166
|
-
<ul class="tsd-descriptions">
|
|
167
|
-
<li class="tsd-description">
|
|
168
|
-
<aside class="tsd-sources">
|
|
169
|
-
<p>Overrides <a href="five.pbmcontainer.html">PBMContainer</a>.<a href="five.pbmcontainer.html#constructor">constructor</a></p>
|
|
170
|
-
<ul>
|
|
171
|
-
<li>Defined in lib/five/loaders/model/index.ts:156</li>
|
|
172
|
-
</ul>
|
|
173
|
-
</aside>
|
|
174
|
-
<h4 class="tsd-returns-title">Returns <a href="five.model.html" class="tsd-signature-type" data-tsd-kind="Class">Model</a></h4>
|
|
175
|
-
</li>
|
|
176
|
-
</ul>
|
|
177
|
-
</section>
|
|
178
|
-
</section>
|
|
179
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
180
|
-
<h2>Properties</h2>
|
|
181
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
182
|
-
<a name="bounding" class="tsd-anchor"></a>
|
|
183
|
-
<h3>bounding</h3>
|
|
184
|
-
<div class="tsd-signature tsd-kind-icon">bounding<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Box3</span></div>
|
|
185
|
-
<aside class="tsd-sources">
|
|
186
|
-
<ul>
|
|
187
|
-
<li>Defined in lib/five/loaders/model/index.ts:117</li>
|
|
188
|
-
</ul>
|
|
189
|
-
</aside>
|
|
190
|
-
<div class="tsd-comment tsd-typography">
|
|
191
|
-
<div class="lead">
|
|
192
|
-
<p>外接盒子的大小</p>
|
|
193
|
-
</div>
|
|
194
|
-
</div>
|
|
195
|
-
</section>
|
|
196
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
197
|
-
<a name="bvhs" class="tsd-anchor"></a>
|
|
198
|
-
<h3>bvhs</h3>
|
|
199
|
-
<div class="tsd-signature tsd-kind-icon">bvhs<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>loaded<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> }</span></div>
|
|
200
|
-
<aside class="tsd-sources">
|
|
201
|
-
<ul>
|
|
202
|
-
<li>Defined in lib/five/loaders/model/index.ts:156</li>
|
|
203
|
-
</ul>
|
|
204
|
-
</aside>
|
|
205
|
-
<div class="tsd-comment tsd-typography">
|
|
206
|
-
<div class="lead">
|
|
207
|
-
<p>bvh 树的计算结果</p>
|
|
208
|
-
</div>
|
|
209
|
-
</div>
|
|
210
|
-
</section>
|
|
211
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
212
|
-
<a name="emit" class="tsd-anchor"></a>
|
|
213
|
-
<h3>emit</h3>
|
|
214
|
-
<div class="tsd-signature tsd-kind-icon">emit<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.subscribemixintype.emit.html" class="tsd-signature-type" data-tsd-kind="Interface">emit</a><span class="tsd-signature-symbol"><</span><a href="../modules/five.html#modeleventtype" class="tsd-signature-type" data-tsd-kind="Type alias">ModelEventType</a><span class="tsd-signature-symbol">></span></div>
|
|
215
|
-
<aside class="tsd-sources">
|
|
216
|
-
<p>Implementation of Subscribe.emit</p>
|
|
217
|
-
<ul>
|
|
218
|
-
<li>Defined in lib/five/loaders/model/index.ts:153</li>
|
|
219
|
-
</ul>
|
|
220
|
-
</aside>
|
|
221
|
-
<div class="tsd-comment tsd-typography">
|
|
222
|
-
<div class="lead">
|
|
223
|
-
<p>触发事件
|
|
224
|
-
具体可查看 <a href="five.subscribe.html#emit">Subscribe.emit</a></p>
|
|
225
|
-
</div>
|
|
226
|
-
</div>
|
|
227
|
-
</section>
|
|
228
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
229
|
-
<a name="empty" class="tsd-anchor"></a>
|
|
230
|
-
<h3>empty</h3>
|
|
231
|
-
<div class="tsd-signature tsd-kind-icon">empty<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
232
|
-
<aside class="tsd-sources">
|
|
233
|
-
<ul>
|
|
234
|
-
<li>Defined in lib/five/loaders/model/index.ts:114</li>
|
|
235
|
-
</ul>
|
|
236
|
-
</aside>
|
|
237
|
-
<div class="tsd-comment tsd-typography">
|
|
238
|
-
<div class="lead">
|
|
239
|
-
<p>是否未加载</p>
|
|
240
|
-
</div>
|
|
241
|
-
</div>
|
|
242
|
-
</section>
|
|
243
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
244
|
-
<a name="floorlength" class="tsd-anchor"></a>
|
|
245
|
-
<h3>floor<wbr>Length</h3>
|
|
246
|
-
<div class="tsd-signature tsd-kind-icon">floor<wbr>Length<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
247
|
-
<aside class="tsd-sources">
|
|
248
|
-
<ul>
|
|
249
|
-
<li>Defined in lib/five/loaders/model/index.ts:123</li>
|
|
250
|
-
</ul>
|
|
251
|
-
</aside>
|
|
252
|
-
<div class="tsd-comment tsd-typography">
|
|
253
|
-
<div class="lead">
|
|
254
|
-
<p>楼层的数量</p>
|
|
255
|
-
</div>
|
|
256
|
-
</div>
|
|
257
|
-
</section>
|
|
258
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
259
|
-
<a name="haslistener" class="tsd-anchor"></a>
|
|
260
|
-
<h3>has<wbr>Listener</h3>
|
|
261
|
-
<div class="tsd-signature tsd-kind-icon">has<wbr>Listener<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.subscribemixintype.haslistener.html" class="tsd-signature-type" data-tsd-kind="Interface">hasListener</a><span class="tsd-signature-symbol"><</span><a href="../modules/five.html#modeleventtype" class="tsd-signature-type" data-tsd-kind="Type alias">ModelEventType</a><span class="tsd-signature-symbol">></span></div>
|
|
262
|
-
<aside class="tsd-sources">
|
|
263
|
-
<p>Implementation of Subscribe.hasListener</p>
|
|
264
|
-
<ul>
|
|
265
|
-
<li>Defined in lib/five/loaders/model/index.ts:129</li>
|
|
266
|
-
</ul>
|
|
267
|
-
</aside>
|
|
268
|
-
<div class="tsd-comment tsd-typography">
|
|
269
|
-
<div class="lead">
|
|
270
|
-
<p>判断是否注册了事件
|
|
271
|
-
具体可查看 <a href="five.subscribe.html#haslistener">Subscribe.hasListener</a></p>
|
|
272
|
-
</div>
|
|
273
|
-
</div>
|
|
274
|
-
</section>
|
|
275
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
276
|
-
<a name="loaded" class="tsd-anchor"></a>
|
|
277
|
-
<h3>loaded</h3>
|
|
278
|
-
<div class="tsd-signature tsd-kind-icon">loaded<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
279
|
-
<aside class="tsd-sources">
|
|
280
|
-
<ul>
|
|
281
|
-
<li>Defined in lib/five/loaders/model/index.ts:111</li>
|
|
282
|
-
</ul>
|
|
283
|
-
</aside>
|
|
284
|
-
<div class="tsd-comment tsd-typography">
|
|
285
|
-
<div class="lead">
|
|
286
|
-
<p>是否加载完成</p>
|
|
287
|
-
</div>
|
|
288
|
-
</div>
|
|
289
|
-
</section>
|
|
290
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
291
|
-
<a name="needsrender" class="tsd-anchor"></a>
|
|
292
|
-
<h3>needs<wbr>Render</h3>
|
|
293
|
-
<div class="tsd-signature tsd-kind-icon">needs<wbr>Render<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div>
|
|
294
|
-
<aside class="tsd-sources">
|
|
295
|
-
<p>Inherited from <a href="five.pbmcontainer.html">PBMContainer</a>.<a href="five.pbmcontainer.html#needsrender">needsRender</a></p>
|
|
296
|
-
<ul>
|
|
297
|
-
<li>Defined in lib/five/core/pbmContainer.ts:9</li>
|
|
298
|
-
</ul>
|
|
299
|
-
</aside>
|
|
300
|
-
<div class="tsd-comment tsd-typography">
|
|
301
|
-
<div class="lead">
|
|
302
|
-
<p>是否需要更新按需渲染</p>
|
|
303
|
-
</div>
|
|
304
|
-
</div>
|
|
305
|
-
</section>
|
|
306
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
307
|
-
<a name="off" class="tsd-anchor"></a>
|
|
308
|
-
<h3>off</h3>
|
|
309
|
-
<div class="tsd-signature tsd-kind-icon">off<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.subscribemixintype.off.html" class="tsd-signature-type" data-tsd-kind="Interface">off</a><span class="tsd-signature-symbol"><</span><a href="../modules/five.html#modeleventtype" class="tsd-signature-type" data-tsd-kind="Type alias">ModelEventType</a><span class="tsd-signature-symbol">></span></div>
|
|
310
|
-
<aside class="tsd-sources">
|
|
311
|
-
<p>Implementation of Subscribe.off</p>
|
|
312
|
-
<ul>
|
|
313
|
-
<li>Defined in lib/five/loaders/model/index.ts:147</li>
|
|
314
|
-
</ul>
|
|
315
|
-
</aside>
|
|
316
|
-
<div class="tsd-comment tsd-typography">
|
|
317
|
-
<div class="lead">
|
|
318
|
-
<p>解除事件
|
|
319
|
-
具体可查看 <a href="five.subscribe.html#off">Subscribe.off</a></p>
|
|
320
|
-
</div>
|
|
321
|
-
</div>
|
|
322
|
-
</section>
|
|
323
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
324
|
-
<a name="on" class="tsd-anchor"></a>
|
|
325
|
-
<h3>on</h3>
|
|
326
|
-
<div class="tsd-signature tsd-kind-icon">on<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.subscribemixintype.on.html" class="tsd-signature-type" data-tsd-kind="Interface">on</a><span class="tsd-signature-symbol"><</span><a href="../modules/five.html#modeleventtype" class="tsd-signature-type" data-tsd-kind="Type alias">ModelEventType</a><span class="tsd-signature-symbol">></span></div>
|
|
327
|
-
<aside class="tsd-sources">
|
|
328
|
-
<p>Implementation of Subscribe.on</p>
|
|
329
|
-
<ul>
|
|
330
|
-
<li>Defined in lib/five/loaders/model/index.ts:135</li>
|
|
331
|
-
</ul>
|
|
332
|
-
</aside>
|
|
333
|
-
<div class="tsd-comment tsd-typography">
|
|
334
|
-
<div class="lead">
|
|
335
|
-
<p>注册事件
|
|
336
|
-
具体可查看 <a href="five.subscribe.html#on">Subscribe.on</a></p>
|
|
337
|
-
</div>
|
|
338
|
-
</div>
|
|
339
|
-
</section>
|
|
340
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
341
|
-
<a name="once" class="tsd-anchor"></a>
|
|
342
|
-
<h3>once</h3>
|
|
343
|
-
<div class="tsd-signature tsd-kind-icon">once<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.subscribemixintype.once.html" class="tsd-signature-type" data-tsd-kind="Interface">once</a><span class="tsd-signature-symbol"><</span><a href="../modules/five.html#modeleventtype" class="tsd-signature-type" data-tsd-kind="Type alias">ModelEventType</a><span class="tsd-signature-symbol">></span></div>
|
|
344
|
-
<aside class="tsd-sources">
|
|
345
|
-
<p>Implementation of Subscribe.once</p>
|
|
346
|
-
<ul>
|
|
347
|
-
<li>Defined in lib/five/loaders/model/index.ts:141</li>
|
|
348
|
-
</ul>
|
|
349
|
-
</aside>
|
|
350
|
-
<div class="tsd-comment tsd-typography">
|
|
351
|
-
<div class="lead">
|
|
352
|
-
<p>注册事件(是否只执行一次)
|
|
353
|
-
具体可查看 <a href="five.subscribe.html#once">Subscribe.once</a></p>
|
|
354
|
-
</div>
|
|
355
|
-
</div>
|
|
356
|
-
</section>
|
|
357
|
-
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
|
|
358
|
-
<a name="shownfloor" class="tsd-anchor"></a>
|
|
359
|
-
<h3>shown<wbr>Floor</h3>
|
|
360
|
-
<div class="tsd-signature tsd-kind-icon">shown<wbr>Floor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
361
|
-
<aside class="tsd-sources">
|
|
362
|
-
<ul>
|
|
363
|
-
<li>Defined in lib/five/loaders/model/index.ts:120</li>
|
|
364
|
-
</ul>
|
|
365
|
-
</aside>
|
|
366
|
-
<div class="tsd-comment tsd-typography">
|
|
367
|
-
<div class="lead">
|
|
368
|
-
<p>当前显示的楼层</p>
|
|
369
|
-
</div>
|
|
370
|
-
</div>
|
|
371
|
-
</section>
|
|
372
|
-
</section>
|
|
373
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
374
|
-
<h2>Accessors</h2>
|
|
375
|
-
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class">
|
|
376
|
-
<a name="shownfloor-1" class="tsd-anchor"></a>
|
|
377
|
-
<h3>shownfloor</h3>
|
|
378
|
-
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
|
|
379
|
-
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> shownfloor<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
|
380
|
-
</ul>
|
|
381
|
-
<ul class="tsd-descriptions">
|
|
382
|
-
<li class="tsd-description">
|
|
383
|
-
<aside class="tsd-sources">
|
|
384
|
-
<ul>
|
|
385
|
-
<li>Defined in lib/five/loaders/model/index.ts:174</li>
|
|
386
|
-
</ul>
|
|
387
|
-
</aside>
|
|
388
|
-
<div class="tsd-comment tsd-typography">
|
|
389
|
-
<div class="lead">
|
|
390
|
-
<p>当前显示的楼层</p>
|
|
391
|
-
</div>
|
|
392
|
-
<dl class="tsd-comment-tags">
|
|
393
|
-
<dt>deprecated</dt>
|
|
394
|
-
<dd><p>请用 shwonFloor 代替</p>
|
|
395
|
-
</dd>
|
|
396
|
-
</dl>
|
|
397
|
-
</div>
|
|
398
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
399
|
-
</li>
|
|
400
|
-
</ul>
|
|
401
|
-
</section>
|
|
402
|
-
</section>
|
|
403
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
404
|
-
<h2>Methods</h2>
|
|
405
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
406
|
-
<a name="buildbvh" class="tsd-anchor"></a>
|
|
407
|
-
<h3>buildBVH</h3>
|
|
408
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
409
|
-
<li class="tsd-signature tsd-kind-icon">buildBVH<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li>
|
|
410
|
-
</ul>
|
|
411
|
-
<ul class="tsd-descriptions">
|
|
412
|
-
<li class="tsd-description">
|
|
413
|
-
<aside class="tsd-sources">
|
|
414
|
-
<ul>
|
|
415
|
-
<li>Defined in lib/five/loaders/model/index.ts:368</li>
|
|
416
|
-
</ul>
|
|
417
|
-
</aside>
|
|
418
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
|
419
|
-
</li>
|
|
420
|
-
</ul>
|
|
421
|
-
</section>
|
|
422
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
423
|
-
<a name="dispose" class="tsd-anchor"></a>
|
|
424
|
-
<h3>dispose</h3>
|
|
425
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
426
|
-
<li class="tsd-signature tsd-kind-icon">dispose<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
427
|
-
</ul>
|
|
428
|
-
<ul class="tsd-descriptions">
|
|
429
|
-
<li class="tsd-description">
|
|
430
|
-
<aside class="tsd-sources">
|
|
431
|
-
<ul>
|
|
432
|
-
<li>Defined in lib/five/loaders/model/index.ts:464</li>
|
|
433
|
-
</ul>
|
|
434
|
-
</aside>
|
|
435
|
-
<div class="tsd-comment tsd-typography">
|
|
436
|
-
<div class="lead">
|
|
437
|
-
<p>析构函数</p>
|
|
438
|
-
</div>
|
|
439
|
-
<dl class="tsd-comment-tags">
|
|
440
|
-
<dt>description</dt>
|
|
441
|
-
<dd><p>一旦析构,则不能使用</p>
|
|
442
|
-
</dd>
|
|
443
|
-
</dl>
|
|
444
|
-
</div>
|
|
445
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
446
|
-
</li>
|
|
447
|
-
</ul>
|
|
448
|
-
</section>
|
|
449
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
450
|
-
<a name="disposegeometry" class="tsd-anchor"></a>
|
|
451
|
-
<h3>dispose<wbr>Geometry</h3>
|
|
452
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
453
|
-
<li class="tsd-signature tsd-kind-icon">dispose<wbr>Geometry<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
454
|
-
</ul>
|
|
455
|
-
<ul class="tsd-descriptions">
|
|
456
|
-
<li class="tsd-description">
|
|
457
|
-
<aside class="tsd-sources">
|
|
458
|
-
<p>Inherited from <a href="five.pbmcontainer.html">PBMContainer</a>.<a href="five.pbmcontainer.html#disposegeometry">disposeGeometry</a></p>
|
|
459
|
-
<ul>
|
|
460
|
-
<li>Defined in lib/five/core/pbmContainer.ts:119</li>
|
|
461
|
-
</ul>
|
|
462
|
-
</aside>
|
|
463
|
-
<div class="tsd-comment tsd-typography">
|
|
464
|
-
<div class="lead">
|
|
465
|
-
<p>析构模型网格</p>
|
|
466
|
-
</div>
|
|
467
|
-
</div>
|
|
468
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
469
|
-
</li>
|
|
470
|
-
</ul>
|
|
471
|
-
</section>
|
|
472
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
473
|
-
<a name="disposematerial" class="tsd-anchor"></a>
|
|
474
|
-
<h3>dispose<wbr>Material</h3>
|
|
475
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
476
|
-
<li class="tsd-signature tsd-kind-icon">dispose<wbr>Material<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
477
|
-
</ul>
|
|
478
|
-
<ul class="tsd-descriptions">
|
|
479
|
-
<li class="tsd-description">
|
|
480
|
-
<aside class="tsd-sources">
|
|
481
|
-
<p>Inherited from <a href="five.pbmcontainer.html">PBMContainer</a>.<a href="five.pbmcontainer.html#disposematerial">disposeMaterial</a></p>
|
|
482
|
-
<ul>
|
|
483
|
-
<li>Defined in lib/five/core/pbmContainer.ts:95</li>
|
|
484
|
-
</ul>
|
|
485
|
-
</aside>
|
|
486
|
-
<div class="tsd-comment tsd-typography">
|
|
487
|
-
<div class="lead">
|
|
488
|
-
<p>析构材质</p>
|
|
489
|
-
</div>
|
|
490
|
-
</div>
|
|
491
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
492
|
-
</li>
|
|
493
|
-
</ul>
|
|
494
|
-
</section>
|
|
495
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
496
|
-
<a name="getedges" class="tsd-anchor"></a>
|
|
497
|
-
<h3>get<wbr>Edges</h3>
|
|
498
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
499
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Edges<span class="tsd-signature-symbol">(</span>threshold<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Line3</span><span class="tsd-signature-symbol">[]</span></li>
|
|
500
|
-
</ul>
|
|
501
|
-
<ul class="tsd-descriptions">
|
|
502
|
-
<li class="tsd-description">
|
|
503
|
-
<aside class="tsd-sources">
|
|
504
|
-
<ul>
|
|
505
|
-
<li>Defined in lib/five/loaders/model/index.ts:183</li>
|
|
506
|
-
</ul>
|
|
507
|
-
</aside>
|
|
508
|
-
<div class="tsd-comment tsd-typography">
|
|
509
|
-
<div class="lead">
|
|
510
|
-
<p>获取模型边界线</p>
|
|
511
|
-
</div>
|
|
512
|
-
</div>
|
|
513
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
514
|
-
<ul class="tsd-parameters">
|
|
515
|
-
<li>
|
|
516
|
-
<h5>threshold: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = ...</span></h5>
|
|
517
|
-
<div class="tsd-comment tsd-typography">
|
|
518
|
-
<p>面片间夹角阈值</p>
|
|
519
|
-
</div>
|
|
520
|
-
</li>
|
|
521
|
-
</ul>
|
|
522
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Line3</span><span class="tsd-signature-symbol">[]</span></h4>
|
|
523
|
-
<p>所有模型边界线</p>
|
|
524
|
-
</li>
|
|
525
|
-
</ul>
|
|
526
|
-
</section>
|
|
527
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
528
|
-
<a name="getmaterial" class="tsd-anchor"></a>
|
|
529
|
-
<h3>get<wbr>Material</h3>
|
|
530
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
531
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Material<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/five.pbmparameters.html" class="tsd-signature-type" data-tsd-kind="Interface">PBMParameters</a></li>
|
|
532
|
-
</ul>
|
|
533
|
-
<ul class="tsd-descriptions">
|
|
534
|
-
<li class="tsd-description">
|
|
535
|
-
<aside class="tsd-sources">
|
|
536
|
-
<p>Inherited from <a href="five.pbmcontainer.html">PBMContainer</a>.<a href="five.pbmcontainer.html#getmaterial">getMaterial</a></p>
|
|
537
|
-
<ul>
|
|
538
|
-
<li>Defined in lib/five/core/pbmContainer.ts:40</li>
|
|
539
|
-
</ul>
|
|
540
|
-
</aside>
|
|
541
|
-
<div class="tsd-comment tsd-typography">
|
|
542
|
-
<div class="lead">
|
|
543
|
-
<p>获取材质参数</p>
|
|
544
|
-
</div>
|
|
545
|
-
</div>
|
|
546
|
-
<h4 class="tsd-returns-title">Returns <a href="../interfaces/five.pbmparameters.html" class="tsd-signature-type" data-tsd-kind="Interface">PBMParameters</a></h4>
|
|
547
|
-
</li>
|
|
548
|
-
</ul>
|
|
549
|
-
</section>
|
|
550
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
551
|
-
<a name="gettransparent" class="tsd-anchor"></a>
|
|
552
|
-
<h3>get<wbr>Transparent</h3>
|
|
553
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
554
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Transparent<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
|
555
|
-
</ul>
|
|
556
|
-
<ul class="tsd-descriptions">
|
|
557
|
-
<li class="tsd-description">
|
|
558
|
-
<aside class="tsd-sources">
|
|
559
|
-
<p>Inherited from <a href="five.pbmcontainer.html">PBMContainer</a>.<a href="five.pbmcontainer.html#gettransparent">getTransparent</a></p>
|
|
560
|
-
<ul>
|
|
561
|
-
<li>Defined in lib/five/core/pbmContainer.ts:12</li>
|
|
562
|
-
</ul>
|
|
563
|
-
</aside>
|
|
564
|
-
<div class="tsd-comment tsd-typography">
|
|
565
|
-
<div class="lead">
|
|
566
|
-
<p>获取是否有透明参数</p>
|
|
567
|
-
</div>
|
|
568
|
-
</div>
|
|
569
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
|
570
|
-
</li>
|
|
571
|
-
</ul>
|
|
572
|
-
</section>
|
|
573
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
574
|
-
<a name="hasfloors" class="tsd-anchor"></a>
|
|
575
|
-
<h3>has<wbr>Floors</h3>
|
|
576
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
577
|
-
<li class="tsd-signature tsd-kind-icon">has<wbr>Floors<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
|
578
|
-
</ul>
|
|
579
|
-
<ul class="tsd-descriptions">
|
|
580
|
-
<li class="tsd-description">
|
|
581
|
-
<aside class="tsd-sources">
|
|
582
|
-
<ul>
|
|
583
|
-
<li>Defined in lib/five/loaders/model/index.ts:248</li>
|
|
584
|
-
</ul>
|
|
585
|
-
</aside>
|
|
586
|
-
<div class="tsd-comment tsd-typography">
|
|
587
|
-
<div class="lead">
|
|
588
|
-
<p>获取当前楼层数</p>
|
|
589
|
-
</div>
|
|
590
|
-
<dl class="tsd-comment-tags">
|
|
591
|
-
<dt>deprecated</dt>
|
|
592
|
-
<dd><p>请使用 floorLength 参数代替</p>
|
|
593
|
-
</dd>
|
|
594
|
-
</dl>
|
|
595
|
-
</div>
|
|
596
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
597
|
-
</li>
|
|
598
|
-
</ul>
|
|
599
|
-
</section>
|
|
600
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
601
|
-
<a name="hasfloors_" class="tsd-anchor"></a>
|
|
602
|
-
<h3><span class="tsd-flag ts-flagPrivate">Private</span> has<wbr>Floors_</h3>
|
|
603
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
604
|
-
<li class="tsd-signature tsd-kind-icon">has<wbr>Floors_<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
|
605
|
-
</ul>
|
|
606
|
-
<ul class="tsd-descriptions">
|
|
607
|
-
<li class="tsd-description">
|
|
608
|
-
<aside class="tsd-sources">
|
|
609
|
-
<ul>
|
|
610
|
-
<li>Defined in lib/five/loaders/model/index.ts:252</li>
|
|
611
|
-
</ul>
|
|
612
|
-
</aside>
|
|
613
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
|
614
|
-
</li>
|
|
615
|
-
</ul>
|
|
616
|
-
</section>
|
|
617
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
618
|
-
<a name="intersectraycaster" class="tsd-anchor"></a>
|
|
619
|
-
<h3>intersect<wbr>Raycaster</h3>
|
|
620
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
621
|
-
<li class="tsd-signature tsd-kind-icon">intersect<wbr>Raycaster<span class="tsd-signature-symbol">(</span>raycaster<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Raycaster</span>, floors<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/five.intersection.html" class="tsd-signature-type" data-tsd-kind="Interface">Intersection</a><span class="tsd-signature-symbol">[]</span></li>
|
|
622
|
-
</ul>
|
|
623
|
-
<ul class="tsd-descriptions">
|
|
624
|
-
<li class="tsd-description">
|
|
625
|
-
<aside class="tsd-sources">
|
|
626
|
-
<ul>
|
|
627
|
-
<li>Defined in lib/five/loaders/model/index.ts:304</li>
|
|
628
|
-
</ul>
|
|
629
|
-
</aside>
|
|
630
|
-
<div class="tsd-comment tsd-typography">
|
|
631
|
-
<div class="lead">
|
|
632
|
-
<p>计算模型射线碰撞检测</p>
|
|
633
|
-
</div>
|
|
634
|
-
</div>
|
|
635
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
636
|
-
<ul class="tsd-parameters">
|
|
637
|
-
<li>
|
|
638
|
-
<h5>raycaster: <span class="tsd-signature-type">Raycaster</span></h5>
|
|
639
|
-
<div class="tsd-comment tsd-typography">
|
|
640
|
-
<p>THREE 射线对象</p>
|
|
641
|
-
</div>
|
|
642
|
-
</li>
|
|
643
|
-
<li>
|
|
644
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> floors: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
645
|
-
<div class="tsd-comment tsd-typography">
|
|
646
|
-
<p>和某一楼层做碰撞检测, 不传为和所有楼层做碰撞检测</p>
|
|
647
|
-
</div>
|
|
648
|
-
</li>
|
|
649
|
-
</ul>
|
|
650
|
-
<h4 class="tsd-returns-title">Returns <a href="../interfaces/five.intersection.html" class="tsd-signature-type" data-tsd-kind="Interface">Intersection</a><span class="tsd-signature-symbol">[]</span></h4>
|
|
651
|
-
<p>返回碰撞</p>
|
|
652
|
-
</li>
|
|
653
|
-
</ul>
|
|
654
|
-
</section>
|
|
655
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
656
|
-
<a name="load" class="tsd-anchor"></a>
|
|
657
|
-
<h3>load</h3>
|
|
658
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
659
|
-
<li class="tsd-signature tsd-kind-icon">load<span class="tsd-signature-symbol">(</span>workModel<span class="tsd-signature-symbol">: </span><a href="../modules/five.html#workmodel" class="tsd-signature-type" data-tsd-kind="Type alias">WorkModel</a>, imageOptions<span class="tsd-signature-symbol">?: </span><a href="../interfaces/five.imageoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ImageOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
660
|
-
</ul>
|
|
661
|
-
<ul class="tsd-descriptions">
|
|
662
|
-
<li class="tsd-description">
|
|
663
|
-
<aside class="tsd-sources">
|
|
664
|
-
<ul>
|
|
665
|
-
<li>Defined in lib/five/loaders/model/index.ts:414</li>
|
|
666
|
-
</ul>
|
|
667
|
-
</aside>
|
|
668
|
-
<div class="tsd-comment tsd-typography">
|
|
669
|
-
<div class="lead">
|
|
670
|
-
<p>加载模型</p>
|
|
671
|
-
</div>
|
|
672
|
-
</div>
|
|
673
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
674
|
-
<ul class="tsd-parameters">
|
|
675
|
-
<li>
|
|
676
|
-
<h5>workModel: <a href="../modules/five.html#workmodel" class="tsd-signature-type" data-tsd-kind="Type alias">WorkModel</a></h5>
|
|
677
|
-
<div class="tsd-comment tsd-typography">
|
|
678
|
-
<p>work 的 model 内容</p>
|
|
679
|
-
</div>
|
|
680
|
-
</li>
|
|
681
|
-
<li>
|
|
682
|
-
<h5>imageOptions: <a href="../interfaces/five.imageoptions.html" class="tsd-signature-type" data-tsd-kind="Interface">ImageOptions</a><span class="tsd-signature-symbol"> = {}</span></h5>
|
|
683
|
-
<div class="tsd-comment tsd-typography">
|
|
684
|
-
<p>图片参数</p>
|
|
685
|
-
</div>
|
|
686
|
-
</li>
|
|
687
|
-
</ul>
|
|
688
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
689
|
-
</li>
|
|
690
|
-
</ul>
|
|
691
|
-
</section>
|
|
692
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
693
|
-
<a name="setmaterial" class="tsd-anchor"></a>
|
|
694
|
-
<h3>set<wbr>Material</h3>
|
|
695
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
696
|
-
<li class="tsd-signature tsd-kind-icon">set<wbr>Material<span class="tsd-signature-symbol">(</span>parameters<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.pbmparameters.html" class="tsd-signature-type" data-tsd-kind="Interface">PBMParameters</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
697
|
-
</ul>
|
|
698
|
-
<ul class="tsd-descriptions">
|
|
699
|
-
<li class="tsd-description">
|
|
700
|
-
<aside class="tsd-sources">
|
|
701
|
-
<p>Inherited from <a href="five.pbmcontainer.html">PBMContainer</a>.<a href="five.pbmcontainer.html#setmaterial">setMaterial</a></p>
|
|
702
|
-
<ul>
|
|
703
|
-
<li>Defined in lib/five/core/pbmContainer.ts:70</li>
|
|
704
|
-
</ul>
|
|
705
|
-
</aside>
|
|
706
|
-
<div class="tsd-comment tsd-typography">
|
|
707
|
-
<div class="lead">
|
|
708
|
-
<p>设置材质参数</p>
|
|
709
|
-
</div>
|
|
710
|
-
</div>
|
|
711
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
712
|
-
<ul class="tsd-parameters">
|
|
713
|
-
<li>
|
|
714
|
-
<h5>parameters: <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/five.pbmparameters.html" class="tsd-signature-type" data-tsd-kind="Interface">PBMParameters</a><span class="tsd-signature-symbol">></span></h5>
|
|
715
|
-
</li>
|
|
716
|
-
</ul>
|
|
717
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
718
|
-
</li>
|
|
719
|
-
</ul>
|
|
720
|
-
</section>
|
|
721
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
722
|
-
<a name="settransparent" class="tsd-anchor"></a>
|
|
723
|
-
<h3>set<wbr>Transparent</h3>
|
|
724
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
725
|
-
<li class="tsd-signature tsd-kind-icon">set<wbr>Transparent<span class="tsd-signature-symbol">(</span>bool<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
726
|
-
</ul>
|
|
727
|
-
<ul class="tsd-descriptions">
|
|
728
|
-
<li class="tsd-description">
|
|
729
|
-
<aside class="tsd-sources">
|
|
730
|
-
<p>Inherited from <a href="five.pbmcontainer.html">PBMContainer</a>.<a href="five.pbmcontainer.html#settransparent">setTransparent</a></p>
|
|
731
|
-
<ul>
|
|
732
|
-
<li>Defined in lib/five/core/pbmContainer.ts:29</li>
|
|
733
|
-
</ul>
|
|
734
|
-
</aside>
|
|
735
|
-
<div class="tsd-comment tsd-typography">
|
|
736
|
-
<div class="lead">
|
|
737
|
-
<p>设置透明参数</p>
|
|
738
|
-
</div>
|
|
739
|
-
</div>
|
|
740
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
741
|
-
<ul class="tsd-parameters">
|
|
742
|
-
<li>
|
|
743
|
-
<h5>bool: <span class="tsd-signature-type">boolean</span></h5>
|
|
744
|
-
</li>
|
|
745
|
-
</ul>
|
|
746
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
747
|
-
</li>
|
|
748
|
-
</ul>
|
|
749
|
-
</section>
|
|
750
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
751
|
-
<a name="show" class="tsd-anchor"></a>
|
|
752
|
-
<h3>show</h3>
|
|
753
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
754
|
-
<li class="tsd-signature tsd-kind-icon">show<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
755
|
-
<li class="tsd-signature tsd-kind-icon">show<span class="tsd-signature-symbol">(</span>floorIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, hideOpacity<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
756
|
-
</ul>
|
|
757
|
-
<ul class="tsd-descriptions">
|
|
758
|
-
<li class="tsd-description">
|
|
759
|
-
<aside class="tsd-sources">
|
|
760
|
-
<ul>
|
|
761
|
-
<li>Defined in lib/five/loaders/model/index.ts:270</li>
|
|
762
|
-
</ul>
|
|
763
|
-
</aside>
|
|
764
|
-
<div class="tsd-comment tsd-typography">
|
|
765
|
-
<div class="lead">
|
|
766
|
-
<p>显示某楼层</p>
|
|
767
|
-
</div>
|
|
768
|
-
<dl class="tsd-comment-tags">
|
|
769
|
-
<dt>example</dt>
|
|
770
|
-
<dd><pre><code><span style="color: #001080">model</span><span style="color: #000000">.</span><span style="color: #795E26">show</span><span style="color: #000000">() </span><span style="color: #008000">//显示全部楼层</span>
|
|
771
|
-
<span style="color: #001080">model</span><span style="color: #000000">.</span><span style="color: #795E26">show</span><span style="color: #000000">(</span><span style="color: #098658">1</span><span style="color: #000000">) </span><span style="color: #008000">//显示第一楼层</span>
|
|
772
|
-
<span style="color: #001080">model</span><span style="color: #000000">.</span><span style="color: #795E26">show</span><span style="color: #000000">(</span><span style="color: #098658">1</span><span style="color: #000000">, </span><span style="color: #098658">0</span><span style="color: #000000">) </span><span style="color: #008000">//显示第一楼层, 并且其他楼层透明度为 0</span>
|
|
773
|
-
</code></pre>
|
|
774
|
-
</dd>
|
|
775
|
-
</dl>
|
|
776
|
-
</div>
|
|
777
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
778
|
-
</li>
|
|
779
|
-
<li class="tsd-description">
|
|
780
|
-
<aside class="tsd-sources">
|
|
781
|
-
<ul>
|
|
782
|
-
<li>Defined in lib/five/loaders/model/index.ts:271</li>
|
|
783
|
-
</ul>
|
|
784
|
-
</aside>
|
|
785
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
786
|
-
<ul class="tsd-parameters">
|
|
787
|
-
<li>
|
|
788
|
-
<h5>floorIndex: <span class="tsd-signature-type">number</span></h5>
|
|
789
|
-
</li>
|
|
790
|
-
<li>
|
|
791
|
-
<h5><span class="tsd-flag ts-flagOptional">Optional</span> hideOpacity: <span class="tsd-signature-type">number</span></h5>
|
|
792
|
-
</li>
|
|
793
|
-
</ul>
|
|
794
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
795
|
-
</li>
|
|
796
|
-
</ul>
|
|
797
|
-
</section>
|
|
798
|
-
</section>
|
|
799
|
-
</div>
|
|
800
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
801
|
-
<nav class="tsd-navigation primary">
|
|
802
|
-
<ul>
|
|
803
|
-
<li class=" ">
|
|
804
|
-
<a href="../modules.html">Modules</a>
|
|
805
|
-
</li>
|
|
806
|
-
<li class="current tsd-kind-module">
|
|
807
|
-
<a href="../modules/five.html">five</a>
|
|
808
|
-
</li>
|
|
809
|
-
<li class=" tsd-kind-module">
|
|
810
|
-
<a href="../modules/gltf_loader.html">gltf-<wbr>loader</a>
|
|
811
|
-
</li>
|
|
812
|
-
<li class=" tsd-kind-module">
|
|
813
|
-
<a href="../modules/line.html">line</a>
|
|
814
|
-
</li>
|
|
815
|
-
<li class=" tsd-kind-module">
|
|
816
|
-
<a href="../modules/react.html">react</a>
|
|
817
|
-
</li>
|
|
818
|
-
<li class=" tsd-kind-module">
|
|
819
|
-
<a href="../modules/server.html">server</a>
|
|
820
|
-
</li>
|
|
821
|
-
<li class=" tsd-kind-module">
|
|
822
|
-
<a href="../modules/sticker.html">sticker</a>
|
|
823
|
-
</li>
|
|
824
|
-
</ul>
|
|
825
|
-
</nav>
|
|
826
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
827
|
-
<ul class="before-current">
|
|
828
|
-
</ul>
|
|
829
|
-
<ul class="current">
|
|
830
|
-
<li class="current tsd-kind-class tsd-parent-kind-module">
|
|
831
|
-
<a href="five.model.html" class="tsd-kind-icon">Model</a>
|
|
832
|
-
<ul>
|
|
833
|
-
<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
|
|
834
|
-
<a href="five.model.html#constructor" class="tsd-kind-icon">constructor</a>
|
|
835
|
-
</li>
|
|
836
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
837
|
-
<a href="five.model.html#bounding" class="tsd-kind-icon">bounding</a>
|
|
838
|
-
</li>
|
|
839
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
840
|
-
<a href="five.model.html#bvhs" class="tsd-kind-icon">bvhs</a>
|
|
841
|
-
</li>
|
|
842
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
843
|
-
<a href="five.model.html#emit" class="tsd-kind-icon">emit</a>
|
|
844
|
-
</li>
|
|
845
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
846
|
-
<a href="five.model.html#empty" class="tsd-kind-icon">empty</a>
|
|
847
|
-
</li>
|
|
848
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
849
|
-
<a href="five.model.html#floorlength" class="tsd-kind-icon">floor<wbr>Length</a>
|
|
850
|
-
</li>
|
|
851
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
852
|
-
<a href="five.model.html#haslistener" class="tsd-kind-icon">has<wbr>Listener</a>
|
|
853
|
-
</li>
|
|
854
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
855
|
-
<a href="five.model.html#loaded" class="tsd-kind-icon">loaded</a>
|
|
856
|
-
</li>
|
|
857
|
-
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
858
|
-
<a href="five.model.html#needsrender" class="tsd-kind-icon">needs<wbr>Render</a>
|
|
859
|
-
</li>
|
|
860
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
861
|
-
<a href="five.model.html#off" class="tsd-kind-icon">off</a>
|
|
862
|
-
</li>
|
|
863
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
864
|
-
<a href="five.model.html#on" class="tsd-kind-icon">on</a>
|
|
865
|
-
</li>
|
|
866
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
867
|
-
<a href="five.model.html#once" class="tsd-kind-icon">once</a>
|
|
868
|
-
</li>
|
|
869
|
-
<li class=" tsd-kind-property tsd-parent-kind-class">
|
|
870
|
-
<a href="five.model.html#shownfloor" class="tsd-kind-icon">shown<wbr>Floor</a>
|
|
871
|
-
</li>
|
|
872
|
-
<li class=" tsd-kind-get-signature tsd-parent-kind-class">
|
|
873
|
-
<a href="five.model.html#shownfloor-1" class="tsd-kind-icon">shownfloor</a>
|
|
874
|
-
</li>
|
|
875
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
876
|
-
<a href="five.model.html#buildbvh" class="tsd-kind-icon">buildBVH</a>
|
|
877
|
-
</li>
|
|
878
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
879
|
-
<a href="five.model.html#dispose" class="tsd-kind-icon">dispose</a>
|
|
880
|
-
</li>
|
|
881
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
882
|
-
<a href="five.model.html#disposegeometry" class="tsd-kind-icon">dispose<wbr>Geometry</a>
|
|
883
|
-
</li>
|
|
884
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
885
|
-
<a href="five.model.html#disposematerial" class="tsd-kind-icon">dispose<wbr>Material</a>
|
|
886
|
-
</li>
|
|
887
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
888
|
-
<a href="five.model.html#getedges" class="tsd-kind-icon">get<wbr>Edges</a>
|
|
889
|
-
</li>
|
|
890
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
891
|
-
<a href="five.model.html#getmaterial" class="tsd-kind-icon">get<wbr>Material</a>
|
|
892
|
-
</li>
|
|
893
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
894
|
-
<a href="five.model.html#gettransparent" class="tsd-kind-icon">get<wbr>Transparent</a>
|
|
895
|
-
</li>
|
|
896
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
897
|
-
<a href="five.model.html#hasfloors" class="tsd-kind-icon">has<wbr>Floors</a>
|
|
898
|
-
</li>
|
|
899
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
900
|
-
<a href="five.model.html#hasfloors_" class="tsd-kind-icon">has<wbr>Floors_</a>
|
|
901
|
-
</li>
|
|
902
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
903
|
-
<a href="five.model.html#intersectraycaster" class="tsd-kind-icon">intersect<wbr>Raycaster</a>
|
|
904
|
-
</li>
|
|
905
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
906
|
-
<a href="five.model.html#load" class="tsd-kind-icon">load</a>
|
|
907
|
-
</li>
|
|
908
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
909
|
-
<a href="five.model.html#setmaterial" class="tsd-kind-icon">set<wbr>Material</a>
|
|
910
|
-
</li>
|
|
911
|
-
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
912
|
-
<a href="five.model.html#settransparent" class="tsd-kind-icon">set<wbr>Transparent</a>
|
|
913
|
-
</li>
|
|
914
|
-
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
915
|
-
<a href="five.model.html#show" class="tsd-kind-icon">show</a>
|
|
916
|
-
</li>
|
|
917
|
-
</ul>
|
|
918
|
-
</li>
|
|
919
|
-
</ul>
|
|
920
|
-
<ul class="after-current">
|
|
921
|
-
</ul>
|
|
922
|
-
</nav>
|
|
923
|
-
</div>
|
|
924
|
-
</div>
|
|
925
|
-
</div>
|
|
926
|
-
<footer>
|
|
927
|
-
<div class="container">
|
|
928
|
-
<h2>Legend</h2>
|
|
929
|
-
<div class="tsd-legend-group">
|
|
930
|
-
<ul class="tsd-legend">
|
|
931
|
-
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
|
|
932
|
-
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
933
|
-
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
934
|
-
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
935
|
-
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
|
|
936
|
-
<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
|
|
937
|
-
</ul>
|
|
938
|
-
<ul class="tsd-legend">
|
|
939
|
-
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
940
|
-
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
941
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
|
942
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
|
943
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
944
|
-
</ul>
|
|
945
|
-
<ul class="tsd-legend">
|
|
946
|
-
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
947
|
-
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
|
|
948
|
-
</ul>
|
|
949
|
-
<ul class="tsd-legend">
|
|
950
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
|
|
951
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
|
|
952
|
-
</ul>
|
|
953
|
-
<ul class="tsd-legend">
|
|
954
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
|
|
955
|
-
</ul>
|
|
956
|
-
</div>
|
|
957
|
-
</div>
|
|
958
|
-
</footer>
|
|
959
|
-
<div class="overlay"></div>
|
|
960
|
-
<script src="../assets/js/main.js"></script>
|
|
961
|
-
</body>
|
|
962
|
-
</html>
|