Skip to content

Commit ac2c912

Browse files
authored
Merge pull request #15333 from nicholas-yangding/translation-zh
Translation zh
2 parents 68aeb17 + dbe619d commit ac2c912

File tree

7 files changed

+131
-140
lines changed

7 files changed

+131
-140
lines changed

docs/api/zh/animation/tracks/BooleanKeyframeTrack.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,36 @@
1414
<h1>[name]</h1>
1515

1616
<p class="desc">
17-
A Track of boolean keyframe values.
17+
布尔类型的关键帧轨道。
1818
</p>
1919

2020

21-
<h2>Constructor</h2>
21+
<h2>构造函数</h2>
2222

2323

2424
<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
2525
<p>
26-
[page:String name] - (required) identifier for the KeyframeTrack.<br />
27-
[page:Array times] - (required) array of keyframe times.<br />
28-
[page:Array values] - values for the keyframes at the times specified.<br />
26+
[page:String name] - (必须) 关键帧轨道(KeyframeTrack)的标识符.<br />
27+
[page:Array times] - (必须) 关键帧的时间数组.<br />
28+
[page:Array values] - 与时间数组中的时间点对应的值数组.<br />
2929
</p>
3030

3131

32-
<h2>Properties</h2>
32+
<h2>属性</h2>
3333

3434

3535
<p class="desc">
36-
See [page:KeyframeTrack] for inherited properties.
36+
参见 [page:KeyframeTrack] 查看继承的属性.
3737
</p>
3838

3939
<h3>[property:Constant DefaultInterpolation]</h3>
4040
<p>
41-
The default interpolation type to use, [page:Animation InterpolateDiscrete].
41+
默认的插值类型。 参见 [page:Animation InterpolateDiscrete].
4242
</p>
4343

4444
<h3>[property:Array ValueBufferType]</h3>
4545
<p>
46-
A normal Array (no Float32Array in this case, unlike *ValueBufferType* of [page:KeyframeTrack]).
46+
一个基本数组 (不是 Float32Array 类型, 与 [page:KeyframeTrack] 内的 *ValueBufferType* 属性不一样).
4747
</p>
4848

4949
<h3>[property:String ValueTypeName]</h3>
@@ -52,25 +52,25 @@ <h3>[property:String ValueTypeName]</h3>
5252
</p>
5353

5454

55-
<h2>Methods</h2>
55+
<h2>方法</h2>
5656

5757

5858
<p class="desc">
59-
See [page:KeyframeTrack] for inherited methods.
59+
参见 [page:KeyframeTrack] 查看继承的方法.
6060
</p>
6161

6262
<h3>[method:null InterpolantFactoryMethodLinear ]()</h3>
6363
<p>
64-
The value of this method here is 'undefined', as it does not make sense for discrete properties.
64+
这个方法在这里的值为 'undefined', 因为他对离散属性没有意义.
6565
</p>
6666

6767
<h3>[method:null InterpolantFactoryMethodSmooth ]()</h3>
6868
<p>
69-
The value of this method here is 'undefined', as it does not make sense for discrete properties.
69+
这个方法在这里的值为 'undefined', 因为他对离散属性没有意义.
7070
</p>
7171

7272

73-
<h2>Source</h2>
73+
<h2>源码</h2>
7474

7575

7676
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

docs/api/zh/animation/tracks/ColorKeyframeTrack.html

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,30 @@
1414
<h1>[name]</h1>
1515

1616
<p class="desc">
17-
A Track of keyframe values that represent color changes.<br /><br />
18-
The very basic implementation of this subclass has nothing special yet. However, this is the place
19-
for color space parameterization.
17+
反应颜色变化的关键帧轨道。<br /><br />
18+
这个子类的基本实现还没有什么特别之处。不过,这里可以表示颜色空间参数化。
2019
</p>
2120

2221

23-
<h2>Constructor</h2>
22+
<h2>构造函数</h2>
2423

2524

2625
<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
2726
<p>
28-
[page:String name] - (required) identifier for the KeyframeTrack.<br />
29-
[page:Array times] - (required) array of keyframe times.<br />
30-
[page:Array values] - values for the keyframes at the times specified.<br />
31-
[page:Constant interpolation] - the type of interpolation to use. See
32-
[page:Animation Animation Constants] for possible values. Default is
27+
[page:String name] - (必须) 关键帧轨道(KeyframeTrack)的标识符.<br />
28+
[page:Array times] - (必须) 关键帧的时间数组.<br />
29+
[page:Array values] - 与时间数组中的时间点对应的值数组.<br />
30+
[page:Constant interpolation] - 使用的插值类型。 取值参考
31+
[page:Animation Animation Constants]. 默认值为
3332
[page:Animation InterpolateLinear].
3433
</p>
3534

