Skip to content

Commit

Permalink
Documentation: Add color space constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Mar 10, 2022
1 parent 65a830a commit 4a50b55
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 15 deletions.
22 changes: 19 additions & 3 deletions docs/api/en/constants/Core.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,28 @@ <h2>Revision Number</h2>

<h2>Color Spaces</h2>
<code>
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.sRGBColorSpace
THREE.ACESCGColorSpace
THREE.DisplayP3ColorSpace
</code>

<p>
[page:SRGBColorSpace] (“sRGB”) refers to the color space defined by the Rec. 709 primaries, D65
white point, and nonlinear sRGB transfer functions. sRGB is the default color space in
CSS, and is often found in color palettes and color pickers. Colors expressed in
hexadecimal or CSS notation are typically in the sRGB color space.
</p>

<p>
[page:LinearSRGBColorSpace] (“Linear-sRGB”) refers to the sRGB color space (above) with
linear transfer functions. Linear-sRGB is the working color space in three.js, used
throughout most of the rendering process. RGB components found in three.js materials
and shaders are in the Linear-sRGB color space.
D</p>

<p>
For further background and usage, see <i>Color management</i>.
</p>

<h2>Mouse Buttons</h2>
<code>
THREE.MOUSE.LEFT
Expand Down
36 changes: 30 additions & 6 deletions docs/api/ko/constants/Core.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,36 @@ <h2>리비전 번호</h2>
three.js의 현재 리비전 번호([link:https://github.com/mrdoob/three.js/releases revision number]).
</div>

<h2>마우스 버튼</h2>
<code>
THREE.MOUSE.LEFT
THREE.MOUSE.MIDDLE
THREE.MOUSE.RIGHT
</code>
<h2>Color Spaces</h2>
<code>
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
</code>

<p>
[page:SRGBColorSpace] (“sRGB”) refers to the color space defined by the Rec. 709 primaries, D65
white point, and nonlinear sRGB transfer functions. sRGB is the default color space in
CSS, and is often found in color palettes and color pickers. Colors expressed in
hexadecimal or CSS notation are typically in the sRGB color space.
</p>

<p>
[page:LinearSRGBColorSpace] (“Linear-sRGB”) refers to the sRGB color space (above) with
linear transfer functions. Linear-sRGB is the working color space in three.js, used
throughout most of the rendering process. RGB components found in three.js materials
and shaders are in the Linear-sRGB color space.
D</p>

<p>
For further background and usage, see <i>Color management</i>.
</p>

<h2>마우스 버튼</h2>
<code>
THREE.MOUSE.LEFT
THREE.MOUSE.MIDDLE
THREE.MOUSE.RIGHT
</code>

<h2>소스 코드</h2>

Expand Down
36 changes: 30 additions & 6 deletions docs/api/zh/constants/Core.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,36 @@ <h2>修订版本号</h2>
当前three.js的修订版本号( [link:https://github.com/mrdoob/three.js/releases revision number])。
</div>

<h2>鼠标按钮</h2>
<code>
THREE.MOUSE.LEFT
THREE.MOUSE.MIDDLE
THREE.MOUSE.RIGHT
</code>
<h2>Color Spaces</h2>
<code>
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
</code>

<p>
[page:SRGBColorSpace] (“sRGB”) refers to the color space defined by the Rec. 709 primaries, D65
white point, and nonlinear sRGB transfer functions. sRGB is the default color space in
CSS, and is often found in color palettes and color pickers. Colors expressed in
hexadecimal or CSS notation are typically in the sRGB color space.
</p>

<p>
[page:LinearSRGBColorSpace] (“Linear-sRGB”) refers to the sRGB color space (above) with
linear transfer functions. Linear-sRGB is the working color space in three.js, used
throughout most of the rendering process. RGB components found in three.js materials
and shaders are in the Linear-sRGB color space.
D</p>

<p>
For further background and usage, see <i>Color management</i>.
</p>

<h2>鼠标按钮</h2>
<code>
THREE.MOUSE.LEFT
THREE.MOUSE.MIDDLE
THREE.MOUSE.RIGHT
</code>

<h2>源代码</h2>

Expand Down

0 comments on commit 4a50b55

Please sign in to comment.