#include <kfbxsurfacephong.h>
Inherits KFbxSurfaceLambert.
Inheritance diagram for KFbxSurfacePhong:

A material is attached to an instance of class KFbxGeometry by calling KFbxGeometry::AddMaterial(). Materials can be shared among many instances of class KFbxGeometry.
Definition at line 63 of file kfbxsurfacephong.h.
Material properties | |
| KFbxProperty | GetSpecularColor () const |
| Get the specular color property. | |
| KFbxProperty | GetSpecularFactor () const |
| Get the specular factor property. | |
| KFbxProperty | GetShininess () const |
| Get the shininess property. | |
| KFbxProperty | GetReflectionColor () const |
| Get the reflection color property. | |
| KFbxProperty | GetReflectionFactor () const |
| Get the reflection factor property. | |
Deprecated KFbxMaterial interface. | |
| |
| K_DEPRECATED bool | SetDefaultSpecularColor (KFbxColor const &pColor) |
| Set default material specular color. | |
| K_DEPRECATED bool | GetDefaultSpecularColor (KFbxColor &pColor) const |
| Get default material specular color. | |
| K_DEPRECATED bool | SetDefaultShininess (double pShininess) |
| Set default material shininess. | |
| K_DEPRECATED bool | GetDefaultShininess (double &pShininess) const |
| Get default material shininess. | |
| K_DEPRECATED bool | SetDefaultReflectivity (double pReflectivity) |
| Set default material reflectivity. | |
| K_DEPRECATED bool | GetDefaultReflectivity (double &pReflectivity) const |
| Get default material reflectivity. | |
| KFbxProperty GetSpecularColor | ( | ) | const |
Get the specular color property.
| KFbxProperty GetSpecularFactor | ( | ) | const |
Get the specular factor property.
This factor is used to attenuate the specular color.
| KFbxProperty GetShininess | ( | ) | const |
Get the shininess property.
This property controls the aspect of the shiny spot. It is the specular exponent in the Phong illumination model.
| KFbxProperty GetReflectionColor | ( | ) | const |
Get the reflection color property.
This property is used to implement reflection mapping.
| KFbxProperty GetReflectionFactor | ( | ) | const |
Get the reflection factor property.
This property is used to attenuate the reflection color.
| K_DEPRECATED bool SetDefaultSpecularColor | ( | KFbxColor const & | pColor | ) |
Set default material specular color.
| pColor | Material specular color. |
| K_DEPRECATED bool GetDefaultSpecularColor | ( | KFbxColor & | pColor | ) | const |
Get default material specular color.
| pColor | Material specular color. |
| K_DEPRECATED bool SetDefaultShininess | ( | double | pShininess | ) |
Set default material shininess.
| pShininess | Shininess value from 0 to 1, 0 meaning 100% matte. |
| K_DEPRECATED bool GetDefaultShininess | ( | double & | pShininess | ) | const |
Get default material shininess.
| K_DEPRECATED bool SetDefaultReflectivity | ( | double | pReflectivity | ) |
Set default material reflectivity.
| pReflectivity | Reflectivity value from 0 to 1, 0 meaning no reflectivity. |
| K_DEPRECATED bool GetDefaultReflectivity | ( | double & | pReflectivity | ) | const |
Get default material reflectivity.