KFbxLayer Class Reference

#include <kfbxlayer.h>

List of all members.


Detailed Description

KFbxLayer class provides the base for the layering mechanism.

A layer can contain one or more of the following layer elements:

A typical layer for a Mesh will contain Normals, UVs and Materials. A typical layer for Nurbs will contain only Materials. If a texture is applied to a Mesh, a typical layer will contain the Textures along with the UVs. In the case of the Nurbs, the Nurbs' parameterization is used for the UVs; there should be no UVs specified. The mapping of a texture is completely defined within the layer; there is no cross-layer management.

In most cases, a single layer is sufficient to describe a geometry. Many applications will only support what is defined on the first layer. This should be taken into account when filling the layer. For example, it is totaly legal to define the Layer 0 with the Textures and UVs and define the model's Normals on layer 1. However a file constructed this way may not be imported correctly in other applications. The user should put the Normals in Layer 0.

Texture layering is achieved by defining more than one layer containing Textures and UVs elements. For example, a Mesh may have Textures and the corresponding UVs elements on Layer 0 for the primary effect, and another set of Textures and UVs on Layer 1. The way the texture blending is done is defined in the Texture layer element.

Definition at line 793 of file kfbxlayer.h.

Layer Element Management

KFbxLayerElementNormalGetNormals ()
 Get the Normals description for this layer.
KFbxLayerElementNormal const * GetNormals () const
 Get the Normals description for this layer.
KFbxLayerElementMaterialGetMaterials ()
 Get the Materials description for this layer.
KFbxLayerElementMaterial const * GetMaterials () const
 Get the Materials description for this layer.
KFbxLayerElementPolygonGroupGetPolygonGroups ()
 Get the Polygon Groups description for this layer.
KFbxLayerElementPolygonGroup
const * 
GetPolygonGroups () const
 Get the Polygon Groups description for this layer.
KFbxLayerElementUVGetEmissiveUV ()
 Get the EmissiveUV description for this layer.
KFbxLayerElementUV const * GetEmissiveUV () const
 Get the EmissiveUV description for this layer.
KFbxLayerElementUVGetEmissiveFactorUV ()
 Get the EmissiveFactorUV description for this layer.
KFbxLayerElementUV const * GetEmissiveFactorUV () const
 Get the EmissiveFactorUV description for this layer.
KFbxLayerElementUVGetAmbientUV ()
 Get the EmissiveFactorUV description for this layer.
KFbxLayerElementUV const * GetAmbientUV () const
 Get the AmbientUV description for this layer.
KFbxLayerElementUVGetAmbientFactorUV ()
 Get the AmbientUV description for this layer.
KFbxLayerElementUV const * GetAmbientFactorUV () const
 Get the AmbientFactorUV description for this layer.
KFbxLayerElementUVGetDiffuseUV ()
 Get the AmbientFactorUV description for this layer.
KFbxLayerElementUV const * GetDiffuseUV () const
 Get the DiffuseUV description for this layer.
KFbxLayerElementUVGetDiffuseFactorUV ()
 Get the DiffuseUV description for this layer.
KFbxLayerElementUV const * GetDiffuseFactorUV () const
 Get the DiffuseFactorUV description for this layer.
KFbxLayerElementUVGetSpecularUV ()
 Get the DiffuseFactorUV description for this layer.
KFbxLayerElementUV const * GetSpecularUV () const
 Get the SpecularUV description for this layer.
KFbxLayerElementUVGetSpecularFactorUV ()
 Get the SpecularUV description for this layer.
KFbxLayerElementUV const * GetSpecularFactorUV () const
 Get the SpecularFactorUV description for this layer.
KFbxLayerElementUVGetShininessUV ()
 Get the SpecularFactorUV description for this layer.
KFbxLayerElementUV const * GetShininessUV () const
 Get the ShininessUV description for this layer.
KFbxLayerElementUVGetNormalMapUV ()
 Get the NormalMapUV description for this layer.
KFbxLayerElementUV const * GetNormalMapUV () const
 Get the NormalMapUV description for this layer.
KFbxLayerElementUVGetBumpUV ()
 Get the BumpUV description for this layer.
KFbxLayerElementUV const * GetBumpUV () const
 Get the BumpUV description for this layer.
KFbxLayerElementUVGetTransparentUV ()
 Get the TransparentUV description for this layer.
KFbxLayerElementUV const * GetTransparentUV () const
 Get the TransparentUV description for this layer.
KFbxLayerElementUVGetTransparencyFactorUV ()
 Get the TransparencyFactorUV description for this layer.
KFbxLayerElementUV const * GetTransparencyFactorUV () const
 Get the TransparencyFactorUV description for this layer.
KFbxLayerElementUVGetReflectionUV ()
 Get the ReflectionUV description for this layer.
KFbxLayerElementUV const * GetReflectionUV () const
 Get the ReflectionUV description for this layer.
KFbxLayerElementUVGetReflectionFactorUV ()
 Get the ReflectionFactorUV description for this layer.
KFbxLayerElementUV const * GetReflectionFactorUV () const
 Get the ReflectionFactorUV description for this layer.
KFbxLayerElementUVGetUVs (KFbxLayerElement::ELayerElementType pTypeIdentifier=KFbxLayerElement::eDIFFUSE_TEXTURES)
 Get the UVs description for this layer.
KFbxLayerElementUV const * GetUVs (KFbxLayerElement::ELayerElementType pTypeIdentifier=KFbxLayerElement::eDIFFUSE_TEXTURES) const
 Get the UVs description for this layer.
int GetUVSetCount () const
 Get the number of different UV set for this layer.
KArrayTemplate< KFbxLayerElement::ELayerElementTypeGetUVSetChannels () const
 Get an array of UV of the different UV set for this layer.
KFbxLayerElementVertexColorGetVertexColors ()
 Get the Vertex Colors description for this layer.
KFbxLayerElementVertexColor
const * 
GetVertexColors () const
 Get the Vertex Colors description for this layer.
KFbxLayerElementSmoothingGetSmoothing ()
 Get the Smoothing description for this layer.
KFbxLayerElementSmoothing
const * 
GetSmoothing () const
 Get the Smoothing description for this layer.
KFbxLayerElementUserDataGetUserData ()
 Get the User Data for this layer.
KFbxLayerElementUserData const * GetUserData () const
 Get the User Data for this layer.
KFbxLayerElementVisibilityGetVisibility ()
 Get the visibility for this layer.
KFbxLayerElementVisibility
const * 
GetVisibility () const
 Get the visibility for this layer.
KFbxLayerElementTextureGetEmissiveTextures ()
 Get the EmissiveTextures description for this layer.
KFbxLayerElementTexture const * GetEmissiveTextures () const
 Get the EmissiveTextures description for this layer.
KFbxLayerElementTextureGetEmissiveFactorTextures ()
 Get the EmissiveFactorTextures description for this layer.
KFbxLayerElementTexture const * GetEmissiveFactorTextures () const
 Get the EmissiveFactorTextures description for this layer.
KFbxLayerElementTextureGetAmbientTextures ()
 Get the AmbientTextures description for this layer.
KFbxLayerElementTexture const * GetAmbientTextures () const
 Get the AmbientTextures description for this layer.
KFbxLayerElementTextureGetAmbientFactorTextures ()
 Get the AmbientFactorTextures description for this layer.
KFbxLayerElementTexture const * GetAmbientFactorTextures () const
 Get the AmbientFactorTextures description for this layer.
KFbxLayerElementTextureGetDiffuseTextures ()
 Get the DiffuseTextures description for this layer.
KFbxLayerElementTexture const * GetDiffuseTextures () const
 Get the DiffuseTextures description for this layer.
KFbxLayerElementTextureGetDiffuseFactorTextures ()
 Get the DiffuseFactorTextures description for this layer.
KFbxLayerElementTexture const * GetDiffuseFactorTextures () const
 Get the DiffuseFactorTextures description for this layer.
KFbxLayerElementTextureGetSpecularTextures ()
 Get the SpecularTextures description for this layer.
KFbxLayerElementTexture const * GetSpecularTextures () const
 Get the SpecularTextures description for this layer.
KFbxLayerElementTextureGetSpecularFactorTextures ()
 Get the SpecularFactorTextures description for this layer.
KFbxLayerElementTexture const * GetSpecularFactorTextures () const
 Get the SpecularFactorTextures description for this layer.
KFbxLayerElementTextureGetShininessTextures ()
 Get the ShininessTextures description for this layer.
KFbxLayerElementTexture const * GetShininessTextures () const
 Get the ShininessTextures description for this layer.
KFbxLayerElementTextureGetNormalMapTextures ()
 Get the NormalMapTextures description for this layer.
KFbxLayerElementTexture const * GetNormalMapTextures () const
 Get the NormalMapTextures description for this layer.
KFbxLayerElementTextureGetBumpTextures ()
 Get the BumpTextures description for this layer.
KFbxLayerElementTexture const * GetBumpTextures () const
 Get the BumpTextures description for this layer.
KFbxLayerElementTextureGetTransparentTextures ()
 Get the TransparentTextures description for this layer.
KFbxLayerElementTexture const * GetTransparentTextures () const
 Get the TransparentTextures description for this layer.
KFbxLayerElementTextureGetTransparencyFactorTextures ()
 Get the TransparencyFactorTextures description for this layer.
KFbxLayerElementTexture const * GetTransparencyFactorTextures () const
 Get the TransparencyFactorTextures description for this layer.
KFbxLayerElementTextureGetReflectionTextures ()
 Get the ReflectionTextures description for this layer.
KFbxLayerElementTexture const * GetReflectionTextures () const
 Get the ReflectionTextures description for this layer.
KFbxLayerElementTextureGetReflectionFactorTextures ()
 Get the ReflectionFactorTextures description for this layer.
KFbxLayerElementTexture const * GetReflectionFactorTextures () const
 Get the ReflectionFactorTextures description for this layer.
KFbxLayerElementTextureGetTextures (KFbxLayerElement::ELayerElementType pType)
 Get the Normals description for this layer.
KFbxLayerElementTexture const * GetTextures (KFbxLayerElement::ELayerElementType pType) const
 Get the Normals description for this layer.
void SetTextures (KFbxLayerElement::ELayerElementType pType, KFbxLayerElementTexture *pTextures)
 Get the Normals description for this layer.
KFbxLayerElementGetLayerElementOfType (KFbxLayerElement::ELayerElementType pType, bool pIsUV=false)
 Get the layer element description of the specified type for this layer.
KFbxLayerElement const * GetLayerElementOfType (KFbxLayerElement::ELayerElementType pType, bool pIsUV=false) const
 Get the layer element description of the specified type for this layer.
void SetNormals (KFbxLayerElementNormal *pNormals)
 Set the Normals description for this layer.
void SetMaterials (KFbxLayerElementMaterial *pMaterials)
 Set the Materials description for this layer.
void SetPolygonGroups (KFbxLayerElementPolygonGroup *pPolygonGroups)
 Set the Polygon Groups description for this layer.
void SetUVs (KFbxLayerElementUV *pUVs, KFbxLayerElement::ELayerElementType pTypeIdentifier=KFbxLayerElement::eDIFFUSE_TEXTURES)
 Set the UVs description for this layer.
void SetVertexColors (KFbxLayerElementVertexColor *pVertexColors)
 Set the Vertex Colors description for this layer.
void SetSmoothing (KFbxLayerElementSmoothing *pSmoothing)
 Set the Smoothing description for this layer.
void SetUserData (KFbxLayerElementUserData *pUserData)
 Set the User Data for this layer.
void SetVisibility (KFbxLayerElementVisibility *lVisibility)
 Set the visibility for this layer.
void SetEmissiveTextures (KFbxLayerElementTexture *pTextures)
 Set the EmissiveTextures description for this layer.
void SetEmissiveFactorTextures (KFbxLayerElementTexture *pTextures)
 Set the EmissiveFactorTextures description for this layer.
void SetAmbientTextures (KFbxLayerElementTexture *pTextures)
 Set the AmbientTextures description for this layer.
void SetAmbientFactorTextures (KFbxLayerElementTexture *pTextures)
 Set the AmbientFactorTextures description for this layer.
void SetDiffuseTextures (KFbxLayerElementTexture *pTextures)
 Set the DiffuseTextures description for this layer.
void SetDiffuseFactorTextures (KFbxLayerElementTexture *pTextures)
 Set the DiffuseFactorTextures description for this layer.
void SetSpecularTextures (KFbxLayerElementTexture *pTextures)
 Set the SpecularTextures description for this layer.
void SetSpecularFactorTextures (KFbxLayerElementTexture *pTextures)
 Set the SpecularFactorTextures description for this layer.
void SetShininessTextures (KFbxLayerElementTexture *pTextures)
 Set the ShininessTextures description for this layer.
void SetNormalMapTextures (KFbxLayerElementTexture *pTextures)
 Set the BumpTextures description for this layer.
void SetBumpTextures (KFbxLayerElementTexture *pTextures)
 Set the BumpTextures description for this layer.
void SetTransparentTextures (KFbxLayerElementTexture *pTextures)
 Set the TransparentTextures description for this layer.
void SetTransparencyFactorTextures (KFbxLayerElementTexture *pTextures)
 Set the TransparencyFactorTextures description for this layer.
void SetReflectionTextures (KFbxLayerElementTexture *pTextures)
 Set the ReflectionTextures description for this layer.
void SetReflectionFactorTextures (KFbxLayerElementTexture *pTextures)
 Set the ReflectionFactorTextures description for this layer.
void Clone (KFbxLayer const &pSrcLayer, KFbxSdkManager *pSdkManager)
 Get the Normals description for this layer.


Member Function Documentation

KFbxLayerElementNormal* GetNormals (  ) 

Get the Normals description for this layer.

Returns:
Pointer to the Normals layer element, or NULL if no Normals are defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Normals defined.

KFbxLayerElementNormal const* GetNormals (  )  const

Get the Normals description for this layer.

Returns:
Pointer to the Normals layer element, or NULL if no Normals are defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Normals defined.

