public class TechniquePhong extends ColladaElement
The technique PHONG. Produces a shaded surface where the specular reflection is shaded according the PHONG BRDF approximation.
Constructor and Description |
---|
TechniquePhong() |
Modifier and Type | Method and Description |
---|---|
FxCommonColorOrTexture |
getAmbient()
Gets or sets the ambient.
|
FxCommonColorOrTexture |
getDiffuse()
Gets or sets the diffuse.
|
FxCommonColorOrTexture |
getEmission()
Gets or sets the emission.
|
FxCommonFloatOrParameter |
getIndexOfRefraction()
Gets or sets the index of refraction.
|
FxCommonColorOrTexture |
getReflective()
Gets or sets the reflective.
|
FxCommonFloatOrParameter |
getReflectivity()
Gets or sets the reflectivity.
|
FxCommonFloatOrParameter |
getShininess()
Gets or sets the shininess.
|
FxCommonColorOrTexture |
getSpecular()
Gets or sets the specular.
|
FxCommonFloatOrParameter |
getTransparency()
Gets or sets the transparency.
|
FxCommonTransparent |
getTransparent()
Gets or sets the transparent.
|
void |
setAmbient(FxCommonColorOrTexture value)
Gets or sets the ambient.
|
void |
setDiffuse(FxCommonColorOrTexture value)
Gets or sets the diffuse.
|
void |
setEmission(FxCommonColorOrTexture value)
Gets or sets the emission.
|
void |
setIndexOfRefraction(FxCommonFloatOrParameter value)
Gets or sets the index of refraction.
|
void |
setReflective(FxCommonColorOrTexture value)
Gets or sets the reflective.
|
void |
setReflectivity(FxCommonFloatOrParameter value)
Gets or sets the reflectivity.
|
void |
setShininess(FxCommonFloatOrParameter value)
Gets or sets the shininess.
|
void |
setSpecular(FxCommonColorOrTexture value)
Gets or sets the specular.
|
void |
setTransparency(FxCommonFloatOrParameter value)
Gets or sets the transparency.
|
void |
setTransparent(FxCommonTransparent value)
Gets or sets the transparent.
|
public final FxCommonColorOrTexture getEmission()
Gets or sets the emission. Declares the amount of light emitted from the surface of this object.
public final void setEmission(FxCommonColorOrTexture value)
Gets or sets the emission. Declares the amount of light emitted from the surface of this object.
public final FxCommonColorOrTexture getAmbient()
Gets or sets the ambient. Declares the amount of ambient light emitted from the surface of this object.
public final void setAmbient(FxCommonColorOrTexture value)
Gets or sets the ambient. Declares the amount of ambient light emitted from the surface of this object.
public final FxCommonColorOrTexture getDiffuse()
Gets or sets the diffuse. Declares the amount of light diffusely reflected from the surface of this object.
public final void setDiffuse(FxCommonColorOrTexture value)
Gets or sets the diffuse. Declares the amount of light diffusely reflected from the surface of this object.
public final FxCommonColorOrTexture getSpecular()
Gets or sets the specular. Declares the color of light specular reflected from the surface of this object.
public final void setSpecular(FxCommonColorOrTexture value)
Gets or sets the specular. Declares the color of light specular reflected from the surface of this object.
public final FxCommonFloatOrParameter getShininess()
Gets or sets the shininess. Declares the specular or roughness of the specular reflection lobe.
public final void setShininess(FxCommonFloatOrParameter value)
Gets or sets the shininess. Declares the specular or roughness of the specular reflection lobe.
public final FxCommonColorOrTexture getReflective()
Gets or sets the reflective. Declares the color of a perfect mirror reflection.
public final void setReflective(FxCommonColorOrTexture value)
Gets or sets the reflective. Declares the color of a perfect mirror reflection.
public final FxCommonFloatOrParameter getReflectivity()
Gets or sets the reflectivity. Declares the amount of perfect mirror reflection to be added to the reflected light as a value between 0.0 and 1.0.
public final void setReflectivity(FxCommonFloatOrParameter value)
Gets or sets the reflectivity. Declares the amount of perfect mirror reflection to be added to the reflected light as a value between 0.0 and 1.0.
public final FxCommonTransparent getTransparent()
Gets or sets the transparent. Declares the color of perfectly refracted light.
public final void setTransparent(FxCommonTransparent value)
Gets or sets the transparent. Declares the color of perfectly refracted light.
public final FxCommonFloatOrParameter getTransparency()
Gets or sets the transparency. Declares the amount of perfectly refracted light added to the reflected color as a scalar value between 0.0 and 1.0.
public final void setTransparency(FxCommonFloatOrParameter value)
Gets or sets the transparency. Declares the amount of perfectly refracted light added to the reflected color as a scalar value between 0.0 and 1.0.
public final FxCommonFloatOrParameter getIndexOfRefraction()
Gets or sets the index of refraction. Declares the index of refraction for perfectly refracted light as a single scalar index.
public final void setIndexOfRefraction(FxCommonFloatOrParameter value)
Gets or sets the index of refraction. Declares the index of refraction for perfectly refracted light as a single scalar index.