forked from serjIII/threejsSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BooleanKeyframeTrack.html
65 lines (52 loc) · 1.69 KB
/
BooleanKeyframeTrack.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../../../" />
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
[page:KeyframeTrack] →
<h1>[name]</h1>
<p class="desc">A Track of boolean keyframe values.</p>
<h2>Constructor</h2>
<h3>
[name]( [param:String name], [param:Array times], [param:Array values] )
</h3>
<p>
[page:String name] - (required) identifier for the KeyframeTrack.<br />
[page:Array times] - (required) array of keyframe times.<br />
[page:Array values] - values for the keyframes at the times specified.<br />
</p>
<h2>Properties</h2>
<p class="desc">See [page:KeyframeTrack] for inherited properties.</p>
<h3>[property:Constant DefaultInterpolation]</h3>
<p>
The default interpolation type to use, [page:Animation InterpolateDiscrete].
</p>
<h3>[property:Array ValueBufferType]</h3>
<p>
A normal Array (no Float32Array in this case, unlike `ValueBufferType` of
[page:KeyframeTrack]).
</p>
<h3>[property:String ValueTypeName]</h3>
<p>String 'bool'.</p>
<h2>Methods</h2>
<p class="desc">See [page:KeyframeTrack] for inherited methods.</p>
<h3>[method:undefined InterpolantFactoryMethodLinear ]()</h3>
<p>
The value of this method here is 'undefined', as it does not make sense
for discrete properties.
</p>
<h3>[method:undefined InterpolantFactoryMethodSmooth ]()</h3>
<p>
The value of this method here is 'undefined', as it does not make sense
for discrete properties.
</p>
<h2>Source</h2>
<p>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</p>
</body>
</html>