KFbxLayerElementMaterial* GetMaterials (  ) 

Get the Materials description for this layer.

Returns:
Pointer to the Materials layer element, or NULL if no Materials are defined for this layer.

KFbxLayerElementMaterial const* GetMaterials (  )  const

Get the Materials description for this layer.

Returns:
Pointer to the Materials layer element, or NULL if no Materials are defined for this layer.

KFbxLayerElementPolygonGroup* GetPolygonGroups (  ) 

Get the Polygon Groups description for this layer.

Returns:
Pointer to the Polygon Groups layer element, or NULL if no Polygon Groups are defined for this layer.

KFbxLayerElementPolygonGroup const* GetPolygonGroups (  )  const

Get the Polygon Groups description for this layer.

Returns:
Pointer to the Polygon Groups layer element, or NULL if no Polygon Groups are defined for this layer.

KFbxLayerElementUV* GetEmissiveUV (  ) 

Get the EmissiveUV description for this layer.

Returns:
Pointer to the EmissiveUV layer element, or NULL if no EmissiveUV are defined for this layer.

KFbxLayerElementUV const* GetEmissiveUV (  )  const

Get the EmissiveUV description for this layer.

Returns:
Pointer to the EmissiveUV layer element, or NULL if no EmissiveUV are defined for this layer.

KFbxLayerElementUV* GetEmissiveFactorUV (  ) 

Get the EmissiveFactorUV description for this layer.

Returns:
Pointer to the EmissiveFactorUV layer element, or NULL if no EmissiveFactorUV are defined for this layer.

KFbxLayerElementUV const* GetEmissiveFactorUV (  )  const

Get the EmissiveFactorUV description for this layer.

Returns:
Pointer to the EmissiveFactorUV layer element, or NULL if no EmissiveFactorUV are defined for this layer.

KFbxLayerElementUV* GetAmbientUV (  ) 

Get the EmissiveFactorUV description for this layer.

Returns:
Pointer to the AmbientUV layer element, or NULL if no AmbientUV are defined for this layer.

KFbxLayerElementUV const* GetAmbientUV (  )  const

Get the AmbientUV description for this layer.

Returns:
Pointer to the AmbientUV layer element, or NULL if no AmbientUV are defined for this layer.

KFbxLayerElementUV* GetAmbientFactorUV (  ) 

Get the AmbientUV description for this layer.

Returns:
Pointer to the AmbientFactorUV layer element, or NULL if no AmbientFactorUV are defined for this layer.

KFbxLayerElementUV const* GetAmbientFactorUV (  )  const

Get the AmbientFactorUV description for this layer.

Returns:
Pointer to the AmbientFactorUV layer element, or NULL if no AmbientFactorUV are defined for this layer.

KFbxLayerElementUV* GetDiffuseUV (  ) 

Get the AmbientFactorUV description for this layer.

Returns:
Pointer to the DiffuseUV layer element, or NULL if no DiffuseUV are defined for this layer.

KFbxLayerElementUV const* GetDiffuseUV (  )  const

Get the DiffuseUV description for this layer.

Returns:
Pointer to the DiffuseUV layer element, or NULL if no DiffuseUV are defined for this layer.

KFbxLayerElementUV* GetDiffuseFactorUV (  ) 

Get the DiffuseUV description for this layer.

Returns:
Pointer to the DiffuseFactorUV layer element, or NULL if no DiffuseFactorUV are defined for this layer.

KFbxLayerElementUV const* GetDiffuseFactorUV (  )  const

Get the DiffuseFactorUV description for this layer.

Returns:
Pointer to the DiffuseFactorUV layer element, or NULL if no DiffuseFactorUV are defined for this layer.

KFbxLayerElementUV* GetSpecularUV (  ) 

Get the DiffuseFactorUV description for this layer.

Returns:
Pointer to the SpecularUV layer element, or NULL if no SpecularUV are defined for this layer.

KFbxLayerElementUV const* GetSpecularUV (  )  const

Get the SpecularUV description for this layer.

Returns:
Pointer to the SpecularUV layer element, or NULL if no SpecularUV are defined for this layer.

KFbxLayerElementUV* GetSpecularFactorUV (  ) 

Get the SpecularUV description for this layer.

Returns:
Pointer to the SpecularFactorUV layer element, or NULL if no SpecularFactorUV are defined for this layer.

KFbxLayerElementUV const* GetSpecularFactorUV (  )  const

Get the SpecularFactorUV description for this layer.

Returns:
Pointer to the SpecularFactorUV layer element, or NULL if no SpecularFactorUV are defined for this layer.

KFbxLayerElementUV* GetShininessUV (  ) 

Get the SpecularFactorUV description for this layer.

