Protected Member Functions

KFbxSurfacePhong Class Reference

This reference page is linked to from the following overview topics: Meshes, Materials and Textures, Materials, List of Python FBX classes.


Search for all occurrences

Detailed Description

This class contains settings for Phong Materials.

Examples:

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>

Inheritance diagram for KFbxSurfacePhong:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

KFbxSurfacePhong ( KFbxSdkManager pManager,
char const *  pName 
) [protected]

Member Function Documentation

K_DEPRECATED KFbxPropertyDouble3 GetSpecularColor ( ) const

Returns the specular color property.

Returns:
The specular color.
Remarks:
This method is deprecated. The property Specular can be directly accessed.
K_DEPRECATED KFbxPropertyDouble1 GetSpecularFactor ( ) const

Returns the specular factor property.

This factor is used to attenuate the specular color.

Returns:
The specular factor.
Remarks:
This method is deprecated. The property SpecularFactor can be directly accessed.
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.

Returns:
The shininess.
Remarks:
This method is deprecated. The property Shininess can be directly accessed.
K_DEPRECATED KFbxPropertyDouble3 GetReflectionColor ( ) const

Returns the reflection color property.

This property is used to implement reflection mapping.

Returns:
The reflection color.
Remarks:
This method is deprecated. The property Reflection can be directly accessed.
K_DEPRECATED KFbxPropertyDouble1 GetReflectionFactor ( ) const

Returns the reflection factor property.

This property is used to attenuate the reflection color.

Returns:
The reflection factor.
Remarks:
This method is deprecated. The property ReflectionFactor can be directly accessed.
virtual bool ConstructProperties ( bool  pForceSet ) [protected, virtual]
void Init ( ) [protected]

Member Data Documentation

Specular factor property.

This factor is used to attenuate the specular color.

Examples:
ExportDocument/main.cxx, and ExportScene03/main.cxx.

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.

Examples:
ExportDocument/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, Layers/main.cxx, and UIExamples/CubeCreator/SDK_Utility.cxx.

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.

Examples:
ExportScene02/main.cxx.

Definition at line 113 of file kfbxsurfacephong.h.

const fbxDouble3 sSpecularDefault [static]

Definition at line 133 of file kfbxsurfacephong.h.

Definition at line 134 of file kfbxsurfacephong.h.

const fbxDouble1 sShininessDefault [static]

Definition at line 136 of file kfbxsurfacephong.h.

Definition at line 138 of file kfbxsurfacephong.h.


The documentation for this class was generated from the following file:

KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong
KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong KFbxSurfacePhong