핵심 상수

리비전 번호

THREE.REVISION
three.js의 현재 리비전 번호([link:https://github.com/mrdoob/three.js/releases revision number]).

Color Spaces

THREE.SRGBColorSpace THREE.LinearSRGBColorSpace

[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.

[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

For further background and usage, see Color management.

마우스 버튼

THREE.MOUSE.LEFT THREE.MOUSE.MIDDLE THREE.MOUSE.RIGHT

소스 코드

[link:https://github.com/mrdoob/three.js/blob/master/src/constants.js src/constants.js]