Skip to content

Commit 00d7c4d

Browse files
authored
Correct alphaToCoverage type (mrdoob#24931)
1 parent f16386d commit 00d7c4d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/api/en/materials/Material.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h3>[property:Float alphaTest]</h3>
3636
Default is `0`.
3737
</p>
3838

39-
<h3>[property:Float alphaToCoverage]</h3>
39+
<h3>[property:Boolean alphaToCoverage]</h3>
4040
<p>
4141
Enables alpha to coverage. Can only be used with MSAA-enabled contexts (meaning when the renderer was created with `antialias` parameter set to `true`).
4242
Default is `false`.

docs/api/it/materials/Material.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h3>[property:Float alphaTest]</h3>
3636
Il valore predefinito è `0`.
3737
</p>
3838

39-
<h3>[property:Float alphaToCoverage]</h3>
39+
<h3>[property:Boolean alphaToCoverage]</h3>
4040
<p>
4141
Abilita l'alfa alla copertura. Può essere utilizzato solo con contesti abilitati per MSAA (ovvero quando il renderer è stato creato con
4242
il parametro `antialias` impostato a `true`).

docs/api/zh/materials/Material.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3>[property:Float alphaTest]</h3>
2828
<p>设置运行alphaTest时要使用的alpha值。如果不透明度低于此值,则不会渲染材质。默认值为*0*。
2929
</p>
3030

31-
<h3>[property:Float alphaToCoverage]</h3>
31+
<h3>[property:Boolean alphaToCoverage]</h3>
3232
<p>
3333
启用alpha to coverage. 只能在开启了MSAA的渲染环境中使用 (当渲染器创建的时候*antialias* 属性要*true*才能使用).
3434
默认为 *false*.

0 commit comments

Comments
 (0)