You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.8 KiB

2 years ago
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<base href="../../../" />
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1>
<p class="desc">
一个提供各种动画辅助方法的对象,内部使用。
</p>
<h2>方法</h2>
<h3>[method:Array arraySlice]( array, from, to )</h3>
<p>
和Array.prototype.slice作用一样, 但也适用于类型化数组.
</p>
<h3>[method:Array convertArray]( array, type, forceClone )</h3>
<p>
将数组转换为某种特定类型。
</p>
<h3>[method:Array flattenJSON]( jsonKeys, times, values, valuePropertyName )</h3>
<p>
用于解析AOS关键帧格式。
</p>
<h3>[method:Array getKeyframeOrder]( times )</h3>
<p>
返回一个数组,时间和值可以根据此数组排序。
</p>
<h3>[method:Boolean isTypedArray]( object )</h3>
<p>
如果该对象是类型化数组,返回*true*
</p>
<h3>[method:AnimationClip makeClipAdditive]( [param:AnimationClip targetClip], [param:Number referenceFrame], [param:AnimationClip referenceClip], [param:Number fps] )</h3>
<p>
Converts the keyframes of the given animation clip to an additive format.
</p>
<h3>[method:Array sortedArray]( values, stride, order )</h3>
<p>
将[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>
创建一个新的片段,仅包含所给定帧之间的原始剪辑片段。
</p>
<h2>源码</h2>
<p>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</p>
</body>
</html>