Browse Source

translate KeyFrameTrack

liuzhen15 6 years ago
parent
commit
661f8a53fc

+ 14 - 14
docs/api/zh/animation/tracks/BooleanKeyframeTrack.html

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

+ 12 - 13
docs/api/zh/animation/tracks/ColorKeyframeTrack.html

@@ -14,31 +14,30 @@
 		<h1>[name]</h1>
 		<h1>[name]</h1>
 
 
 		<p class="desc">
 		<p class="desc">
-			A Track of keyframe values that represent color changes.<br /><br />
-			The very basic implementation of this subclass has nothing special yet. However, this is the place
-			for color space parameterization.
+			反应颜色变化的关键帧轨道。<br /><br />
+			这个子类的基本实现还没有什么特别之处。不过,这里可以表示颜色空间参数化。
 		</p>
 		</p>
 
 
 
 
-		<h2>Constructor</h2>
+		<h2>构造函数</h2>
 
 
 
 
 		<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
 		<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
 		<p>
 		<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 InterpolateLinear].
 			[page:Animation InterpolateLinear].
 		</p>
 		</p>
 
 
 
 
-		<h2>Properties</h2>
+		<h2>属性</h2>
 
 
 
 
 		<p class="desc">
 		<p class="desc">
-			See [page:KeyframeTrack] for inherited properties.
+			参见 [page:KeyframeTrack] 查看继承的属性.
 		</p>
 		</p>
 
 
 		<h3>[property:String ValueTypeName]</h3>
 		<h3>[property:String ValueTypeName]</h3>
@@ -51,10 +50,10 @@
 
 
 
 
 		<p class="desc">
 		<p class="desc">
-			See [page:KeyframeTrack] for inherited methods.
+			参见 [page:KeyframeTrack] 查看继承的方法.
 		</p>
 		</p>
 
 
-		<h2>Source</h2>
+		<h2>源码</h2>
 
 
 
 
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

+ 12 - 12
docs/api/zh/animation/tracks/NumberKeyframeTrack.html

@@ -14,29 +14,29 @@
 		<h1>[name]</h1>
 		<h1>[name]</h1>
 
 
 		<p class="desc">
 		<p class="desc">
-			A Track of numeric keyframe values.
+			数字类型的关键帧轨道
 		</p>
 		</p>
 
 
 
 
-		<h2>Constructor</h2>
+		<h2>构造函数</h2>
 
 
 
 
 		<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
 		<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
 		<p>
 		<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 InterpolateLinear].
 			[page:Animation InterpolateLinear].
 		</p>
 		</p>
 
 
 
 
-		<h2>Properties</h2>
+		<h2>属性</h2>
 
 
 
 
 		<p class="desc">
 		<p class="desc">
-			See [page:KeyframeTrack] for inherited properties.
+			参见 [page:KeyframeTrack] 查看继承的属性.
 		</p>
 		</p>
 
 
 
 
@@ -46,15 +46,15 @@
 		</p>
 		</p>
 
 
 
 
-		<h2>Methods</h2>
+		<h2>方法</h2>
 
 
 
 
 		<p class="desc">
 		<p class="desc">
-			See [page:KeyframeTrack] for inherited methods.
+			参见 [page:KeyframeTrack] 查看继承的方法.
 		</p>
 		</p>
 
 
 
 
-		<h2>Source</h2>
+		<h2>源码</h2>
 
 
 
 
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

+ 17 - 16
docs/api/zh/animation/tracks/QuaternionKeyframeTrack.html

@@ -14,34 +14,34 @@
 		<h1>[name]</h1>
 		<h1>[name]</h1>
 
 
 		<p class="desc">
 		<p class="desc">
-			A Track of quaternion keyframe values.
+			四元数类型的关键帧轨道。
 		</p>
 		</p>
 
 
 
 
-		<h2>Constructor</h2>
+		<h2>构造函数</h2>
 
 
 
 
 		<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
 		<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
 		<p>
 		<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 InterpolateLinear].
 			[page:Animation InterpolateLinear].
 		</p>
 		</p>
 
 
 
 
-		<h2>Properties</h2>
+		<h2>属性</h2>
 
 
 
 
 		<p class="desc">
 		<p class="desc">
-			See [page:KeyframeTrack] for inherited properties.
+			参见 [page:KeyframeTrack] 查看继承的属性.
 		</p>
 		</p>
 
 
 		<h3>[property:Constant DefaultInterpolation]</h3>
 		<h3>[property:Constant DefaultInterpolation]</h3>
 		<p>
 		<p>
-			The default interpolation type to use, [page:Animation InterpolateLinear].
+			默认的插值类型。 参见 [page:Animation InterpolateDiscrete].
 		</p>
 		</p>
 
 
 		<h3>[property:String ValueTypeName]</h3>
 		<h3>[property:String ValueTypeName]</h3>
