Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Correct Material.alphaToCoverage type #24931

Merged
merged 1 commit into from
Nov 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/en/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h3>[property:Float alphaTest]</h3>
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`.
Expand Down
2 changes: 1 addition & 1 deletion docs/api/it/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h3>[property:Float alphaTest]</h3>
Il valore predefinito è `0`.
</p>

<h3>[property:Float alphaToCoverage]</h3>
<h3>[property:Boolean alphaToCoverage]</h3>
<p>
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`).
Expand Down
2 changes: 1 addition & 1 deletion docs/api/zh/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h3>[property:Float alphaTest]</h3>
<p>设置运行alphaTest时要使用的alpha值。如果不透明度低于此值,则不会渲染材质。默认值为*0*。
</p>

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