@@ -36,7 +36,7 @@
Default is `0`.
</p>
- <h3>[property:Float alphaToCoverage]</h3>
+ <h3>[property:Boolean alphaToCoverage]</h3>
<p>
Enables alpha to coverage. Can only be used with MSAA-enabled contexts (meaning when the renderer was created with `antialias` parameter set to `true`).
Default is `false`.
Il valore predefinito è `0`.
Abilita l'alfa alla copertura. Può essere utilizzato solo con contesti abilitati per MSAA (ovvero quando il renderer è stato creato con
il parametro `antialias` impostato a `true`).
@@ -28,7 +28,7 @@
<p>设置运行alphaTest时要使用的alpha值。如果不透明度低于此值,则不会渲染材质。默认值为*0*。
-<h3>[property:Float alphaToCoverage]</h3>
+<h3>[property:Boolean alphaToCoverage]</h3>
启用alpha to coverage. 只能在开启了MSAA的渲染环境中使用 (当渲染器创建的时候*antialias* 属性要*true*才能使用).
默认为 *false*.