class Color extends Object
- Annotations
- @JSType() @native() @JSImport("three", "Color", "Three.Color")
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Color
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(color: Color): Color
- def addColors(color1: Color, color2: Color): Color
- def addScalar(s: Double): Color
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- var b: Double
- def clone(): Color
- Definition Classes
- Color → AnyRef
- def convertGammaToLinear(): Color
- def convertLinearToGamma(): Color
- def copy(color: Color): Color
- def copyGammaToLinear(color: Color): Color
- def copyLinearToGamma(color: Color): Color
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(color: Color): Boolean
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromArray(rgb: Array[Double]): Color
- var g: Double
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getHSL(): HSL
- def getHex(): Double
- def getHexString(): String
- def getStyle(): String
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def lerp(color: Color, alpha: Double): Color
- def multiply(color: Color): Color
- def multiplyScalar(s: Double): Color
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def offsetHSL(h: Double, s: Double, l: Double): Color
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- var r: Double
- def set(color: Color): Color
- def setHSL(h: Double, s: Double, l: Double): Color
- def setHex(hex: Double): Color
- def setRGB(r: Double, g: Double, b: Double): Color
- def setStyle(style: String): Color
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toArray(): Array[Double]
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()