Packages

class Color extends Object

Annotations
@JSType() @native() @JSImport("three", "Color", "Three.Color")
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Color
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Color(hex: Double)
  2. new Color(r: Double, g: Double, b: Double)
  3. new Color(color: Color = js.native)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(color: Color): Color
  5. def addColors(color1: Color, color2: Color): Color
  6. def addScalar(s: Double): Color
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. var b: Double
  9. def clone(): Color
    Definition Classes
    Color → AnyRef
  10. def convertGammaToLinear(): Color
  11. def convertLinearToGamma(): Color
  12. def copy(color: Color): Color
  13. def copyGammaToLinear(color: Color): Color
  14. def copyLinearToGamma(color: Color): Color
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(color: Color): Boolean
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. def fromArray(rgb: Array[Double]): Color
  20. var g: Double
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def getHSL(): HSL
  23. def getHex(): Double
  24. def getHexString(): String
  25. def getStyle(): String
  26. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  30. def lerp(color: Color, alpha: Double): Color
  31. def multiply(color: Color): Color
  32. def multiplyScalar(s: Double): Color
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def offsetHSL(h: Double, s: Double, l: Double): Color
  37. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  38. var r: Double
  39. def set(color: Color): Color
  40. def setHSL(h: Double, s: Double, l: Double): Color
  41. def setHex(hex: Double): Color
  42. def setRGB(r: Double, g: Double, b: Double): Color
  43. def setStyle(style: String): Color
  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def toArray(): Array[Double]
  46. def toLocaleString(): String
    Definition Classes
    Object
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. def valueOf(): Any
    Definition Classes
    Object
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped