PhongMaterial

scalafx.scene.paint.PhongMaterial
See thePhongMaterial companion object
class PhongMaterial(val delegate: PhongMaterial) extends Material, SFXDelegate[PhongMaterial]

The PhongMaterial class provides definitions of properties that represent a form of Phong shaded material.

Attributes

Companion
object
Graph
Supertypes
class Material
trait SFXDelegate[PhongMaterial]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(diffuseColor: Color)
def this(diffuseColor: Color, diffuseMap: Image, specularMap: Image, bumpMap: Image, selfIlluminationMap: Image)

Concrete methods

def bumpMap: ObjectProperty[Image]

The bump map of this PhongMaterial.

The bump map of this PhongMaterial.

Attributes

def bumpMap_=(v: Image): Unit

Specifies the diffuse color of this Material.

Specifies the diffuse color of this Material.

Attributes

def diffuseColor_=(v: Color): Unit

The diffuse map of this PhongMaterial.

The diffuse map of this PhongMaterial.

Attributes

def diffuseMap_=(v: Image): Unit

The self illumination map of this PhongMaterial.

The self illumination map of this PhongMaterial.

Attributes

def selfIlluminationMap_=(v: Image): Unit

Specifies the specular color of this Material.

Specifies the specular color of this Material.

Attributes

def specularColor_=(v: Color): Unit

The specular map of this PhongMaterial.

The specular map of this PhongMaterial.

Attributes

def specularMap_=(v: Image): Unit

Defines the specular power of this Material.

Defines the specular power of this Material.

Attributes

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: PhongMaterial

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes