TechniquePhong
Inheritance: java.lang.Object, ColladaElement
The technique PHONG. Produces a shaded surface where the specular reflection is shaded according the PHONG BRDF approximation.
Constructors
| Constructor | Description |
|---|---|
| TechniquePhong() |
Methods
| Method | Description |
|---|---|
| getEmission() | Gets or sets the emission. Declares the amount of light emitted from the surface of this object. |
| setEmission(FxCommonColorOrTexture value) | Gets or sets the emission. Declares the amount of light emitted from the surface of this object. |
| getAmbient() | Gets or sets the ambient. Declares the amount of ambient light emitted from the surface of this object. |
| setAmbient(FxCommonColorOrTexture value) | Gets or sets the ambient. Declares the amount of ambient light emitted from the surface of this object. |
| getDiffuse() | Gets or sets the diffuse. Declares the amount of light diffusely reflected from the surface of this object. |
| setDiffuse(FxCommonColorOrTexture value) | Gets or sets the diffuse. Declares the amount of light diffusely reflected from the surface of this object. |
| getSpecular() | Gets or sets the specular. Declares the color of light specular reflected from the surface of this object. |
| setSpecular(FxCommonColorOrTexture value) | Gets or sets the specular. Declares the color of light specular reflected from the surface of this object. |
| getShininess() | Gets or sets the shininess. Declares the specular or roughness of the specular reflection lobe. |
| setShininess(FxCommonFloatOrParameter value) | Gets or sets the shininess. Declares the specular or roughness of the specular reflection lobe. |
| getReflective() | Gets or sets the reflective. Declares the color of a perfect mirror reflection. |
| setReflective(FxCommonColorOrTexture value) | Gets or sets the reflective. Declares the color of a perfect mirror reflection. |
| 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. |
| 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. |
| getTransparent() | Gets or sets the transparent. Declares the color of perfectly refracted light. |
| setTransparent(FxCommonTransparent value) | Gets or sets the transparent. Declares the color of perfectly refracted light. |
| 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. |
| 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. |
| getIndexOfRefraction() | Gets or sets the index of refraction. Declares the index of refraction for perfectly refracted light as a single scalar index. |
| setIndexOfRefraction(FxCommonFloatOrParameter value) | Gets or sets the index of refraction. Declares the index of refraction for perfectly refracted light as a single scalar index. |
TechniquePhong()
public TechniquePhong()
getEmission()
public final FxCommonColorOrTexture getEmission()
Gets or sets the emission. Declares the amount of light emitted from the surface of this object.
Returns: FxCommonColorOrTexture
setEmission(FxCommonColorOrTexture value)
public final void setEmission(FxCommonColorOrTexture value)
Gets or sets the emission. Declares the amount of light emitted from the surface of this object.
getAmbient()
public final FxCommonColorOrTexture getAmbient()
Gets or sets the ambient. Declares the amount of ambient light emitted from the surface of this object.
Returns: FxCommonColorOrTexture
setAmbient(FxCommonColorOrTexture value)
public final void setAmbient(FxCommonColorOrTexture value)
Gets or sets the ambient. Declares the amount of ambient light emitted from the surface of this object.
getDiffuse()
public final FxCommonColorOrTexture getDiffuse()
Gets or sets the diffuse. Declares the amount of light diffusely reflected from the surface of this object.
Returns: FxCommonColorOrTexture
setDiffuse(FxCommonColorOrTexture value)
public final void setDiffuse(FxCommonColorOrTexture value)
Gets or sets the diffuse. Declares the amount of light diffusely reflected from the surface of this object.
getSpecular()
public final FxCommonColorOrTexture getSpecular()
Gets or sets the specular. Declares the color of light specular reflected from the surface of this object.
Returns: FxCommonColorOrTexture
setSpecular(FxCommonColorOrTexture value)
public final void setSpecular(FxCommonColorOrTexture value)
Gets or sets the specular. Declares the color of light specular reflected from the surface of this object.
getShininess()
public final FxCommonFloatOrParameter getShininess()
Gets or sets the shininess. Declares the specular or roughness of the specular reflection lobe.
Returns: FxCommonFloatOrParameter
setShininess(FxCommonFloatOrParameter value)
public final void setShininess(FxCommonFloatOrParameter value)
Gets or sets the shininess. Declares the specular or roughness of the specular reflection lobe.
getReflective()
public final FxCommonColorOrTexture getReflective()
Gets or sets the reflective. Declares the color of a perfect mirror reflection.
Returns: FxCommonColorOrTexture
setReflective(FxCommonColorOrTexture value)
public final void setReflective(FxCommonColorOrTexture value)
Gets or sets the reflective. Declares the color of a perfect mirror reflection.
getReflectivity()
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.
Returns: FxCommonFloatOrParameter
setReflectivity(FxCommonFloatOrParameter value)
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.
getTransparent()
public final FxCommonTransparent getTransparent()
Gets or sets the transparent. Declares the color of perfectly refracted light.
Returns: FxCommonTransparent
setTransparent(FxCommonTransparent value)
public final void setTransparent(FxCommonTransparent value)
Gets or sets the transparent. Declares the color of perfectly refracted light.
getTransparency()
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.
Returns: FxCommonFloatOrParameter
setTransparency(FxCommonFloatOrParameter value)
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.
getIndexOfRefraction()
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.
Returns: FxCommonFloatOrParameter
setIndexOfRefraction(FxCommonFloatOrParameter value)
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.