File: AnimationUtils.html

package info (click to toggle)
three.js 111%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 15,212 kB
  • sloc: javascript: 133,174; makefile: 24; sh: 1
file content (63 lines) | stat: -rw-r--r-- 1,622 bytes parent folder | download | duplicates (2)
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
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<base href="../../../" />
		<script src="list.js"></script>
		<script src="page.js"></script>
		<link type="text/css" rel="stylesheet" href="page.css" />
	</head>
	<body>
		<h1>[name]</h1>

		<p class="desc">
		An object with various functions to assist with animations, used internally.
		</p>


		<h2>Methods</h2>


		<h3>[method:Array arraySlice]( array, from, to )</h3>
		<p>
		This is the same as  Array.prototype.slice, but also works on typed arrays.
		</p>

		<h3>[method:Array convertArray]( array, type, forceClone )</h3>
		<p>
		Converts an array to a specific type.
		</p>

		<h3>[method:Array flattenJSON]( jsonKeys, times, values, valuePropertyName  )</h3>
		<p>
		Used for parsing AOS keyframe formats.
		</p>

		<h3>[method:Array getKeyframeOrder]( times )</h3>
		<p>
		Returns an array by which times and values can be sorted.
		</p>

		<h3>[method:Boolean isTypedArray]( object )</h3>
		<p>
		Returns *true* if the object is a typed array.
		</p>

		<h3>[method:Array sortedArray]( values, stride, order )</h3>
		<p>
		Sorts the array previously returned by [page:AnimationUtils.getKeyframeOrder getKeyframeOrder].
		</p>

		<h3>[method:AnimationClip subclip]( [param:AnimationClip clip], [param:String name], [param:Number startFrame], [param:Number endFrame], [param:Number fps] )</h3>
		<p>
		Creates a new clip, containing only the segment of the original clip between the given frames.
		</p>

		<h2>Source</h2>


		<p>
			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
		</p>
	</body>
</html>