Returns:
Pointer to the ShininessUV layer element, or NULL if no ShininessUV are defined for this layer.

KFbxLayerElementUV const* GetShininessUV (  )  const

Get the ShininessUV description for this layer.

Returns:
Pointer to the ShininessUV layer element, or NULL if no ShininessUV are defined for this layer.

KFbxLayerElementUV* GetNormalMapUV (  ) 

Get the NormalMapUV description for this layer.

Returns:
Pointer to the BumpUV layer element, or NULL if no BumpUV are defined for this layer.

KFbxLayerElementUV const* GetNormalMapUV (  )  const

Get the NormalMapUV description for this layer.

Returns:
Pointer to the BumpUV layer element, or NULL if no BumpUV are defined for this layer.

KFbxLayerElementUV* GetBumpUV (  ) 

Get the BumpUV description for this layer.

Returns:
Pointer to the BumpUV layer element, or NULL if no BumpUV are defined for this layer.

KFbxLayerElementUV const* GetBumpUV (  )  const

Get the BumpUV description for this layer.

Returns:
Pointer to the BumpUV layer element, or NULL if no BumpUV are defined for this layer.

KFbxLayerElementUV* GetTransparentUV (  ) 

Get the TransparentUV description for this layer.

Returns:
Pointer to the TransparentUV layer element, or NULL if no TransparentUV are defined for this layer.

KFbxLayerElementUV const* GetTransparentUV (  )  const

Get the TransparentUV description for this layer.

Returns:
Pointer to the TransparentUV layer element, or NULL if no TransparentUV are defined for this layer.

KFbxLayerElementUV* GetTransparencyFactorUV (  ) 

Get the TransparencyFactorUV description for this layer.

Returns:
Pointer to the TransparencyFactorUV layer element, or NULL if no TransparencyFactorUV are defined for this layer.

KFbxLayerElementUV const* GetTransparencyFactorUV (  )  const

Get the TransparencyFactorUV description for this layer.

Returns:
Pointer to the TransparencyFactorUV layer element, or NULL if no TransparencyFactorUV are defined for this layer.

KFbxLayerElementUV* GetReflectionUV (  ) 

Get the ReflectionUV description for this layer.

Returns:
Pointer to the ReflectionUV layer element, or NULL if no ReflectionUV are defined for this layer.

KFbxLayerElementUV const* GetReflectionUV (  )  const

Get the ReflectionUV description for this layer.

Returns:
Pointer to the ReflectionUV layer element, or NULL if no ReflectionUV are defined for this layer.

KFbxLayerElementUV* GetReflectionFactorUV (  ) 

Get the ReflectionFactorUV description for this layer.

Returns:
Pointer to the ReflectionFactorUV layer element, or NULL if no ReflectionFactorUV are defined for this layer.

KFbxLayerElementUV const* GetReflectionFactorUV (  )  const

Get the ReflectionFactorUV description for this layer.

Returns:
Pointer to the ReflectionFactorUV layer element, or NULL if no ReflectionFactorUV are defined for this layer.

KFbxLayerElementUV* GetUVs ( KFbxLayerElement::ELayerElementType  pTypeIdentifier = KFbxLayerElement::eDIFFUSE_TEXTURES  ) 

Get the UVs description for this layer.

Returns:
Pointer to the UVs layer element, or NULL if no UV are defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have UVs defined. The Nurbs/Patch parameterization is used as UV parameters to map a texture.

KFbxLayerElementUV const* GetUVs ( KFbxLayerElement::ELayerElementType  pTypeIdentifier = KFbxLayerElement::eDIFFUSE_TEXTURES  )  const

Get the UVs description for this layer.

Returns:
Pointer to the UVs layer element, or NULL if no UV are defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have UVs defined. The Nurbs/Patch parameterization is used as UV parameters to map a texture.

int GetUVSetCount (  )  const

Get the number of different UV set for this layer.

KArrayTemplate<KFbxLayerElement::ELayerElementType> GetUVSetChannels (  )  const

Get an array of UV of the different UV set for this layer.

KFbxLayerElementVertexColor* GetVertexColors (  ) 

Get the Vertex Colors description for this layer.

Returns:
Pointer to the Vertex Colors layer element, or NULL if no Vertex Color are defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Vertex Colors defined, since no vertex exists.

KFbxLayerElementVertexColor const* GetVertexColors (  )  const

Get the Vertex Colors description for this layer.

Returns:
Pointer to the Vertex Colors layer element, or NULL if no Vertex Color are defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Vertex Colors defined, since no vertex exists.

KFbxLayerElementSmoothing* GetSmoothing (  ) 

Get the Smoothing description for this layer.

Returns:
Pointer to the Smoothing layer element, or NULL if no Smoothing is defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Smoothing defined.

KFbxLayerElementSmoothing const* GetSmoothing (  )  const

