ColorManagement

THREE.ColorManagement
object ColorManagement extends Object

A class that manages conversions between color spaces.

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def _getDrawingBufferColorSpace(colorSpace: String): String

Internal: Gets drawing buffer color space

Internal: Gets drawing buffer color space

Attributes

def _getMatrix(targetMatrix: Matrix3, sourceColorSpace: String, targetColorSpace: String): Matrix3

Internal: Gets a transform matrix between color spaces

Internal: Gets a transform matrix between color spaces

Attributes

def _getUnpackColorSpace(colorSpace: UndefOr[String]): String

Internal: Gets unpack color space

Internal: Gets unpack color space

Attributes

def convert(color: Color, sourceColorSpace: String, targetColorSpace: String): Color

Converts a color from one color space to another

Converts a color from one color space to another

Attributes

def define(colorSpaces: Dictionary[Object]): Unit

Defines new color spaces

Defines new color spaces

Attributes

def fromWorkingColorSpace(color: Color, targetColorSpace: String): Color

Converts a color from the working color space to target color space

Converts a color from the working color space to target color space

Attributes

def getLuminanceCoefficients(target: Object, colorSpace: UndefOr[String]): Object

Gets luminance coefficients for a color space

Gets luminance coefficients for a color space

Attributes

def getPrimaries(colorSpace: String): Array[Double]

Gets primaries for a color space

Gets primaries for a color space

Attributes

def getTransfer(colorSpace: String): String

Gets transfer function for a color space

Gets transfer function for a color space

Attributes

def toWorkingColorSpace(color: Color, sourceColorSpace: String): Color

Converts a color from source color space to working color space

Converts a color from source color space to working color space

Attributes

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

var enabled: Boolean

Whether color management is enabled

Whether color management is enabled

Attributes

val spaces: Dictionary[Object]

Supported color spaces

Supported color spaces

Attributes

var workingColorSpace: String

Current working color space

Current working color space

Attributes