@realsee/five 5.0.0-alpha.53 → 5.0.0-alpha.57
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/js/search.js +1 -1
- package/docs/classes/five.AnimationFrameLoop.html +522 -0
- package/docs/classes/five.BVH.html +488 -0
- package/docs/classes/five.BVHNode.html +468 -0
- package/docs/classes/five.BVHVector3.html +525 -0
- package/docs/classes/five.Camera.html +17 -17
- package/docs/classes/five.Five.html +212 -168
- package/docs/classes/five.InternalWebGLRenderer.html +4 -4
- package/docs/classes/five.Model.html +23 -26
- package/docs/classes/five.NetworkSubscribe.html +9 -9
- package/docs/classes/five.PBMContainer.html +7 -7
- package/docs/classes/five.PBMGroup.html +7 -7
- package/docs/classes/five.PBMMaterial.html +34 -194
- package/docs/classes/five.PBMMesh.html +4 -4
- package/docs/classes/five.Scene.html +4 -4
- package/docs/classes/five.Subscribe.html +9 -9
- package/docs/classes/five.Work.html +348 -0
- package/docs/classes/gltf_loader.GLTFLoader.html +4 -4
- package/docs/classes/gltf_loader.GLTFObject.html +4 -4
- package/docs/classes/line.Line.html +4 -4
- package/docs/classes/line.LineGeometry.html +4 -4
- package/docs/classes/line.LineMaterial.html +4 -4
- package/docs/classes/line.LineSegmentsGeometry.html +4 -4
- package/docs/classes/line.THREE_Line2.html +4 -4
- package/docs/classes/line.THREE_LineSegments2.html +4 -4
- package/docs/classes/react.Store.html +4 -4
- package/docs/classes/server.BVH.html +587 -0
- package/docs/classes/server.BVHNode.html +567 -0
- package/docs/classes/server.BVHVector3.html +624 -0
- package/docs/classes/server.Model.html +30 -15
- package/docs/classes/server.PBMGroup.html +22 -7
- package/docs/classes/server.PBMMesh.html +22 -7
- package/docs/classes/sticker.Sticker.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/five.AddableObject.html +4 -4
- package/docs/interfaces/five.AnimationFrame.html +243 -0
- package/docs/interfaces/five.BVHIntersect.html +204 -0
- package/docs/interfaces/five.CameraPose.html +232 -0
- package/docs/interfaces/five.DepthPanoramaControllerCustomInitArgs.html +40 -15
- package/docs/interfaces/five.EventCallback.html +33 -30
- package/docs/interfaces/five.FiveInitArgs.html +4 -4
- package/docs/interfaces/five.FloorplanControllerCustomInitArgs.html +11 -11
- package/docs/interfaces/five.ImageOptions.html +11 -63
- package/docs/interfaces/five.ImageURLOptions.html +260 -0
- package/docs/interfaces/five.IntersectMeshInterface.html +4 -4
- package/docs/interfaces/five.Intersection.html +4 -4
- package/docs/interfaces/five.ModelControllerCustomInitArgs.html +13 -13
- package/docs/interfaces/five.ModelEventCallback.html +4 -4
- package/docs/interfaces/five.MovePanoOptions.html +4 -4
- package/docs/interfaces/five.PBMPanoPicture.html +219 -0
- package/docs/interfaces/five.PBMPanoVideo.html +238 -0
- package/docs/interfaces/five.PBMParameters.html +30 -182
- package/docs/interfaces/five.PanoCircleMeshInterface.html +83 -18
- package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +30 -16
- package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +13 -13
- package/docs/interfaces/five.Pose.html +4 -4
- package/docs/interfaces/five.Scissor.html +4 -4
- package/docs/interfaces/five.State.html +4 -4
- package/docs/interfaces/five.SubscribeMixinType.emit.html +5 -5
- package/docs/interfaces/five.SubscribeMixinType.hasListener.html +5 -5
- package/docs/interfaces/five.SubscribeMixinType.off.html +5 -5
- package/docs/interfaces/five.SubscribeMixinType.on.html +5 -5
- package/docs/interfaces/five.SubscribeMixinType.once.html +5 -5
- package/docs/interfaces/five.TextureOptions.html +296 -0
- package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +7 -7
- package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +30 -15
- package/docs/interfaces/five.WorkCubeImage.html +251 -0
- package/docs/interfaces/five.WorkImage.html +306 -0
- package/docs/interfaces/five.WorkInitial.html +273 -0
- package/docs/interfaces/five.WorkModel.html +239 -0
- package/docs/interfaces/five.WorkObserver.html +323 -0
- package/docs/interfaces/five.WorkTile.html +274 -0
- package/docs/interfaces/five.WorkVideo.html +211 -0
- package/docs/interfaces/gltf_loader.GLTF.html +4 -4
- package/docs/interfaces/react.FiveActionReactCallbacks.html +4 -4
- package/docs/interfaces/react.FiveInjectionTypes.html +8 -8
- package/docs/interfaces/react.PropTypeOfFiveFeatures.html +4 -4
- package/docs/interfaces/server.BVHIntersect.html +303 -0
- package/docs/interfaces/server.Intersection.html +22 -7
- package/docs/interfaces/server.ModelEventCallback.html +22 -7
- package/docs/interfaces/sticker.IntersectionLike.html +4 -4
- package/docs/modules/five.SubscribeMixinType.html +4 -4
- package/docs/modules/five.html +230 -369
- package/docs/modules/gltf_loader.html +4 -4
- package/docs/modules/line.html +4 -4
- package/docs/modules/react.html +13 -13
- package/docs/modules/server.html +47 -22
- package/docs/modules/sticker.html +4 -4
- package/docs/modules.html +4 -4
- package/five/index.d.ts +305 -235
- package/five/index.js +13 -107
- package/gltf-loader/index.js +2 -2
- package/line/index.js +2 -2
- package/package.json +1 -3
- package/react/index.js +3 -3
- package/server/index.d.ts +136 -20
- package/server/index.js +11 -11
- package/sticker/index.js +2 -2
- package/umd/five-react.js +1 -1
- package/umd/five.js +1 -1
- package/docs/classes/five.HashCubeTexture.html +0 -266
|
@@ -0,0 +1,522 @@
|
|
|
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>AnimationFrameLoop | 如视 Five SDK - v5.0.0-alpha.57</title>
|
|
7
|
+
<meta name="description" content="Documentation for 如视 Five SDK - v5.0.0-alpha.57">
|
|
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.57</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.57</a>
|
|
54
|
+
</li>
|
|
55
|
+
<li>
|
|
56
|
+
<a href="../modules/five.html">five</a>
|
|
57
|
+
</li>
|
|
58
|
+
<li>
|
|
59
|
+
<a href="five.AnimationFrameLoop.html">AnimationFrameLoop</a>
|
|
60
|
+
</li>
|
|
61
|
+
</ul>
|
|
62
|
+
<h1>Class AnimationFrameLoop</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-hierarchy">
|
|
70
|
+
<h3>Hierarchy</h3>
|
|
71
|
+
<ul class="tsd-hierarchy">
|
|
72
|
+
<li>
|
|
73
|
+
<span class="target">AnimationFrameLoop</span>
|
|
74
|
+
</li>
|
|
75
|
+
</ul>
|
|
76
|
+
</section>
|
|
77
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
78
|
+
<h2>Index</h2>
|
|
79
|
+
<section class="tsd-panel tsd-index-panel">
|
|
80
|
+
<div class="tsd-index-content">
|
|
81
|
+
<section class="tsd-index-section ">
|
|
82
|
+
<h3>Constructors</h3>
|
|
83
|
+
<ul class="tsd-index-list">
|
|
84
|
+
<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="five.AnimationFrameLoop.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
|
85
|
+
</ul>
|
|
86
|
+
</section>
|
|
87
|
+
<section class="tsd-index-section tsd-is-private tsd-is-private-protected">
|
|
88
|
+
<h3>Properties</h3>
|
|
89
|
+
<ul class="tsd-index-list">
|
|
90
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="five.AnimationFrameLoop.html#frames" class="tsd-kind-icon">frames</a></li>
|
|
91
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="five.AnimationFrameLoop.html#stoped" class="tsd-kind-icon">stoped</a></li>
|
|
92
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="five.AnimationFrameLoop.html#time" class="tsd-kind-icon">time</a></li>
|
|
93
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-static"><a href="five.AnimationFrameLoop.html#sharedInstance" class="tsd-kind-icon">shared<wbr>Instance</a></li>
|
|
94
|
+
</ul>
|
|
95
|
+
</section>
|
|
96
|
+
<section class="tsd-index-section ">
|
|
97
|
+
<h3>Accessors</h3>
|
|
98
|
+
<ul class="tsd-index-list">
|
|
99
|
+
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-static"><a href="five.AnimationFrameLoop.html#shared" class="tsd-kind-icon">shared</a></li>
|
|
100
|
+
</ul>
|
|
101
|
+
</section>
|
|
102
|
+
<section class="tsd-index-section ">
|
|
103
|
+
<h3>Methods</h3>
|
|
104
|
+
<ul class="tsd-index-list">
|
|
105
|
+
<li class="tsd-kind-method tsd-parent-kind-class"><a href="five.AnimationFrameLoop.html#add" class="tsd-kind-icon">add</a></li>
|
|
106
|
+
<li class="tsd-kind-method tsd-parent-kind-class"><a href="five.AnimationFrameLoop.html#disponse" class="tsd-kind-icon">disponse</a></li>
|
|
107
|
+
<li class="tsd-kind-method tsd-parent-kind-class"><a href="five.AnimationFrameLoop.html#getFrameTime" class="tsd-kind-icon">get<wbr>Frame<wbr>Time</a></li>
|
|
108
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="five.AnimationFrameLoop.html#loop" class="tsd-kind-icon">loop</a></li>
|
|
109
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="five.AnimationFrameLoop.html#remove" class="tsd-kind-icon">remove</a></li>
|
|
110
|
+
</ul>
|
|
111
|
+
</section>
|
|
112
|
+
</div>
|
|
113
|
+
</section>
|
|
114
|
+
</section>
|
|
115
|
+
<section class="tsd-panel-group tsd-member-group ">
|
|
116
|
+
<h2>Constructors</h2>
|
|
117
|
+
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
|
|
118
|
+
<a name="constructor" class="tsd-anchor"></a>
|
|
119
|
+
<h3>constructor</h3>
|
|
120
|
+
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
|
|
121
|
+
<li class="tsd-signature tsd-kind-icon">new <wbr>Animation<wbr>Frame<wbr>Loop<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.AnimationFrameLoop.html" class="tsd-signature-type" data-tsd-kind="Class">AnimationFrameLoop</a></li>
|
|
122
|
+
</ul>
|
|
123
|
+
<ul class="tsd-descriptions">
|
|
124
|
+
<li class="tsd-description">
|
|
125
|
+
<aside class="tsd-sources">
|
|
126
|
+
<ul>
|
|
127
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:42</li>
|
|
128
|
+
</ul>
|
|
129
|
+
</aside>
|
|
130
|
+
<h4 class="tsd-returns-title">Returns <a href="five.AnimationFrameLoop.html" class="tsd-signature-type" data-tsd-kind="Class">AnimationFrameLoop</a></h4>
|
|
131
|
+
</li>
|
|
132
|
+
</ul>
|
|
133
|
+
</section>
|
|
134
|
+
</section>
|
|
135
|
+
<section class="tsd-panel-group tsd-member-group tsd-is-private tsd-is-private-protected">
|
|
136
|
+
<h2>Properties</h2>
|
|
137
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
|
138
|
+
<a name="frames" class="tsd-anchor"></a>
|
|
139
|
+
<h3><span class="tsd-flag ts-flagPrivate">Private</span> frames</h3>
|
|
140
|
+
<div class="tsd-signature tsd-kind-icon">frames<span class="tsd-signature-symbol">:</span> <a href="../interfaces/five.AnimationFrame.html" class="tsd-signature-type" data-tsd-kind="Interface">AnimationFrame</a><span class="tsd-signature-symbol">[]</span></div>
|
|
141
|
+
<aside class="tsd-sources">
|
|
142
|
+
<ul>
|
|
143
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:30</li>
|
|
144
|
+
</ul>
|
|
145
|
+
</aside>
|
|
146
|
+
</section>
|
|
147
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
|
148
|
+
<a name="stoped" class="tsd-anchor"></a>
|
|
149
|
+
<h3><span class="tsd-flag ts-flagPrivate">Private</span> stoped</h3>
|
|
150
|
+
<div class="tsd-signature tsd-kind-icon">stoped<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
151
|
+
<aside class="tsd-sources">
|
|
152
|
+
<ul>
|
|
153
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:32</li>
|
|
154
|
+
</ul>
|
|
155
|
+
</aside>
|
|
156
|
+
</section>
|
|
157
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
|
158
|
+
<a name="time" class="tsd-anchor"></a>
|
|
159
|
+
<h3><span class="tsd-flag ts-flagPrivate">Private</span> time</h3>
|
|
160
|
+
<div class="tsd-signature tsd-kind-icon">time<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
161
|
+
<aside class="tsd-sources">
|
|
162
|
+
<ul>
|
|
163
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:31</li>
|
|
164
|
+
</ul>
|
|
165
|
+
</aside>
|
|
166
|
+
</section>
|
|
167
|
+
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-static">
|
|
168
|
+
<a name="sharedInstance" class="tsd-anchor"></a>
|
|
169
|
+
<h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagPrivate">Private</span> <span class="tsd-flag ts-flagOptional">Optional</span> shared<wbr>Instance</h3>
|
|
170
|
+
<div class="tsd-signature tsd-kind-icon">shared<wbr>Instance<span class="tsd-signature-symbol">:</span> <a href="five.AnimationFrameLoop.html" class="tsd-signature-type" data-tsd-kind="Class">AnimationFrameLoop</a></div>
|
|
171
|
+
<aside class="tsd-sources">
|
|
172
|
+
<ul>
|
|
173
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:34</li>
|
|
174
|
+
</ul>
|
|
175
|
+
</aside>
|
|
176
|
+
</section>
|
|
177
|
+
</section>
|
|
178
|
+
<section class="tsd-panel-group tsd-member-group ">
|
|
179
|
+
<h2>Accessors</h2>
|
|
180
|
+
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-static">
|
|
181
|
+
<a name="shared" class="tsd-anchor"></a>
|
|
182
|
+
<h3><span class="tsd-flag ts-flagStatic">Static</span> shared</h3>
|
|
183
|
+
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-static">
|
|
184
|
+
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> shared<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="five.AnimationFrameLoop.html" class="tsd-signature-type" data-tsd-kind="Class">AnimationFrameLoop</a></li>
|
|
185
|
+
</ul>
|
|
186
|
+
<ul class="tsd-descriptions">
|
|
187
|
+
<li class="tsd-description">
|
|
188
|
+
<aside class="tsd-sources">
|
|
189
|
+
<ul>
|
|
190
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:35</li>
|
|
191
|
+
</ul>
|
|
192
|
+
</aside>
|
|
193
|
+
<h4 class="tsd-returns-title">Returns <a href="five.AnimationFrameLoop.html" class="tsd-signature-type" data-tsd-kind="Class">AnimationFrameLoop</a></h4>
|
|
194
|
+
</li>
|
|
195
|
+
</ul>
|
|
196
|
+
</section>
|
|
197
|
+
</section>
|
|
198
|
+
<section class="tsd-panel-group tsd-member-group ">
|
|
199
|
+
<h2>Methods</h2>
|
|
200
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
201
|
+
<a name="add" class="tsd-anchor"></a>
|
|
202
|
+
<h3>add</h3>
|
|
203
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
204
|
+
<li class="tsd-signature tsd-kind-icon">add<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>time<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, deltaTime<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>, once<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span>, delay<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, order<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><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></li>
|
|
205
|
+
</ul>
|
|
206
|
+
<ul class="tsd-descriptions">
|
|
207
|
+
<li class="tsd-description">
|
|
208
|
+
<aside class="tsd-sources">
|
|
209
|
+
<ul>
|
|
210
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:93</li>
|
|
211
|
+
</ul>
|
|
212
|
+
</aside>
|
|
213
|
+
<div class="tsd-comment tsd-typography">
|
|
214
|
+
<div class="lead">
|
|
215
|
+
<p>添加到动画循环</p>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
219
|
+
<ul class="tsd-parameters">
|
|
220
|
+
<li>
|
|
221
|
+
<h5>callback: <span class="tsd-signature-symbol">(</span>time<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, deltaTime<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></h5>
|
|
222
|
+
<div class="tsd-comment tsd-typography">
|
|
223
|
+
<p>动画循环回调</p>
|
|
224
|
+
</div>
|
|
225
|
+
<ul class="tsd-parameters">
|
|
226
|
+
<li class="tsd-parameter-signature">
|
|
227
|
+
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
228
|
+
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>time<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, deltaTime<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>
|
|
229
|
+
</ul>
|
|
230
|
+
<ul class="tsd-descriptions">
|
|
231
|
+
<li class="tsd-description">
|
|
232
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
233
|
+
<ul class="tsd-parameters">
|
|
234
|
+
<li>
|
|
235
|
+
<h5>time: <span class="tsd-signature-type">number</span></h5>
|
|
236
|
+
</li>
|
|
237
|
+
<li>
|
|
238
|
+
<h5>deltaTime: <span class="tsd-signature-type">number</span></h5>
|
|
239
|
+
</li>
|
|
240
|
+
</ul>
|
|
241
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
242
|
+
</li>
|
|
243
|
+
</ul>
|
|
244
|
+
</li>
|
|
245
|
+
</ul>
|
|
246
|
+
</li>
|
|
247
|
+
<li>
|
|
248
|
+
<h5>once: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5>
|
|
249
|
+
<div class="tsd-comment tsd-typography">
|
|
250
|
+
<p>是否只回调一次</p>
|
|
251
|
+
</div>
|
|
252
|
+
</li>
|
|
253
|
+
<li>
|
|
254
|
+
<h5>delay: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></h5>
|
|
255
|
+
<div class="tsd-comment tsd-typography">
|
|
256
|
+
<p>延迟多少个动画循环回调</p>
|
|
257
|
+
</div>
|
|
258
|
+
</li>
|
|
259
|
+
<li>
|
|
260
|
+
<h5>order: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = ...</span></h5>
|
|
261
|
+
<div class="tsd-comment tsd-typography">
|
|
262
|
+
<p>优先级,数字越小越早被调用</p>
|
|
263
|
+
</div>
|
|
264
|
+
</li>
|
|
265
|
+
</ul>
|
|
266
|
+
<h4 class="tsd-returns-title">Returns <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></h4>
|
|
267
|
+
<p>移除动画循环函数</p>
|
|
268
|
+
<ul class="tsd-parameters">
|
|
269
|
+
<li class="tsd-parameter-signature">
|
|
270
|
+
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
271
|
+
<li class="tsd-signature tsd-kind-icon"><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>
|
|
272
|
+
</ul>
|
|
273
|
+
<ul class="tsd-descriptions">
|
|
274
|
+
<li class="tsd-description">
|
|
275
|
+
<div class="tsd-comment tsd-typography">
|
|
276
|
+
<div class="lead">
|
|
277
|
+
<p>添加到动画循环</p>
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
281
|
+
<p>移除动画循环函数</p>
|
|
282
|
+
</li>
|
|
283
|
+
</ul>
|
|
284
|
+
</li>
|
|
285
|
+
</ul>
|
|
286
|
+
</li>
|
|
287
|
+
</ul>
|
|
288
|
+
</section>
|
|
289
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
290
|
+
<a name="disponse" class="tsd-anchor"></a>
|
|
291
|
+
<h3>disponse</h3>
|
|
292
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
293
|
+
<li class="tsd-signature tsd-kind-icon">disponse<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>
|
|
294
|
+
</ul>
|
|
295
|
+
<ul class="tsd-descriptions">
|
|
296
|
+
<li class="tsd-description">
|
|
297
|
+
<aside class="tsd-sources">
|
|
298
|
+
<ul>
|
|
299
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:105</li>
|
|
300
|
+
</ul>
|
|
301
|
+
</aside>
|
|
302
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
303
|
+
</li>
|
|
304
|
+
</ul>
|
|
305
|
+
</section>
|
|
306
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
|
307
|
+
<a name="getFrameTime" class="tsd-anchor"></a>
|
|
308
|
+
<h3>get<wbr>Frame<wbr>Time</h3>
|
|
309
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
310
|
+
<li class="tsd-signature tsd-kind-icon">get<wbr>Frame<wbr>Time<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>deltaTime<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><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><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>
|
|
311
|
+
</ul>
|
|
312
|
+
<ul class="tsd-descriptions">
|
|
313
|
+
<li class="tsd-description">
|
|
314
|
+
<aside class="tsd-sources">
|
|
315
|
+
<ul>
|
|
316
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:114</li>
|
|
317
|
+
</ul>
|
|
318
|
+
</aside>
|
|
319
|
+
<div class="tsd-comment tsd-typography">
|
|
320
|
+
<div class="lead">
|
|
321
|
+
<p>获取下一帧间隔时间</p>
|
|
322
|
+
</div>
|
|
323
|
+
</div>
|
|
324
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
325
|
+
<ul class="tsd-parameters">
|
|
326
|
+
<li>
|
|
327
|
+
<h5>callback: <span class="tsd-signature-symbol">(</span>deltaTime<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></h5>
|
|
328
|
+
<div class="tsd-comment tsd-typography">
|
|
329
|
+
<p>返回下一帧间隔时间</p>
|
|
330
|
+
</div>
|
|
331
|
+
<ul class="tsd-parameters">
|
|
332
|
+
<li class="tsd-parameter-signature">
|
|
333
|
+
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
334
|
+
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>deltaTime<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>
|
|
335
|
+
</ul>
|
|
336
|
+
<ul class="tsd-descriptions">
|
|
337
|
+
<li class="tsd-description">
|
|
338
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
339
|
+
<ul class="tsd-parameters">
|
|
340
|
+
<li>
|
|
341
|
+
<h5>deltaTime: <span class="tsd-signature-type">number</span></h5>
|
|
342
|
+
</li>
|
|
343
|
+
</ul>
|
|
344
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
345
|
+
</li>
|
|
346
|
+
</ul>
|
|
347
|
+
</li>
|
|
348
|
+
</ul>
|
|
349
|
+
</li>
|
|
350
|
+
</ul>
|
|
351
|
+
<h4 class="tsd-returns-title">Returns <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></h4>
|
|
352
|
+
<ul class="tsd-parameters">
|
|
353
|
+
<li class="tsd-parameter-signature">
|
|
354
|
+
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
355
|
+
<li class="tsd-signature tsd-kind-icon"><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>
|
|
356
|
+
</ul>
|
|
357
|
+
<ul class="tsd-descriptions">
|
|
358
|
+
<li class="tsd-description">
|
|
359
|
+
<div class="tsd-comment tsd-typography">
|
|
360
|
+
<div class="lead">
|
|
361
|
+
<p>添加到动画循环</p>
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
365
|
+
<p>移除动画循环函数</p>
|
|
366
|
+
</li>
|
|
367
|
+
</ul>
|
|
368
|
+
</li>
|
|
369
|
+
</ul>
|
|
370
|
+
</li>
|
|
371
|
+
</ul>
|
|
372
|
+
</section>
|
|
373
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
374
|
+
<a name="loop" class="tsd-anchor"></a>
|
|
375
|
+
<h3><span class="tsd-flag ts-flagPrivate">Private</span> loop</h3>
|
|
376
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
377
|
+
<li class="tsd-signature tsd-kind-icon">loop<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>
|
|
378
|
+
</ul>
|
|
379
|
+
<ul class="tsd-descriptions">
|
|
380
|
+
<li class="tsd-description">
|
|
381
|
+
<aside class="tsd-sources">
|
|
382
|
+
<ul>
|
|
383
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:50</li>
|
|
384
|
+
</ul>
|
|
385
|
+
</aside>
|
|
386
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
387
|
+
</li>
|
|
388
|
+
</ul>
|
|
389
|
+
</section>
|
|
390
|
+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
391
|
+
<a name="remove" class="tsd-anchor"></a>
|
|
392
|
+
<h3><span class="tsd-flag ts-flagPrivate">Private</span> remove</h3>
|
|
393
|
+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
394
|
+
<li class="tsd-signature tsd-kind-icon">remove<span class="tsd-signature-symbol">(</span>frame<span class="tsd-signature-symbol">: </span><a href="../interfaces/five.AnimationFrame.html" class="tsd-signature-type" data-tsd-kind="Interface">AnimationFrame</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
395
|
+
</ul>
|
|
396
|
+
<ul class="tsd-descriptions">
|
|
397
|
+
<li class="tsd-description">
|
|
398
|
+
<aside class="tsd-sources">
|
|
399
|
+
<ul>
|
|
400
|
+
<li>Defined in lib/five/utils/animationFrameLoop.ts:78</li>
|
|
401
|
+
</ul>
|
|
402
|
+
</aside>
|
|
403
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
404
|
+
<ul class="tsd-parameters">
|
|
405
|
+
<li>
|
|
406
|
+
<h5>frame: <a href="../interfaces/five.AnimationFrame.html" class="tsd-signature-type" data-tsd-kind="Interface">AnimationFrame</a></h5>
|
|
407
|
+
</li>
|
|
408
|
+
</ul>
|
|
409
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
410
|
+
</li>
|
|
411
|
+
</ul>
|
|
412
|
+
</section>
|
|
413
|
+
</section>
|
|
414
|
+
</div>
|
|
415
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
416
|
+
<nav class="tsd-navigation primary">
|
|
417
|
+
<ul>
|
|
418
|
+
<li class=" ">
|
|
419
|
+
<a href="../modules.html">Modules</a>
|
|
420
|
+
</li>
|
|
421
|
+
<li class="current tsd-kind-module">
|
|
422
|
+
<a href="../modules/five.html">five</a>
|
|
423
|
+
</li>
|
|
424
|
+
<li class=" tsd-kind-module">
|
|
425
|
+
<a href="../modules/gltf_loader.html">gltf-<wbr>loader</a>
|
|
426
|
+
</li>
|
|
427
|
+
<li class=" tsd-kind-module">
|
|
428
|
+
<a href="../modules/line.html">line</a>
|
|
429
|
+
</li>
|
|
430
|
+
<li class=" tsd-kind-module">
|
|
431
|
+
<a href="../modules/react.html">react</a>
|
|
432
|
+
</li>
|
|
433
|
+
<li class=" tsd-kind-module">
|
|
434
|
+
<a href="../modules/server.html">server</a>
|
|
435
|
+
</li>
|
|
436
|
+
<li class=" tsd-kind-module">
|
|
437
|
+
<a href="../modules/sticker.html">sticker</a>
|
|
438
|
+
</li>
|
|
439
|
+
</ul>
|
|
440
|
+
</nav>
|
|
441
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
442
|
+
<ul class="before-current">
|
|
443
|
+
</ul>
|
|
444
|
+
<ul class="current">
|
|
445
|
+
<li class="current tsd-kind-class tsd-parent-kind-module">
|
|
446
|
+
<a href="five.AnimationFrameLoop.html" class="tsd-kind-icon">Animation<wbr>Frame<wbr>Loop</a>
|
|
447
|
+
<ul>
|
|
448
|
+
<li class=" tsd-kind-constructor tsd-parent-kind-class">
|
|
449
|
+
<a href="five.AnimationFrameLoop.html#constructor" class="tsd-kind-icon">constructor</a>
|
|
450
|
+
</li>
|
|
451
|
+
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
|
452
|
+
<a href="five.AnimationFrameLoop.html#frames" class="tsd-kind-icon">frames</a>
|
|
453
|
+
</li>
|
|
454
|
+
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
|
455
|
+
<a href="five.AnimationFrameLoop.html#stoped" class="tsd-kind-icon">stoped</a>
|
|
456
|
+
</li>
|
|
457
|
+
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
|
458
|
+
<a href="five.AnimationFrameLoop.html#time" class="tsd-kind-icon">time</a>
|
|
459
|
+
</li>
|
|
460
|
+
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private tsd-is-static">
|
|
461
|
+
<a href="five.AnimationFrameLoop.html#sharedInstance" class="tsd-kind-icon">shared<wbr>Instance</a>
|
|
462
|
+
</li>
|
|
463
|
+
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-static">
|
|
464
|
+
<a href="five.AnimationFrameLoop.html#shared" class="tsd-kind-icon">shared</a>
|
|
465
|
+
</li>
|
|
466
|
+
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
467
|
+
<a href="five.AnimationFrameLoop.html#add" class="tsd-kind-icon">add</a>
|
|
468
|
+
</li>
|
|
469
|
+
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
470
|
+
<a href="five.AnimationFrameLoop.html#disponse" class="tsd-kind-icon">disponse</a>
|
|
471
|
+
</li>
|
|
472
|
+
<li class=" tsd-kind-method tsd-parent-kind-class">
|
|
473
|
+
<a href="five.AnimationFrameLoop.html#getFrameTime" class="tsd-kind-icon">get<wbr>Frame<wbr>Time</a>
|
|
474
|
+
</li>
|
|
475
|
+
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
476
|
+
<a href="five.AnimationFrameLoop.html#loop" class="tsd-kind-icon">loop</a>
|
|
477
|
+
</li>
|
|
478
|
+
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
479
|
+
<a href="five.AnimationFrameLoop.html#remove" class="tsd-kind-icon">remove</a>
|
|
480
|
+
</li>
|
|
481
|
+
</ul>
|
|
482
|
+
</li>
|
|
483
|
+
</ul>
|
|
484
|
+
<ul class="after-current">
|
|
485
|
+
</ul>
|
|
486
|
+
</nav>
|
|
487
|
+
</div>
|
|
488
|
+
</div>
|
|
489
|
+
</div>
|
|
490
|
+
<footer>
|
|
491
|
+
<div class="container">
|
|
492
|
+
<h2>Legend</h2>
|
|
493
|
+
<div class="tsd-legend-group">
|
|
494
|
+
<ul class="tsd-legend">
|
|
495
|
+
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
|
|
496
|
+
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
497
|
+
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
498
|
+
<li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
|
|
499
|
+
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
|
|
500
|
+
<li class="tsd-kind-type-alias tsd-has-type-parameter"><span class="tsd-kind-icon">Type alias with type parameter</span></li>
|
|
501
|
+
</ul>
|
|
502
|
+
<ul class="tsd-legend">
|
|
503
|
+
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
504
|
+
<li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
|
|
505
|
+
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
|
506
|
+
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
507
|
+
</ul>
|
|
508
|
+
<ul class="tsd-legend">
|
|
509
|
+
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
510
|
+
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
|
|
511
|
+
</ul>
|
|
512
|
+
<ul class="tsd-legend">
|
|
513
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
|
|
514
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
|
|
515
|
+
</ul>
|
|
516
|
+
</div>
|
|
517
|
+
</div>
|
|
518
|
+
</footer>
|
|
519
|
+
<div class="overlay"></div>
|
|
520
|
+
<script src="../assets/js/main.js"></script>
|
|
521
|
+
</body>
|
|
522
|
+
</html>
|