@@ -50,22 +50,23 @@
 		</p>
 		</p>
 
 
 
 
-		<h2>Methods</h2>
+		<h2>方法</h2>
 
 
 
 
 		<p class="desc">
 		<p class="desc">
-			See [page:KeyframeTrack] for inherited methods.
+			参见 [page:KeyframeTrack] 查看继承的方法.
 		</p>
 		</p>
 
 
 		<h3>[method:null InterpolantFactoryMethodLinear]()</h3>
 		<h3>[method:null InterpolantFactoryMethodLinear]()</h3>
 		<p>
 		<p>
-			Returns a new [page:QuaternionLinearInterpolant QuaternionLinearInterpolant] based on the
-			[page:KeyframeTrack.values values], [page:KeyframeTrack.times times] and
-			[page:KeyframeTrack.valueSize valueSize] of the keyframes.
+			根据值数组 ([page:KeyframeTrack.values values]),
+			时间 ([page:KeyframeTrack.times times])
+			和值大小 [page:KeyframeTrack.valueSize valueSize]
+			创建一个新的线性插值 ([page:QuaternionLinearInterpolant QuaternionLinearInterpolant])。
 		</p>
 		</p>
 
 
 
 
-		<h2>Source</h2>
+		<h2>源码</h2>
 
 
 
 
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

+ 16 - 16
docs/api/zh/animation/tracks/StringKeyframeTrack.html

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

+ 12 - 12
docs/api/zh/animation/tracks/VectorKeyframeTrack.html

@@ -14,29 +14,29 @@
 		<h1>[name]</h1>
 		<h1>[name]</h1>
 
 
 		<p class="desc">
 		<p class="desc">
-			A Track of vector keyframe values.
+			向量类型的关键帧轨道
 		</p>
 		</p>
 
 
 
 
-		<h2>Constructor</h2>
+		<h2>构造函数</h2>
 
 
 
 
 		<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
 		<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
 		<p>
 		<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 InterpolateLinear].
 			[page:Animation InterpolateLinear].
 		</p>
 		</p>
 
 
 
 
-		<h2>Properties</h2>
+		<h2>属性</h2>
 
 
 
 
 		<p class="desc">
 		<p class="desc">
-			See [page:KeyframeTrack] for inherited properties.
+			参见 [page:KeyframeTrack] 查看继承的属性.
 		</p>
 		</p>
 
 
 		<h3>[property:String ValueTypeName]</h3>
 		<h3>[property:String ValueTypeName]</h3>
@@ -45,15 +45,15 @@
 		</p>
 		</p>
 
 
 
 
-		<h2>Methods</h2>
+		<h2>方法</h2>
 
 
 
 
 		<p class="desc">
 		<p class="desc">
-			See [page:KeyframeTrack] for inherited methods.
+			参见 [page:KeyframeTrack] 查看继承的方法.
 		</p>
 		</p>
 
 
 
 
-		<h2>Source</h2>
+		<h2>源码</h2>
 
 
 
 
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

+ 7 - 7
docs/list.js

@@ -469,13 +469,13 @@ var list = {
 				"PropertyMixer": "api/zh/animation/PropertyMixer"
 				"PropertyMixer": "api/zh/animation/PropertyMixer"
 			},
 			},
 
 
-			"Animation / Tracks": {
-				"BooleanKeyframeTrack": "api/zh/animation/tracks/BooleanKeyframeTrack",
-				"ColorKeyframeTrack": "api/zh/animation/tracks/ColorKeyframeTrack",
-				"NumberKeyframeTrack": "api/zh/animation/tracks/NumberKeyframeTrack",
-				"QuaternionKeyframeTrack": "api/zh/animation/tracks/QuaternionKeyframeTrack",
-				"StringKeyframeTrack": "api/zh/animation/tracks/StringKeyframeTrack",
-				"VectorKeyframeTrack": "api/zh/animation/tracks/VectorKeyframeTrack"
+			"动画 / 轨道": {
+				"布尔类型关键帧轨道": "api/zh/animation/tracks/BooleanKeyframeTrack",
+				"颜色类型关键帧轨道": "api/zh/animation/tracks/ColorKeyframeTrack",
+				"数字类型关键帧轨道": "api/zh/animation/tracks/NumberKeyframeTrack",
+				"四元数类型关键帧轨道": "api/zh/animation/tracks/QuaternionKeyframeTrack",
+				"字符串类型关键帧轨道": "api/zh/animation/tracks/StringKeyframeTrack",
+				"向量类型关键帧轨道": "api/zh/animation/tracks/VectorKeyframeTrack"
 			},
 			},
 
 
 			"Audio": {
 			"Audio": {