瀏覽代碼

Clarify range of attenuationDistance (#24917)

WestLangley 3 年之前
父節點
當前提交
6671e7c4b7

+ 1 - 1
docs/api/en/materials/MeshPhysicalMaterial.html

@@ -90,7 +90,7 @@
 
 
 		<h3>[property:Float attenuationDistance]</h3>
 		<h3>[property:Float attenuationDistance]</h3>
 		<p>
 		<p>
-		Density of the medium given as the average distance that light travels in the medium before interacting with a particle. The value is given in world space. Default is `Infinity`.
+		Density of the medium given as the average distance that light travels in the medium before interacting with a particle. The value is given in world space units, and must be greater than zero. Default is `Infinity`.
 		</p>
 		</p>
 
 
 		<h3>[property:Float clearcoat]</h3>
 		<h3>[property:Float clearcoat]</h3>

+ 1 - 0
docs/api/it/materials/MeshPhysicalMaterial.html

@@ -94,6 +94,7 @@
 		<p>
 		<p>
 			Densità del mezzo, data come distanza media percorsa dalla luce nel mezzo prima di interagire con una particella.
 			Densità del mezzo, data come distanza media percorsa dalla luce nel mezzo prima di interagire con una particella.
 			Il valore è indicato nello spazio del mondo. Il valore predefinito è `0`.
 			Il valore è indicato nello spazio del mondo. Il valore predefinito è `0`.
+			Density of the medium given as the average distance that light travels in the medium before interacting with a particle. The value is given in world space units, and must be greater than zero. Default is `Infinity`.
 		</p>
 		</p>
 
 
 		<h3>[property:Float clearcoat]</h3>
 		<h3>[property:Float clearcoat]</h3>

+ 1 - 1
docs/api/zh/materials/MeshPhysicalMaterial.html

@@ -81,7 +81,7 @@
 
 
 		<h3>[property:Float attenuationDistance]</h3>
 		<h3>[property:Float attenuationDistance]</h3>
 		<p>
 		<p>
-		Density of the medium given as the average distance that light travels in the medium before interacting with a particle. The value is given in world space. Default is *0*.
+		Density of the medium given as the average distance that light travels in the medium before interacting with a particle. The value is given in world space units, and must be greater than zero. Default is `Infinity`.
 		</p>
 		</p>
 
 
 		<h3>[property:Float clearcoat]</h3>
 		<h3>[property:Float clearcoat]</h3>

粤ICP备19079148号