|
Spec-Zone .ru
спецификации, руководства, описания, API
|
public class PhongMaterial extends Material
PhongMaterial class provides definitions of properties that
represent a form of Phong shaded material.| Type | Property and Description |
|---|---|
ObjectProperty<Image> |
bumpMap
The bump map of this {@code PhongMaterial).
|
ObjectProperty<Color> |
diffuseColor
Specifies the diffuse color of this Material.
|
ObjectProperty<Image> |
diffuseMap
The diffuse map of this {@code PhongMaterial).
|
ObjectProperty<Image> |
selfIlluminationMap
The self illumination map of this {@code PhongMaterial).
|
ObjectProperty<Color> |
specularColor
Specifies the specular color of this Material.
|
ObjectProperty<Image> |
specularMap
The specular map of this {@code PhongMaterial).
|
DoubleProperty |
specularPower
Defines the specular power of this Material.
|
| Constructor and Description |
|---|
PhongMaterial()
Creates a new instance of
PhongMaterial class. |
PhongMaterial(Color diffuseColor) |
PhongMaterial(Color diffuseColor,
Image diffuseMap,
Image specularMap,
Image bumpMap,
Image selfIlluminationMap) |
| Modifier and Type | Method and Description |
|---|---|
ObjectProperty<Image> |
bumpMapProperty()
The bump map of this {@code PhongMaterial).
|
ObjectProperty<Color> |
diffuseColorProperty()
Specifies the diffuse color of this Material.
|
ObjectProperty<Image> |
diffuseMapProperty()
The diffuse map of this {@code PhongMaterial).
|
Image |
getBumpMap()
Gets the value of the property bumpMap.
|
Color |
getDiffuseColor()
Gets the value of the property diffuseColor.
|
Image |
getDiffuseMap()
Gets the value of the property diffuseMap.
|
Image |
getSelfIlluminationMap()
Gets the value of the property selfIlluminationMap.
|
Color |
getSpecularColor()
Gets the value of the property specularColor.
|
Image |
getSpecularMap()
Gets the value of the property specularMap.
|
double |
getSpecularPower()
Gets the value of the property specularPower.
|
ObjectProperty<Image> |
selfIlluminationMapProperty()
The self illumination map of this {@code PhongMaterial).
|
void |
setBumpMap(Image value)
Sets the value of the property bumpMap.
|
void |
setDiffuseColor(Color value)
Sets the value of the property diffuseColor.
|
void |
setDiffuseMap(Image value)
Sets the value of the property diffuseMap.
|
void |
setSelfIlluminationMap(Image value)
Sets the value of the property selfIlluminationMap.
|
void |
setSpecularColor(Color value)
Sets the value of the property specularColor.
|
void |
setSpecularMap(Image value)
Sets the value of the property specularMap.
|
void |
setSpecularPower(double value)
Sets the value of the property specularPower.
|
ObjectProperty<Color> |
specularColorProperty()
Specifies the specular color of this Material.
|
ObjectProperty<Image> |
specularMapProperty()
The specular map of this {@code PhongMaterial).
|
DoubleProperty |
specularPowerProperty()
Defines the specular power of this Material.
|
java.lang.String |
toString() |
public final ObjectProperty<Color> diffuseColorProperty
getDiffuseColor(),
setDiffuseColor(Color)public final ObjectProperty<Color> specularColorProperty
getSpecularColor(),
setSpecularColor(Color)public final DoubleProperty specularPowerProperty
getSpecularPower(),
setSpecularPower(double)public final ObjectProperty<Image> diffuseMapProperty
getDiffuseMap(),
setDiffuseMap(Image)public final ObjectProperty<Image> specularMapProperty
getSpecularMap(),
setSpecularMap(Image)public final ObjectProperty<Image> bumpMapProperty
getBumpMap(),
setBumpMap(Image)public final ObjectProperty<Image> selfIlluminationMapProperty
getSelfIlluminationMap(),
setSelfIlluminationMap(Image)public PhongMaterial()
PhongMaterial class.public PhongMaterial(Color diffuseColor)
public final void setDiffuseColor(Color value)
public final Color getDiffuseColor()
public final ObjectProperty<Color> diffuseColorProperty()
getDiffuseColor(),
setDiffuseColor(Color)public final void setSpecularColor(Color value)
public final Color getSpecularColor()
public final ObjectProperty<Color> specularColorProperty()
getSpecularColor(),
setSpecularColor(Color)public final void setSpecularPower(double value)
public final double getSpecularPower()
public final DoubleProperty specularPowerProperty()
getSpecularPower(),
setSpecularPower(double)public final void setDiffuseMap(Image value)
public final Image getDiffuseMap()
public final ObjectProperty<Image> diffuseMapProperty()
getDiffuseMap(),
setDiffuseMap(Image)public final void setSpecularMap(Image value)
public final Image getSpecularMap()
public final ObjectProperty<Image> specularMapProperty()
getSpecularMap(),
setSpecularMap(Image)public final void setBumpMap(Image value)
public final Image getBumpMap()
public final ObjectProperty<Image> bumpMapProperty()
getBumpMap(),
setBumpMap(Image)public final void setSelfIlluminationMap(Image value)
public final Image getSelfIlluminationMap()
public final ObjectProperty<Image> selfIlluminationMapProperty()
getSelfIlluminationMap(),
setSelfIlluminationMap(Image)public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to .