3635

37-
<h2>Properties</h2>
36+
<h2>属性</h2>
3837

3938

4039
<p class="desc">
41-
See [page:KeyframeTrack] for inherited properties.
40+
参见 [page:KeyframeTrack] 查看继承的属性.
4241
</p>
4342

4443
<h3>[property:String ValueTypeName]</h3>
@@ -51,10 +50,10 @@ <h2>Methods</h2>
5150

5251

5352
<p class="desc">
54-
See [page:KeyframeTrack] for inherited methods.
53+
参见 [page:KeyframeTrack] 查看继承的方法.
5554
</p>
5655

57-
<h2>Source</h2>
56+
<h2>源码</h2>
5857

5958

6059
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

docs/api/zh/animation/tracks/NumberKeyframeTrack.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@
1414
<h1>[name]</h1>
1515

1616
<p class="desc">
17-
A Track of numeric keyframe values.
17+
数字类型的关键帧轨道
1818
</p>
1919

2020

21-
<h2>Constructor</h2>
21+
<h2>构造函数</h2>
2222

2323

2424
<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
2525
<p>
26-
[page:String name] - (required) identifier for the KeyframeTrack.<br />
27-
[page:Array times] - (required) array of keyframe times.<br />
28-
[page:Array values] - values for the keyframes at the times specified.<br />
29-
[page:Constant interpolation] - the type of interpolation to use. See
30-
[page:Animation Animation Constants] for possible values. Default is
26+
[page:String name] - (必须) 关键帧轨道(KeyframeTrack)的标识符.<br />
27+
[page:Array times] - (必须) 关键帧的时间数组.<br />
28+
[page:Array values] - 与时间数组中的时间点对应的值数组.<br />
29+
[page:Constant interpolation] - 使用的插值类型。 取值参考
30+
[page:Animation Animation Constants] 默认值为
3131
[page:Animation InterpolateLinear].
3232
</p>
3333

3434

35-
<h2>Properties</h2>
35+
<h2>属性</h2>
3636

3737

3838
<p class="desc">
39-
See [page:KeyframeTrack] for inherited properties.
39+
参见 [page:KeyframeTrack] 查看继承的属性.
4040
</p>
4141

4242

@@ -46,15 +46,15 @@ <h3>[property:String ValueTypeName]</h3>
4646
</p>
4747

4848

49-
<h2>Methods</h2>
49+
<h2>方法</h2>
5050

5151

5252
<p class="desc">
53-
See [page:KeyframeTrack] for inherited methods.
53+
参见 [page:KeyframeTrack] 查看继承的方法.
5454
</p>
5555

5656

57-
<h2>Source</h2>
57+
<h2>源码</h2>
5858

5959

6060
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

docs/api/zh/animation/tracks/QuaternionKeyframeTrack.html

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,34 @@
1414
<h1>[name]</h1>
1515

1616
<p class="desc">
17-
A Track of quaternion keyframe values.
17+
四元数类型的关键帧轨道。
1818
</p>
1919

2020

21-
<h2>Constructor</h2>
21+
<h2>构造函数</h2>
2222

2323

2424
<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
2525
<p>
26-
[page:String name] (required) identifier for the KeyframeTrack.<br />
27-
[page:Array times] (required) array of keyframe times.<br />
28-
[page:Array values] values for the keyframes at the times specified.<br />
29-
[page:Constant interpolation] the type of interpolation to use. See
30-
[page:Animation Animation Constants] for possible values. Default is
26+
[page:String name] - (必须) 关键帧轨道(KeyframeTrack)的标识符.<br />
27+
[page:Array times] - (必须) 关键帧的时间数组.<br />
28+
[page:Array values] - 与时间数组中的时间点对应的值数组.<br />
29+
[page:Constant interpolation] - 使用的插值类型。 取值参考
30+
[page:Animation Animation Constants] 默认值为
3131
[page:Animation InterpolateLinear].
3232
</p>
3333

3434

35-
<h2>Properties</h2>
35+
<h2>属性</h2>
3636

3737

3838
<p class="desc">
39-
See [page:KeyframeTrack] for inherited properties.
39+
参见 [page:KeyframeTrack] 查看继承的属性.
4040
</p>
4141

4242
<h3>[property:Constant DefaultInterpolation]</h3>
4343
<p>
44-
The default interpolation type to use, [page:Animation InterpolateLinear].
44+
默认的插值类型。 参见 [page:Animation InterpolateDiscrete].
4545
</p>
4646