Get the Smoothing description for this layer.

Returns:
Pointer to the Smoothing layer element, or NULL if no Smoothing is defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Smoothing defined.

KFbxLayerElementUserData* GetUserData (  ) 

Get the User Data for this layer.

Returns:
Pointer to the User Data layer element, or NULL if no User Data is defined for this layer.

KFbxLayerElementUserData const* GetUserData (  )  const

Get the User Data for this layer.

Returns:
Pointer to the User Data layer element, or NULL if no User Data is defined for this layer.

KFbxLayerElementVisibility* GetVisibility (  ) 

Get the visibility for this layer.

Returns:
Pointer to the visibility layer element, or NULL if no visibility is defined for this layer.

KFbxLayerElementVisibility const* GetVisibility (  )  const

Get the visibility for this layer.

Returns:
Pointer to the visibility layer element, or NULL if no visibility is defined for this layer.

KFbxLayerElementTexture* GetEmissiveTextures (  ) 

Get the EmissiveTextures description for this layer.

Returns:
Pointer to the EmissiveTextures layer element, or NULL if no EmissiveTextures are defined for this layer.

KFbxLayerElementTexture const* GetEmissiveTextures (  )  const

Get the EmissiveTextures description for this layer.

Returns:
Pointer to the EmissiveTextures layer element, or NULL if no EmissiveTextures are defined for this layer.

KFbxLayerElementTexture* GetEmissiveFactorTextures (  ) 

Get the EmissiveFactorTextures description for this layer.

Returns:
Pointer to the EmissiveFactorTextures layer element, or NULL if no EmissiveFactorTextures are defined for this layer.

KFbxLayerElementTexture const* GetEmissiveFactorTextures (  )  const

Get the EmissiveFactorTextures description for this layer.

Returns:
Pointer to the EmissiveFactorTextures layer element, or NULL if no EmissiveFactorTextures are defined for this layer.

KFbxLayerElementTexture* GetAmbientTextures (  ) 

Get the AmbientTextures description for this layer.

Returns:
Pointer to the AmbientTextures layer element, or NULL if no AmbientTextures are defined for this layer.

KFbxLayerElementTexture const* GetAmbientTextures (  )  const

Get the AmbientTextures description for this layer.

Returns:
Pointer to the AmbientTextures layer element, or NULL if no AmbientTextures are defined for this layer.

KFbxLayerElementTexture* GetAmbientFactorTextures (  ) 

Get the AmbientFactorTextures description for this layer.

Returns:
Pointer to the AmbientFactorTextures layer element, or NULL if no AmbientFactorTextures are defined for this layer.

KFbxLayerElementTexture const* GetAmbientFactorTextures (  )  const

Get the AmbientFactorTextures description for this layer.

Returns:
Pointer to the AmbientFactorTextures layer element, or NULL if no AmbientFactorTextures are defined for this layer.

KFbxLayerElementTexture* GetDiffuseTextures (  ) 

Get the DiffuseTextures description for this layer.

Returns:
Pointer to the DiffuseTextures layer element, or NULL if no DiffuseTextures are defined for this layer.

KFbxLayerElementTexture const* GetDiffuseTextures (  )  const

Get the DiffuseTextures description for this layer.

Returns:
Pointer to the DiffuseTextures layer element, or NULL if no DiffuseTextures are defined for this layer.

KFbxLayerElementTexture* GetDiffuseFactorTextures (  ) 

Get the DiffuseFactorTextures description for this layer.

Returns:
Pointer to the DiffuseFactorTextures layer element, or NULL if no DiffuseFactorTextures are defined for this layer.

KFbxLayerElementTexture const* GetDiffuseFactorTextures (  )  const

Get the DiffuseFactorTextures description for this layer.

Returns:
Pointer to the DiffuseFactorTextures layer element, or NULL if no DiffuseFactorTextures are defined for this layer.

KFbxLayerElementTexture* GetSpecularTextures (  ) 

Get the SpecularTextures description for this layer.

Returns:
Pointer to the SpecularTextures layer element, or NULL if no SpecularTextures are defined for this layer.

KFbxLayerElementTexture const* GetSpecularTextures (  )  const

Get the SpecularTextures description for this layer.

Returns:
Pointer to the SpecularTextures layer element, or NULL if no SpecularTextures are defined for this layer.

KFbxLayerElementTexture* GetSpecularFactorTextures (  ) 

Get the SpecularFactorTextures description for this layer.

Returns:
Pointer to the SpecularFactorTextures layer element, or NULL if no SpecularFactorTextures are defined for this layer.

KFbxLayerElementTexture const* GetSpecularFactorTextures (  )  const

Get the SpecularFactorTextures description for this layer.

