This reference page is linked to from the following overview topics: Meshes, Materials and Textures, Materials, List of Python FBX classes.
This class contains settings for Phong Materials.
ExportDocument/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, ImportScene/DisplayMaterial.cxx, Layers/main.cxx, ProceduralTexture/main.cxx, and UIExamples/CubeCreator/SDK_Utility.cxx.
Definition at line 54 of file kfbxsurfacephong.h.
#include <kfbxsurfacephong.h>
Protected Member Functions |
|
KFbxSurfacePhong (KFbxSdkManager &pManager, char const *pName) | |
virtual bool | ConstructProperties (bool pForceSet) |
void | Init () |
Material properties |
|
KFbxPropertyDouble3 | Specular |
Specular property. |
|
KFbxPropertyDouble1 | SpecularFactor |
Specular factor property. |
|
KFbxPropertyDouble1 | Shininess |
Shininess property. |
|
KFbxPropertyDouble3 | Reflection |
Reflection color property. |
|
KFbxPropertyDouble1 | ReflectionFactor |
Reflection factor property. |
|
K_DEPRECATED KFbxPropertyDouble3 | GetSpecularColor () const |
Returns the specular color property.
|
|
K_DEPRECATED KFbxPropertyDouble1 | GetSpecularFactor () const |
Returns the specular factor property.
|
|
K_DEPRECATED KFbxPropertyDouble1 | GetShininess () const |
Returns the shininess property. |
|
K_DEPRECATED KFbxPropertyDouble3 | GetReflectionColor () const |
Returns the reflection color property.
|
|
K_DEPRECATED KFbxPropertyDouble1 | GetReflectionFactor () const |
Returns the reflection factor property.
|
|
Default property values |
|
static const fbxDouble3 | sSpecularDefault |
static const fbxDouble1 | sSpecularFactorDefault |
static const fbxDouble1 | sShininessDefault |
static const fbxDouble3 | sReflectionDefault |
static const fbxDouble1 | sReflectionFactorDefault |
KFbxSurfacePhong | ( | KFbxSdkManager & | pManager, |
char const * | pName | ||
) | [protected] |
K_DEPRECATED KFbxPropertyDouble3 GetSpecularColor | ( | ) | const |
Returns the specular color property.
K_DEPRECATED KFbxPropertyDouble1 GetSpecularFactor | ( | ) | const |
Returns the specular factor property.
This factor is used to attenuate the specular color.
K_DEPRECATED KFbxPropertyDouble1 GetShininess | ( | ) | const |
Returns the shininess property.
This property controls the aspect of the shiny spot. It is the specular exponent in the Phong illumination model.
K_DEPRECATED KFbxPropertyDouble3 GetReflectionColor | ( | ) | const |
Returns the reflection color property.
This property is used to implement reflection mapping.
K_DEPRECATED KFbxPropertyDouble1 GetReflectionFactor | ( | ) | const |
Returns the reflection factor property.
This property is used to attenuate the reflection color.
virtual bool ConstructProperties | ( | bool | pForceSet | ) | [protected, virtual] |
Reimplemented from KFbxSurfaceLambert.
void Init | ( | ) | [protected] |
Reimplemented from KFbxSurfaceLambert.
Specular property.
Definition at line 64 of file kfbxsurfacephong.h.
Specular factor property.
This factor is used to attenuate the specular color.
Definition at line 75 of file kfbxsurfacephong.h.
Shininess property.
This property controls the aspect of the shiny spot. It is the specular exponent in the Phong illumination model.
Definition at line 88 of file kfbxsurfacephong.h.
Reflection color property.
This property is used to implement reflection mapping.
Definition at line 101 of file kfbxsurfacephong.h.
Reflection factor property.
This property is used to attenuate the reflection color.
Definition at line 113 of file kfbxsurfacephong.h.
const fbxDouble3 sSpecularDefault
[static] |
Definition at line 133 of file kfbxsurfacephong.h.
const fbxDouble1
sSpecularFactorDefault
[static] |
Definition at line 134 of file kfbxsurfacephong.h.
const fbxDouble1
sShininessDefault
[static] |
Definition at line 136 of file kfbxsurfacephong.h.
const fbxDouble3 sReflectionDefault
[static] |
Definition at line 138 of file kfbxsurfacephong.h.
const fbxDouble1
sReflectionFactorDefault
[static] |
Definition at line 139 of file kfbxsurfacephong.h.