4747
<h3>[property:String ValueTypeName]</h3>
@@ -50,22 +50,23 @@ <h3>[property:String ValueTypeName]</h3>
5050
</p>
5151

5252

53-
<h2>Methods</h2>
53+
<h2>方法</h2>
5454

5555

5656
<p class="desc">
57-
See [page:KeyframeTrack] for inherited methods.
57+
参见 [page:KeyframeTrack] 查看继承的方法.
5858
</p>
5959

6060
<h3>[method:null InterpolantFactoryMethodLinear]()</h3>
6161
<p>
62-
Returns a new [page:QuaternionLinearInterpolant QuaternionLinearInterpolant] based on the
63-
[page:KeyframeTrack.values values], [page:KeyframeTrack.times times] and
64-
[page:KeyframeTrack.valueSize valueSize] of the keyframes.
62+
根据值数组 ([page:KeyframeTrack.values values]),
63+
时间 ([page:KeyframeTrack.times times])
64+
和值大小 [page:KeyframeTrack.valueSize valueSize]
65+
创建一个新的线性插值 ([page:QuaternionLinearInterpolant QuaternionLinearInterpolant])。
6566
</p>
6667

6768

68-
<h2>Source</h2>
69+
<h2>源码</h2>
6970

7071

7172
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

docs/api/zh/animation/tracks/StringKeyframeTrack.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,39 +14,39 @@
1414
<h1>[name]</h1>
1515

1616
<p class="desc">
17-
A Track of string keyframe values.
17+
字符串类型的关键帧轨道
1818
</p>
1919

2020

21-
<h2>Constructor</h2>
21+
<h2>构造函数</h2>
2222

2323

2424
<h3>[name]( [param:String name], [param:Array times], [param:Array values] )</h3>
2525
<p>
26-
[page:String name] - (required) identifier for the KeyframeTrack.<br />
27-
[page:Array times] - (required) array of keyframe times.<br />
28-
[page:Array values] - values for the keyframes at the times specified.<br />
29-
[page:Constant interpolation] - the type of interpolation to use. See
30-
[page:Animation Animation Constants] for possible values. Default is
26+
[page:String name] - (必须) 关键帧轨道(KeyframeTrack)的标识符.<br />
27+
[page:Array times] - (必须) 关键帧的时间数组.<br />
28+
[page:Array values] - 与时间数组中的时间点对应的值数组.<br />
29+
[page:Constant interpolation] - 使用的插值类型。 取值参考
30+
[page:Animation Animation Constants] 默认值为
3131
[page:Animation InterpolateDiscrete].
3232
</p>
3333

3434

35-
<h2>Properties</h2>
35+
<h2>属性</h2>
3636

3737

3838
<p class="desc">
39-
See [page:KeyframeTrack] for inherited properties.
39+
参见 [page:KeyframeTrack] 查看继承的属性.
4040
</p>
4141

4242
<h3>[property:Constant DefaultInterpolation]</h3>
4343
<p>
44-
The default interpolation type to use, [page:Animation InterpolateDiscrete].
44+
默认的插值类型。 参见 [page:Animation InterpolateDiscrete].
4545
</p>
4646

4747
<h3>[property:Array ValueBufferType]</h3>
4848
<p>
49-
A normal Array (no Float32Array in this case, unlike *ValueBufferType* of [page:KeyframeTrack]).
49+
一个基本数组 (不是 Float32Array 类型, 与 [page:KeyframeTrack] 内的 *ValueBufferType* 属性不一样).
5050
</p>
5151

5252
<h3>[property:String ValueTypeName]</h3>
@@ -55,25 +55,25 @@ <h3>[property:String ValueTypeName]</h3>
5555
</p>
5656

5757

58-
<h2>Methods</h2>
58+
<h2>方法</h2>
5959

6060

6161
<p class="desc">
62-
See [page:KeyframeTrack] for inherited methods.
62+
参见 [page:KeyframeTrack] 查看继承的方法.
6363
</p>
6464

6565
<h3>[method:null InterpolantFactoryMethodLinear]()</h3>
6666
<p>
67-
The value of this method here is 'undefined', as it does not make sense for discrete properties.
67+
这个方法在这里的值为 'undefined', 因为他对离散属性没有意义.
6868
</p>
6969

7070
<h3>[method:null InterpolantFactoryMethodSmooth]()</h3>
7171
<p>
72-
The value of this method here is 'undefined', as it does not make sense for discrete properties.
72+
这个方法在这里的值为 'undefined', 因为他对离散属性没有意义.
7373
</p>
7474

7575

76-
<h2>Source</h2>
76+
<h2>源码</h2>
7777

7878

7979
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

0 commit comments

Comments
 (0)