v3d.REVISION
v3d.NoColorSpace
v3d.SRGBColorSpace
v3d.LinearSRGBColorSpace
NoColorSpace defines no specific color space.
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.
LinearSRGBColorSpace (“Linear-sRGB”) refers to the sRGB color space (above) with linear transfer functions. Linear-sRGB is the working color space in Verge3D, used throughout most of the rendering process. RGB components found in Verge3D materials and shaders are in the Linear-sRGB color space.
For further background and usage, see Color management.
v3d.MOUSE.LEFT
v3d.MOUSE.MIDDLE
v3d.MOUSE.RIGHT
v3d.MOUSE.ROTATE
v3d.MOUSE.DOLLY
v3d.MOUSE.PAN
The constants LEFT and ROTATE have the same underlying value. The constants MIDDLE and DOLLY have the same underlying value. The constants RIGHT and PAN have the same underlying value.
v3d.TOUCH.ROTATE
v3d.TOUCH.PAN
v3d.TOUCH.DOLLY_PAN
v3d.TOUCH.DOLLY_ROTATE
For more info on how to obtain the source code of this module see this page.