public class PhongMaterial extends Material
PhongMaterial
class provides definitions of properties that
represent a form of Phong shaded material.Type | Property and Description |
---|---|
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
bumpMap
The bump map of this {@code PhongMaterial).
|
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> |
diffuseColor
Specifies the diffuse color of this Material.
|
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
diffuseMap
The diffuse map of this {@code PhongMaterial).
|
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
selfIlluminationMap
The self illumination map of this {@code PhongMaterial).
|
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> |
specularColor
Specifies the specular color of this Material.
|
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
specularMap
The specular map of this {@code PhongMaterial).
|
javafx.beans.property.DoubleProperty |
specularPower
Defines the specular power of this Material.
|
Modifier and Type | Field and Description |
---|---|
protected com.sun.javafx.sg.PGPhongMaterial |
peer
The peer node created by the graphics Toolkit/Pipeline implementation
|
Constructor and Description |
---|
PhongMaterial()
Creates a new instance of
PhongMaterial class. |
PhongMaterial(javafx.scene.paint.Color diffuseColor) |
PhongMaterial(javafx.scene.paint.Color diffuseColor,
javafx.scene.image.Image diffuseMap,
javafx.scene.image.Image specularMap,
javafx.scene.image.Image bumpMap,
javafx.scene.image.Image selfIlluminationMap) |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
bumpMapProperty()
The bump map of this {@code PhongMaterial).
|
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> |
diffuseColorProperty()
Specifies the diffuse color of this Material.
|
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
diffuseMapProperty()
The diffuse map of this {@code PhongMaterial).
|
javafx.scene.image.Image |
getBumpMap()
Gets the value of the property bumpMap.
|
javafx.scene.paint.Color |
getDiffuseColor()
Gets the value of the property diffuseColor.
|
javafx.scene.image.Image |
getDiffuseMap()
Gets the value of the property diffuseMap.
|
javafx.scene.image.Image |
getSelfIlluminationMap()
Gets the value of the property selfIlluminationMap.
|
javafx.scene.paint.Color |
getSpecularColor()
Gets the value of the property specularColor.
|
javafx.scene.image.Image |
getSpecularMap()
Gets the value of the property specularMap.
|
double |
getSpecularPower()
Gets the value of the property specularPower.
|
com.sun.javafx.sg.PGPhongMaterial |
impl_getPGMaterial() |
void |
impl_updatePG() |
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
selfIlluminationMapProperty()
The self illumination map of this {@code PhongMaterial).
|
void |
setBumpMap(javafx.scene.image.Image value)
Sets the value of the property bumpMap.
|
void |
setDiffuseColor(javafx.scene.paint.Color value)
Sets the value of the property diffuseColor.
|
void |
setDiffuseMap(javafx.scene.image.Image value)
Sets the value of the property diffuseMap.
|
void |
setDirty(boolean value)
Sets the value of the property dirty.
|
void |
setSelfIlluminationMap(javafx.scene.image.Image value)
Sets the value of the property selfIlluminationMap.
|
void |
setSpecularColor(javafx.scene.paint.Color value)
Sets the value of the property specularColor.
|
void |
setSpecularMap(javafx.scene.image.Image value)
Sets the value of the property specularMap.
|
void |
setSpecularPower(double value)
Sets the value of the property specularPower.
|
javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> |
specularColorProperty()
Specifies the specular color of this Material.
|
javafx.beans.property.ObjectProperty<javafx.scene.image.Image> |
specularMapProperty()
The specular map of this {@code PhongMaterial).
|
javafx.beans.property.DoubleProperty |
specularPowerProperty()
Defines the specular power of this Material.
|
java.lang.String |
toString() |
dirtyProperty, isDirty
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> diffuseColorProperty
getDiffuseColor()
,
setDiffuseColor(Color)
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> specularColorProperty
getSpecularColor()
,
setSpecularColor(Color)
public final javafx.beans.property.DoubleProperty specularPowerProperty
getSpecularPower()
,
setSpecularPower(double)
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> diffuseMapProperty
getDiffuseMap()
,
setDiffuseMap(Image)
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> specularMapProperty
getSpecularMap()
,
setSpecularMap(Image)
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> bumpMapProperty
getBumpMap()
,
setBumpMap(Image)
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> selfIlluminationMapProperty
getSelfIlluminationMap()
,
setSelfIlluminationMap(Image)
protected com.sun.javafx.sg.PGPhongMaterial peer
public PhongMaterial()
PhongMaterial
class.public PhongMaterial(javafx.scene.paint.Color diffuseColor)
public PhongMaterial(javafx.scene.paint.Color diffuseColor, javafx.scene.image.Image diffuseMap, javafx.scene.image.Image specularMap, javafx.scene.image.Image bumpMap, javafx.scene.image.Image selfIlluminationMap)
public final void setDiffuseColor(javafx.scene.paint.Color value)
public final javafx.scene.paint.Color getDiffuseColor()
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> diffuseColorProperty()
getDiffuseColor()
,
setDiffuseColor(Color)
public final void setSpecularColor(javafx.scene.paint.Color value)
public final javafx.scene.paint.Color getSpecularColor()
public final javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> specularColorProperty()
getSpecularColor()
,
setSpecularColor(Color)
public final void setSpecularPower(double value)
public final double getSpecularPower()
public final javafx.beans.property.DoubleProperty specularPowerProperty()
getSpecularPower()
,
setSpecularPower(double)
public final void setDiffuseMap(javafx.scene.image.Image value)
public final javafx.scene.image.Image getDiffuseMap()
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> diffuseMapProperty()
getDiffuseMap()
,
setDiffuseMap(Image)
public final void setSpecularMap(javafx.scene.image.Image value)
public final javafx.scene.image.Image getSpecularMap()
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> specularMapProperty()
getSpecularMap()
,
setSpecularMap(Image)
public final void setBumpMap(javafx.scene.image.Image value)
public final javafx.scene.image.Image getBumpMap()
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> bumpMapProperty()
getBumpMap()
,
setBumpMap(Image)
public final void setSelfIlluminationMap(javafx.scene.image.Image value)
public final javafx.scene.image.Image getSelfIlluminationMap()
public final javafx.beans.property.ObjectProperty<javafx.scene.image.Image> selfIlluminationMapProperty()
getSelfIlluminationMap()
,
setSelfIlluminationMap(Image)
public void setDirty(boolean value)
Material
public com.sun.javafx.sg.PGPhongMaterial impl_getPGMaterial()
impl_getPGMaterial
in class Material
public void impl_updatePG()
impl_updatePG
in class Material
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.