|
@@ -14,39 +14,39 @@
|
|
|
<h1>[name]</h1>
|
|
|
|
|
|
<p class="desc">
|
|
|
- A Track of string keyframe values.
|
|
|
+ 字符串类型的关键帧轨道
|
|
|
</p>
|
|
|
|
|
|
|
|
|
- <h2>Constructor</h2>
|
|
|
+ <h2>构造函数</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 />
|
|
|
- [page:Constant interpolation] - the type of interpolation to use. See
|
|
|
- [page:Animation Animation Constants] for possible values. Default is
|
|
|
+ [page:String name] - (必须) 关键帧轨道(KeyframeTrack)的标识符.<br />
|
|
|
+ [page:Array times] - (必须) 关键帧的时间数组.<br />
|
|
|
+ [page:Array values] - 与时间数组中的时间点对应的值数组.<br />
|
|
|
+ [page:Constant interpolation] - 使用的插值类型。 取值参考
|
|
|
+ [page:Animation Animation Constants] 默认值为
|
|
|
[page:Animation InterpolateDiscrete].
|
|
|
</p>
|
|
|
|
|
|
|
|
|
- <h2>Properties</h2>
|
|
|
+ <h2>属性</h2>
|
|
|
|
|
|
|
|
|
<p class="desc">
|
|
|
- See [page:KeyframeTrack] for inherited properties.
|
|
|
+ 参见 [page:KeyframeTrack] 查看继承的属性.
|
|
|
</p>
|
|
|
|
|
|
<h3>[property:Constant DefaultInterpolation]</h3>
|
|
|
<p>
|
|
|
- The default interpolation type to use, [page:Animation InterpolateDiscrete].
|
|
|
+ 默认的插值类型。 参见 [page:Animation InterpolateDiscrete].
|
|
|
</p>
|
|
|
|
|
|
<h3>[property:Array ValueBufferType]</h3>
|
|
|
<p>
|
|
|
- A normal Array (no Float32Array in this case, unlike *ValueBufferType* of [page:KeyframeTrack]).
|
|
|
+ 一个基本数组 (不是 Float32Array 类型, 与 [page:KeyframeTrack] 内的 *ValueBufferType* 属性不一样).
|
|
|
</p>
|
|
|
|
|
|
<h3>[property:String ValueTypeName]</h3>
|
|
@@ -55,25 +55,25 @@
|
|
|
</p>
|
|
|
|
|
|
|
|
|
- <h2>Methods</h2>
|
|
|
+ <h2>方法</h2>
|
|
|
|
|
|
|
|
|
<p class="desc">
|
|
|
- See [page:KeyframeTrack] for inherited methods.
|
|
|
+ 参见 [page:KeyframeTrack] 查看继承的方法.
|
|
|
</p>
|
|
|
|
|
|
<h3>[method:null InterpolantFactoryMethodLinear]()</h3>
|
|
|
<p>
|
|
|
- The value of this method here is 'undefined', as it does not make sense for discrete properties.
|
|
|
+ 这个方法在这里的值为 'undefined', 因为他对离散属性没有意义.
|
|
|
</p>
|
|
|
|
|
|
<h3>[method:null InterpolantFactoryMethodSmooth]()</h3>
|
|
|
<p>
|
|
|
- The value of this method here is 'undefined', as it does not make sense for discrete properties.
|
|
|
+ 这个方法在这里的值为 'undefined', 因为他对离散属性没有意义.
|
|
|
</p>
|
|
|
|
|
|
|
|
|
- <h2>Source</h2>
|
|
|
+ <h2>源码</h2>
|
|
|
|
|
|
|
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|