KFbxSurfaceLambert Class Reference

#include <kfbxsurfacelambert.h>

Inherits KFbxSurfaceMaterial.

Inherited by KFbxSurfacePhong.

Inheritance diagram for KFbxSurfaceLambert:

Inheritance graph
List of all members.

Detailed Description

Material settings.

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 kfbxsurfacelambert.h.

Material properties

KFbxProperty GetEmissiveColor () const
 Get the emissive color property.
KFbxProperty GetEmissiveFactor () const
 Get the emissive factor property.
KFbxProperty GetAmbientColor () const
 Get the ambient color property.
KFbxProperty GetAmbientFactor () const
 Get the ambient factor property.
KFbxProperty GetDiffuseColor () const
 Get the diffuse color property.
KFbxProperty GetDiffuseFactor () const
 Get the diffuse factor property.
KFbxProperty GetBump () const
 Get the bump property.
KFbxProperty GetTransparentColor () const
 Get the transparent color property.
KFbxProperty GetTransparencyFactor () const
 Get the transparency property.

Deprecated KFbxMaterial interface.

Remarks:
These functions are provided to ease the transition to the new surface materials.


K_DEPRECATED bool SetDefaultAmbientColor (KFbxColor const &pColor)
 Set default material ambient color.
K_DEPRECATED bool GetDefaultAmbientColor (KFbxColor &pColor) const
 Get default material ambient color.
K_DEPRECATED bool SetDefaultDiffuseColor (KFbxColor const &pColor)
 Set default material diffuse color.
K_DEPRECATED bool GetDefaultDiffuseColor (KFbxColor &pColor) const
 Get default material diffuse color.
K_DEPRECATED bool SetDefaultEmissiveColor (KFbxColor const &pColor)
 Set default material emissive color.
K_DEPRECATED bool GetDefaultEmissiveColor (KFbxColor &pColor) const
 Get default material emissive color.
K_DEPRECATED bool SetDefaultOpacity (double pOpacity)
 Set default material opacity.
K_DEPRECATED bool GetDefaultOpacity (double &pOpacity) const
 Get default material opacity.


Member Function Documentation

KFbxProperty GetEmissiveColor (  )  const

Get the emissive color property.

KFbxProperty GetEmissiveFactor (  )  const

Get the emissive factor property.

This factor is used to attenuate the emissive color.

KFbxProperty GetAmbientColor (  )  const

Get the ambient color property.

KFbxProperty GetAmbientFactor (  )  const

Get the ambient factor property.

This factor is used to attenuate the ambient color.

KFbxProperty GetDiffuseColor (  )  const

Get the diffuse color property.

KFbxProperty GetDiffuseFactor (  )  const

Get the diffuse factor property.

This factor is used to attenuate the diffuse color.

KFbxProperty GetBump (  )  const

Get the bump property.

This property is used to perturb the surface normal, creating the illusion of a bumpy surface.

KFbxProperty GetTransparentColor (  )  const

Get the transparent color property.

This property is used to make a surface more or less transparent.

KFbxProperty GetTransparencyFactor (  )  const

Get the transparency property.

This property is used to make a surface more or less opaque (0 = opaque, 1 = transparent).

K_DEPRECATED bool SetDefaultAmbientColor ( KFbxColor const &  pColor  ) 

Set default material ambient color.

Parameters:
pColor Material ambient color.

K_DEPRECATED bool GetDefaultAmbientColor ( KFbxColor pColor  )  const

Get default material ambient color.

Parameters:
pColor Material ambient color.
Returns:
Input parameter filled with appropriate data.

K_DEPRECATED bool SetDefaultDiffuseColor ( KFbxColor const &  pColor  ) 

Set default material diffuse color.

Parameters:
pColor Material diffuse color.

K_DEPRECATED bool GetDefaultDiffuseColor ( KFbxColor pColor  )  const

Get default material diffuse color.

Parameters:
pColor Material diffuse color.
Returns:
Input parameter filled with appropriate data.

K_DEPRECATED bool SetDefaultEmissiveColor ( KFbxColor const &  pColor  ) 

Set default material emissive color.

Parameters:
pColor Material emissive color.

K_DEPRECATED bool GetDefaultEmissiveColor ( KFbxColor pColor  )  const

Get default material emissive color.

Parameters:
pColor Material emissive color.
Returns:
Input parameter filled with appropriate data.

K_DEPRECATED bool SetDefaultOpacity ( double  pOpacity  ) 

Set default material opacity.

Parameters:
pOpacity Opacity value from 0 to 1, 0 meaning 100% transparent.

K_DEPRECATED bool GetDefaultOpacity ( double &  pOpacity  )  const

Get default material opacity.

Returns:
The material opacity. The value is in the interval [0, 1], 0 meaning 100% transparent.