Returns:
Pointer to the SpecularFactorTextures layer element, or NULL if no SpecularFactorTextures are defined for this layer.

KFbxLayerElementTexture* GetShininessTextures (  ) 

Get the ShininessTextures description for this layer.

Returns:
Pointer to the ShininessTextures layer element, or NULL if no ShininessTextures are defined for this layer.

KFbxLayerElementTexture const* GetShininessTextures (  )  const

Get the ShininessTextures description for this layer.

Returns:
Pointer to the ShininessTextures layer element, or NULL if no ShininessTextures are defined for this layer.

KFbxLayerElementTexture* GetNormalMapTextures (  ) 

Get the NormalMapTextures description for this layer.

Returns:
Pointer to the BumpTextures layer element, or NULL if no BumpTextures are defined for this layer.

KFbxLayerElementTexture const* GetNormalMapTextures (  )  const

Get the NormalMapTextures description for this layer.

Returns:
Pointer to the BumpTextures layer element, or NULL if no BumpTextures are defined for this layer.

KFbxLayerElementTexture* GetBumpTextures (  ) 

Get the BumpTextures description for this layer.

Returns:
Pointer to the BumpTextures layer element, or NULL if no BumpTextures are defined for this layer.

KFbxLayerElementTexture const* GetBumpTextures (  )  const

Get the BumpTextures description for this layer.

Returns:
Pointer to the BumpTextures layer element, or NULL if no BumpTextures are defined for this layer.

KFbxLayerElementTexture* GetTransparentTextures (  ) 

Get the TransparentTextures description for this layer.

Returns:
Pointer to the TransparentTextures layer element, or NULL if no TransparentTextures are defined for this layer.

KFbxLayerElementTexture const* GetTransparentTextures (  )  const

Get the TransparentTextures description for this layer.

Returns:
Pointer to the TransparentTextures layer element, or NULL if no TransparentTextures are defined for this layer.

KFbxLayerElementTexture* GetTransparencyFactorTextures (  ) 

Get the TransparencyFactorTextures description for this layer.

Returns:
Pointer to the TransparencyFactorTextures layer element, or NULL if no TransparencyFactorTextures are defined for this layer.

KFbxLayerElementTexture const* GetTransparencyFactorTextures (  )  const

Get the TransparencyFactorTextures description for this layer.

Returns:
Pointer to the TransparencyFactorTextures layer element, or NULL if no TransparencyFactorTextures are defined for this layer.

KFbxLayerElementTexture* GetReflectionTextures (  ) 

Get the ReflectionTextures description for this layer.

Returns:
Pointer to the ReflectionTextures layer element, or NULL if no ReflectionTextures are defined for this layer.

KFbxLayerElementTexture const* GetReflectionTextures (  )  const

Get the ReflectionTextures description for this layer.

Returns:
Pointer to the ReflectionTextures layer element, or NULL if no ReflectionTextures are defined for this layer.

KFbxLayerElementTexture* GetReflectionFactorTextures (  ) 

Get the ReflectionFactorTextures description for this layer.

Returns:
Pointer to the ReflectionFactorTextures layer element, or NULL if no ReflectionFactorTextures are defined for this layer.

KFbxLayerElementTexture const* GetReflectionFactorTextures (  )  const

Get the ReflectionFactorTextures description for this layer.

Returns:
Pointer to the ReflectionFactorTextures layer element, or NULL if no ReflectionFactorTextures are defined for this layer.

Get the Normals description for this layer.

Returns:
Pointer to the Normals layer element, or NULL if no Normals are defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Normals defined.

KFbxLayerElementTexture const* GetTextures ( KFbxLayerElement::ELayerElementType  pType  )  const

Get the Normals description for this layer.

Returns:
Pointer to the Normals layer element, or NULL if no Normals are defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Normals defined.

void SetTextures ( KFbxLayerElement::ELayerElementType  pType,
KFbxLayerElementTexture pTextures 
)

Get the Normals description for this layer.

Returns:
Pointer to the Normals layer element, or NULL if no Normals are defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Normals defined.

KFbxLayerElement* GetLayerElementOfType ( KFbxLayerElement::ELayerElementType  pType,
bool  pIsUV = false 
)

Get the layer element description of the specified type for this layer.

Parameters:
pType The Layer element type required. Supported values are KFbxLayerElement::eNORMAL, KFbxLayerElement::eMATERIAL, KFbxLayerElement::eTEXTURE, KFbxLayerElement::ePOLYGON_GROUP, KFbxLayerElement::eUV and KFbxLayerElement::eVERTEX_COLOR.
pIsUV When true, request the UV LayerElement corresponding to the specified Layer Element type.
Returns:
Pointer to the requested layer element, or NULL if the layer element is not defined for this layer.

KFbxLayerElement const* GetLayerElementOfType ( KFbxLayerElement::ELayerElementType  pType,
bool  pIsUV = false 
) const

