浏览代码

add consistency in code values (#26181)

Omar Khalifa 2 年之前
父节点
当前提交
cc08bac705

+ 1 - 1
docs/api/en/lights/SpotLight.html

@@ -143,7 +143,7 @@
 		<h3>[property:Object3D target]</h3>
 		<h3>[property:Object3D target]</h3>
 		<p>
 		<p>
 			The Spotlight points from its [page:.position position] to
 			The Spotlight points from its [page:.position position] to
-			target.position. The default position of the target is *(0, 0, 0)*.<br />
+			target.position. The default position of the target is `(0, 0, 0)`.<br />
 			*Note*: For the target's position to be changed to anything other than the
 			*Note*: For the target's position to be changed to anything other than the
 			default, it must be added to the [page:Scene scene] using
 			default, it must be added to the [page:Scene scene] using
 			<code> scene.add( light.target ); </code>
 			<code> scene.add( light.target ); </code>

+ 1 - 1
docs/api/en/lights/shadows/LightShadow.html

@@ -68,7 +68,7 @@
 			Values must be powers of 2, up to the
 			Values must be powers of 2, up to the
 			[page:WebGLRenderer.capabilities].maxTextureSize for a given device,
 			[page:WebGLRenderer.capabilities].maxTextureSize for a given device,
 			although the width and height don't have to be the same (so, for example,
 			although the width and height don't have to be the same (so, for example,
-			(512, 1024) is valid). The default is *( 512, 512 )*.
+			(512, 1024) is valid). The default is `( 512, 512 )`.
 		</p>
 		</p>
 
 
 		<h3>[property:Matrix4 matrix]</h3>
 		<h3>[property:Matrix4 matrix]</h3>

+ 1 - 1
docs/api/en/math/Plane.html

@@ -20,7 +20,7 @@
 		<h3>[name]( [param:Vector3 normal], [param:Float constant] )</h3>
 		<h3>[name]( [param:Vector3 normal], [param:Float constant] )</h3>
 		<p>
 		<p>
 			[page:Vector3 normal] - (optional) a unit length [page:Vector3] defining
 			[page:Vector3 normal] - (optional) a unit length [page:Vector3] defining
-			the normal of the plane. Default is *(1, 0, 0)*.<br />
+			the normal of the plane. Default is `(1, 0, 0)`.<br />
 			[page:Float constant] - (optional) the signed distance from the origin to
 			[page:Float constant] - (optional) the signed distance from the origin to
 			the plane. Default is `0`.
 			the plane. Default is `0`.
 		</p>
 		</p>

+ 3 - 3
docs/api/en/scenes/Scene.html

@@ -39,14 +39,14 @@
 		<h3>[property:Float backgroundBlurriness]</h3>
 		<h3>[property:Float backgroundBlurriness]</h3>
 		<p>
 		<p>
 			Sets the blurriness of the background. Only influences environment maps
 			Sets the blurriness of the background. Only influences environment maps
-			assigned to [page:Scene.background]. Valid input is a float between *0*
-			and *1*. Default is *0*.
+			assigned to [page:Scene.background]. Valid input is a float between `0`
+			and `1`. Default is `0`.
 		</p>
 		</p>
 
 
 		<h3>[property:Float backgroundIntensity]</h3>
 		<h3>[property:Float backgroundIntensity]</h3>
 		<p>
 		<p>
 			Attenuates the color of the background. Only applies to background
 			Attenuates the color of the background. Only applies to background
-			textures. Default is *1*.
+			textures. Default is `1`.
 		</p>
 		</p>
 
 
 		<h3>[property:Texture environment]</h3>
 		<h3>[property:Texture environment]</h3>

+ 1 - 1
docs/api/en/textures/DepthTexture.html

@@ -122,7 +122,7 @@
 		<h3>[property:number compareFunction]</h3>
 		<h3>[property:number compareFunction]</h3>
 		<p>
 		<p>
 		This is used to define the comparison function used when comparing texels in the depth texture to the value in the depth buffer. 
 		This is used to define the comparison function used when comparing texels in the depth texture to the value in the depth buffer. 
-		Default is *null* which means comparison is disabled.<br /><br/>
+		Default is `null` which means comparison is disabled.<br /><br/>
 
 
 		See the [page:Textures texture constants] page for details of other functions.
 		See the [page:Textures texture constants] page for details of other functions.
 		</p>
 		</p>