Prechádzať zdrojové kódy

Docs: Improve color space constant documentation (#25939)

Don McCurdy 2 rokov pred
rodič
commit
3a1c9704c4

+ 8 - 4
docs/api/en/constants/Core.html

@@ -21,11 +21,15 @@ THREE.REVISION
 
 		<h2>Color Spaces</h2>
 		<code>
-THREE.NoColorSpace 
-THREE.SRGBColorSpace 
-THREE.LinearSRGBColorSpace
+THREE.NoColorSpace = ""
+THREE.SRGBColorSpace = "srgb"
+THREE.LinearSRGBColorSpace = "srgb-linear"
 		</code>
-		<p>[page:NoColorSpace] defines no specific color space.</p>
+		<p>
+			[page:NoColorSpace] defines no specific color space. It is commonly used
+			for textures including normal maps, roughness maps, metalness maps,
+			ambient occlusion maps, and other non-color data.
+		</p>
 		<p>
 			[page:SRGBColorSpace] (“srgb”) refers to the color space defined by the
 			Rec. 709 primaries, D65 white point, and nonlinear sRGB transfer

+ 3 - 4
docs/api/en/constants/Textures.html

@@ -601,10 +601,9 @@
 
 		<h2>Color Space</h2>
 		<code>
-		THREE.NoColorSpace 
-		THREE.SRGBColorSpace 
-		THREE.LinearSRGBColorSpace
-		THREE.DisplayP3ColorSpace
+		THREE.NoColorSpace = ""
+		THREE.SRGBColorSpace = "srgb"
+		THREE.LinearSRGBColorSpace = "srgb-linear"
 		</code>
 		<p>
 			Used to define the color space of textures (and the output color space of

+ 3 - 3
docs/api/fr/constants/Core.html

@@ -21,9 +21,9 @@ THREE.REVISION
 
 		<h2>Espaces colorimétriques</h2>
 		<code>
-THREE.NoColorSpace			
-THREE.SRGBColorSpace
-THREE.LinearSRGBColorSpace
+THREE.NoColorSpace = ""
+THREE.SRGBColorSpace = "srgb"
+THREE.LinearSRGBColorSpace = "srgb-linear"
 		</code>
 		<p>
 			[page:NoColorSpace] ne définit aucun espace colorimétrique spécifique. 

+ 3 - 4
docs/api/fr/constants/Textures.html

@@ -545,10 +545,9 @@
 
 		<h2>Color Space</h2>
 		<code>
-		THREE.NoColorSpace
-		THREE.SRGBColorSpace
-		THREE.LinearSRGBColorSpace
-		THREE.DisplayP3ColorSpace
+		THREE.NoColorSpace = ""
+		THREE.SRGBColorSpace = "srgb"
+		THREE.LinearSRGBColorSpace = "srgb-linear"
 		</code>
 		<p>
 		Used to define the color space of textures (and the output color space of the renderer).<br /><br />

+ 3 - 3
docs/api/it/constants/Core.html

@@ -21,9 +21,9 @@ THREE.REVISION
 
 		<h2>Spazi Colore</h2>
 		<code>
-THREE.NoColorSpace			
-THREE.SRGBColorSpace
-THREE.LinearSRGBColorSpace
+THREE.NoColorSpace = ""
+THREE.SRGBColorSpace = "srgb"
+THREE.LinearSRGBColorSpace = "srgb-linear"
 		</code>
 		<p>
 			[page:NoColorSpace] non definisce uno spazio colore specifico. 

+ 3 - 4
docs/api/it/constants/Textures.html

@@ -545,10 +545,9 @@
 
 		<h2>Color Space</h2>
 		<code>
-		THREE.NoColorSpace
-		THREE.SRGBColorSpace
-		THREE.LinearSRGBColorSpace
-		THREE.DisplayP3ColorSpace
+		THREE.NoColorSpace = ""
+		THREE.SRGBColorSpace = "srgb"
+		THREE.LinearSRGBColorSpace = "srgb-linear"
 		</code>
 		<p>
 		Used to define the color space of textures (and the output color space of the renderer).<br /><br />

+ 3 - 4
docs/api/ko/constants/Textures.html

@@ -533,10 +533,9 @@
 
 		<h2>Color Space</h2>
 		<code>
-		THREE.NoColorSpace
-		THREE.SRGBColorSpace
-		THREE.LinearSRGBColorSpace
-		THREE.DisplayP3ColorSpace
+		THREE.NoColorSpace = ""
+		THREE.SRGBColorSpace = "srgb"
+		THREE.LinearSRGBColorSpace = "srgb-linear"
 		</code>
 		<p>
 		Used to define the color space of textures (and the output color space of the renderer).<br /><br />

+ 3 - 3
docs/api/pt-br/constants/Core.html

@@ -21,9 +21,9 @@ THREE.REVISION
 
 		<h2>Espaço de Cores</h2>
 		<code>
-THREE.NoColorSpace			
-THREE.SRGBColorSpace
-THREE.LinearSRGBColorSpace
+THREE.NoColorSpace = ""
+THREE.SRGBColorSpace = "srgb"
+THREE.LinearSRGBColorSpace = "srgb-linear"
 		</code>
 		<p>
 			[page:NoColorSpace] não define nenhum espaço de cor específico.

+ 3 - 4
docs/api/pt-br/constants/Textures.html

@@ -545,10 +545,9 @@
 
 		<h2>Color Space</h2>
 		<code>
-		THREE.NoColorSpace
-		THREE.SRGBColorSpace
-		THREE.LinearSRGBColorSpace
-		THREE.DisplayP3ColorSpace
+		THREE.NoColorSpace = ""
+		THREE.SRGBColorSpace = "srgb"
+		THREE.LinearSRGBColorSpace = "srgb-linear"
 		</code>
 		<p>
 		Used to define the color space of textures (and the output color space of the renderer).<br /><br />

+ 3 - 4
docs/api/zh/constants/Textures.html

@@ -528,10 +528,9 @@
 
 	<h2>Color Space</h2>
 	<code>
-	THREE.NoColorSpace
-	THREE.SRGBColorSpace
-	THREE.LinearSRGBColorSpace
-	THREE.DisplayP3ColorSpace
+	THREE.NoColorSpace = ""
+	THREE.SRGBColorSpace = "srgb"
+	THREE.LinearSRGBColorSpace = "srgb-linear"
 	</code>
 	<p>
 	Used to define the color space of textures (and the output color space of the renderer).<br /><br />