PhongMaterial

class PhongMaterial(val delegate: PhongMaterial) extends Material with SFXDelegate[PhongMaterial]

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

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

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

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.

def bumpMap_=(v: Image): Unit

Specifies the diffuse color of this Material.

Specifies the diffuse color of this Material.

def diffuseColor_=(v: Color): Unit

The diffuse map of this PhongMaterial.

The diffuse map of this PhongMaterial.

def diffuseMap_=(v: Image): Unit

The self illumination map of this PhongMaterial.

The self illumination map of this PhongMaterial.

def selfIlluminationMap_=(v: Image): Unit

Specifies the specular color of this Material.

Specifies the specular color of this Material.

def specularColor_=(v: Color): Unit

The specular map of this PhongMaterial.

The specular map of this PhongMaterial.

def specularMap_=(v: Image): Unit

Defines the specular power of this Material.

Defines the specular power of this Material.

def specularPower_=(v: Double): Unit

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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: PhongMaterial