Get the layer element description of the specified type for this layer.

Parameters:
pType The Layer element type required. Supported values are KFbxLayerElement::eNORMAL, KFbxLayerElement::eMATERIAL, KFbxLayerElement::eTEXTURE, KFbxLayerElement::ePOLYGON_GROUP, KFbxLayerElement::eUV and KFbxLayerElement::eVERTEX_COLOR.
pIsUV When true, request the UV LayerElement corresponding to the specified Layer Element type.
Returns:
Pointer to the requested layer element, or NULL if the layer element is not defined for this layer.

void SetNormals ( KFbxLayerElementNormal pNormals  ) 

Set the Normals description for this layer.

Parameters:
pNormals Pointer to the Normals layer element, or NULL to remove the Normals definition.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Normals defined.

void SetMaterials ( KFbxLayerElementMaterial pMaterials  ) 

Set the Materials description for this layer.

Parameters:
pMaterials Pointer to the Materials layer element, or NULL to remove the Material definition.

void SetPolygonGroups ( KFbxLayerElementPolygonGroup pPolygonGroups  ) 

Set the Polygon Groups description for this layer.

Parameters:
pPolygonGroups Pointer to the Polygon Groups layer element, or NULL to remove the Polygon Group definition.

void SetUVs ( KFbxLayerElementUV pUVs,
KFbxLayerElement::ELayerElementType  pTypeIdentifier = KFbxLayerElement::eDIFFUSE_TEXTURES 
)

Set the UVs description for this layer.

Parameters:
pUVs Pointer to the UVs layer element, or NULL to remove the UV definition.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have UVs defined. The Nurbs/Patch parameterization is used as UV parameters to map a texture.

void SetVertexColors ( KFbxLayerElementVertexColor pVertexColors  ) 

Set the Vertex Colors description for this layer.

Parameters:
pVertexColors Pointer to the Vertex Colors layer element, or NULL to remove the Vertex Color definition.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Vertex Colors defined, since no vertex exists.

void SetSmoothing ( KFbxLayerElementSmoothing pSmoothing  ) 

Set the Smoothing description for this layer.

Parameters:
pSmoothing Pointer to the Smoothing layer element, or NULL to remove the Smoothing definition.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Smoothing defined.

void SetUserData ( KFbxLayerElementUserData pUserData  ) 

Set the User Data for this layer.

Parameters:
pUserData Pointer to the User Data layer element, or NULL to remove the User Data.

void SetVisibility ( KFbxLayerElementVisibility lVisibility  ) 

Set the visibility for this layer.

Parameters:
pUserData Pointer to the visibility layer element, or NULL to remove the visibility.

void SetEmissiveTextures ( KFbxLayerElementTexture pTextures  ) 

Set the EmissiveTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetEmissiveFactorTextures ( KFbxLayerElementTexture pTextures  ) 

Set the EmissiveFactorTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetAmbientTextures ( KFbxLayerElementTexture pTextures  ) 

Set the AmbientTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetAmbientFactorTextures ( KFbxLayerElementTexture pTextures  ) 

Set the AmbientFactorTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetDiffuseTextures ( KFbxLayerElementTexture pTextures  ) 

Set the DiffuseTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetDiffuseFactorTextures ( KFbxLayerElementTexture pTextures  ) 

Set the DiffuseFactorTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetSpecularTextures ( KFbxLayerElementTexture pTextures  ) 

Set the SpecularTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetSpecularFactorTextures ( KFbxLayerElementTexture pTextures  ) 

Set the SpecularFactorTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetShininessTextures ( KFbxLayerElementTexture pTextures  ) 

Set the ShininessTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetNormalMapTextures ( KFbxLayerElementTexture pTextures  ) 

Set the BumpTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetBumpTextures ( KFbxLayerElementTexture pTextures  ) 

Set the BumpTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetTransparentTextures ( KFbxLayerElementTexture pTextures  ) 

Set the TransparentTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetTransparencyFactorTextures ( KFbxLayerElementTexture pTextures  ) 

Set the TransparencyFactorTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetReflectionTextures ( KFbxLayerElementTexture pTextures  ) 

Set the ReflectionTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void SetReflectionFactorTextures ( KFbxLayerElementTexture pTextures  ) 

Set the ReflectionFactorTextures description for this layer.

Parameters:
pTextures Pointer to the Textures layer element, or NULL to remove the Texture definition.

void Clone ( KFbxLayer const &  pSrcLayer,
KFbxSdkManager pSdkManager 
)

Get the Normals description for this layer.

Returns:
Pointer to the Normals layer element, or NULL if no Normals are defined for this layer.
Remarks:
A geometry of type KFbxNurb or KFbxPatch should not have Normals defined.