Protected Member Functions | Friends

KFbxSurfaceMaterial Class Reference

This reference page is linked to from the following overview topics: Supported Scene Elements, Connections, FBX Scenes, FBX Nodes, Materials, List of Python FBX classes.


Search for all occurrences

Detailed Description

This class contains material settings.

Examples:

ImportScene/DisplayMaterial.cxx, ImportScene/DisplayMesh.cxx, ImportScene/DisplayTexture.cxx, ViewScene/Texture.cxx, and ViewScene/Texture.h.

Definition at line 53 of file kfbxsurfacematerial.h.

#include <kfbxsurfacematerial.h>

Inheritance diagram for KFbxSurfaceMaterial:
Inheritance graph
[legend]

List of all members.

Protected Member Functions

bool  SetColorParameter (KFbxProperty pProperty, KFbxColor const &pColor)
bool  GetColorParameter (KFbxProperty pProperty, KFbxColor &pColor) const
bool  SetDoubleParameter (KFbxProperty pProperty, double pDouble)
bool  GetDoubleParameter (KFbxProperty pProperty, double pDouble) const
  KFbxSurfaceMaterial (KFbxSdkManager &pManager, char const *pName)
virtual bool  ConstructProperties (bool pForceSet)

Friends

class  KFbxLayerContainer

Standard Material Property Names

static char const *  sShadingModel
static char const *  sMultiLayer
static char const *  sEmissive
static char const *  sEmissiveFactor
static char const *  sAmbient
static char const *  sAmbientFactor
static char const *  sDiffuse
static char const *  sDiffuseFactor
static char const *  sSpecular
static char const *  sSpecularFactor
static char const *  sShininess
static char const *  sBump
static char const *  sNormalMap
static char const *  sBumpFactor
static char const *  sTransparentColor
static char const *  sTransparencyFactor
static char const *  sReflection
static char const *  sReflectionFactor
static char const *  sDisplacementColor
static char const *  sDisplacementFactor
static char const *  sVectorDisplacementColor
static char const *  sVectorDisplacementFactor

Material Properties

KFbxPropertyString  ShadingModel
KFbxPropertyBool1  MultiLayer
K_DEPRECATED KFbxPropertyString  GetShadingModel () const
  Returns the material shading model.
K_DEPRECATED KFbxPropertyBool1  GetMultiLayer () const
  Returns the multilayer state.

Default property values

static const fbxBool1  sMultiLayerDefault
static char const *  sShadingModelDefault

Constructor & Destructor Documentation

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

Member Function Documentation

K_DEPRECATED KFbxPropertyString GetShadingModel ( ) const

Returns the material shading model.

Returns:
The shading model.
Remarks:
This method is deprecated. The property ShadingModel can be directly accessed.
K_DEPRECATED KFbxPropertyBool1 GetMultiLayer ( ) const

Returns the multilayer state.

Returns:
The state of the multi-layer flag.
Remarks:
This method is deprecated. The property MultiLayer can be directly accessed.
bool SetColorParameter ( KFbxProperty  pProperty,
KFbxColor const &  pColor 
) [protected]
bool GetColorParameter ( KFbxProperty  pProperty,
KFbxColor pColor 
) const [protected]
bool SetDoubleParameter ( KFbxProperty  pProperty,
double  pDouble 
) [protected]
bool GetDoubleParameter ( KFbxProperty  pProperty,
double  pDouble 
) const [protected]
virtual bool ConstructProperties ( bool  pForceSet ) [protected, virtual]

Friends And Related Function Documentation

friend class KFbxLayerContainer [friend]

Member Data Documentation

char const* sShadingModel [static]
char const* sMultiLayer [static]
char const* sEmissive [static]
char const* sEmissiveFactor [static]
char const* sAmbient [static]
char const* sAmbientFactor [static]
char const* sDiffuse [static]
char const* sDiffuseFactor [static]
char const* sSpecular [static]
char const* sSpecularFactor [static]
char const* sShininess [static]
char const* sBump [static]
char const* sNormalMap [static]
char const* sBumpFactor [static]
char const* sTransparentColor [static]
char const* sTransparencyFactor [static]
char const* sReflection [static]
char const* sReflectionFactor [static]
char const* sDisplacementColor [static]
char const* sDisplacementFactor [static]
char const* sVectorDisplacementColor [static]
char const* sVectorDisplacementFactor [static]
char const* sShadingModelDefault [static]

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

KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial
KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial KFbxSurfaceMaterial