KFbxLayer
#include<kfbxlayer.h>

List of all members.

Detailed Description

KFbxLayerclass 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 line1604of filekfbxlayer.h.


Layer Element Management

KFbxLayerElementNormalGetNormals()
 Get the Normals description for this layer.
KFbxLayerElementNormalconst * GetNormals() const
 Get the Normals description for this layer.
KFbxLayerElementMaterialGetMaterials()
 Get the Materials description for this layer.
KFbxLayerElementMaterialconst * 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.
KFbxLayerElementUVconst * GetEmissiveUV() const
 Get the EmissiveUV description for this layer.
KFbxLayerElementUVGetEmissiveFactorUV()
 Get the EmissiveFactorUV description for this layer.
KFbxLayerElementUVconst * GetEmissiveFactorUV() const
 Get the EmissiveFactorUV description for this layer.
KFbxLayerElementUVGetAmbientUV()
 Get the EmissiveFactorUV description for this layer.
KFbxLayerElementUVconst * GetAmbientUV() const
 Get the AmbientUV description for this layer.
KFbxLayerElementUVGetAmbientFactorUV()
 Get the AmbientUV description for this layer.
KFbxLayerElementUVconst * GetAmbientFactorUV() const
 Get the AmbientFactorUV description for this layer.
KFbxLayerElementUVGetDiffuseUV()
 Get the AmbientFactorUV description for this layer.
KFbxLayerElementUVconst * GetDiffuseUV() const
 Get the DiffuseUV description for this layer.
KFbxLayerElementUVGetDiffuseFactorUV()
 Get the DiffuseUV description for this layer.
KFbxLayerElementUVconst * GetDiffuseFactorUV() const
 Get the DiffuseFactorUV description for this layer.
KFbxLayerElementUVGetSpecularUV()
 Get the DiffuseFactorUV description for this layer.
KFbxLayerElementUVconst * GetSpecularUV() const
 Get the SpecularUV description for this layer.
KFbxLayerElementUVGetSpecularFactorUV()
 Get the SpecularUV description for this layer.
KFbxLayerElementUVconst * GetSpecularFactorUV() const
 Get the SpecularFactorUV description for this layer.
KFbxLayerElementUVGetShininessUV()
 Get the SpecularFactorUV description for this layer.
KFbxLayerElementUVconst * GetShininessUV() const
 Get the ShininessUV description for this layer.
KFbxLayerElementUVGetNormalMapUV()
 Get the NormalMapUV description for this layer.
KFbxLayerElementUVconst * GetNormalMapUV() const
 Get the NormalMapUV description for this layer.
KFbxLayerElementUVGetBumpUV()
 Get the BumpUV description for this layer.
KFbxLayerElementUVconst * GetBumpUV() const
 Get the BumpUV description for this layer.
KFbxLayerElementUVGetTransparentUV()
 Get the TransparentUV description for this layer.
KFbxLayerElementUVconst * GetTransparentUV() const
 Get the TransparentUV description for this layer.
KFbxLayerElementUVGetTransparencyFactorUV()
 Get the TransparencyFactorUV description for this layer.
KFbxLayerElementUVconst * GetTransparencyFactorUV() const
 Get the TransparencyFactorUV description for this layer.
KFbxLayerElementUVGetReflectionUV()
 Get the ReflectionUV description for this layer.
KFbxLayerElementUVconst * GetReflectionUV() const
 Get the ReflectionUV description for this layer.
KFbxLayerElementUVGetReflectionFactorUV()
 Get the ReflectionFactorUV description for this layer.
KFbxLayerElementUVconst * GetReflectionFactorUV() const
 Get the ReflectionFactorUV description for this layer.
KFbxLayerElementUVGetUVs(KFbxLayerElement::ELayerElementTypepTypeIdentifier=KFbxLayerElement::eDIFFUSE_TEXTURES)
 Get the UVs description for this layer.
KFbxLayerElementUVconst * GetUVs(KFbxLayerElement::ELayerElementTypepTypeIdentifier=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::ELayerElementType
GetUVSetChannels() const
 Get an array describing which UV sets are on this layer.
KArrayTemplate
<KFbxLayerElementUVconst *> 
GetUVSets() const
 Get an array of UV sets for this layer.
KFbxLayerElementVertexColorGetVertexColors()
 Get the Vertex Colors description for this layer.
KFbxLayerElementVertexColorconst * GetVertexColors() const
 Get the Vertex Colors description for this layer.
KFbxLayerElementSmoothingGetSmoothing()
 Get the Smoothing description for this layer.
KFbxLayerElementSmoothingconst * GetSmoothing() const
 Get the Smoothing description for this layer.
KFbxLayerElementUserDataGetUserData()
 Get the User Data for this layer.
KFbxLayerElementUserDataconst * GetUserData() const
 Get the User Data for this layer.
KFbxLayerElementVisibilityGetVisibility()
 Get the visibility for this layer.
KFbxLayerElementVisibilityconst * GetVisibility() const
 Get the visibility for this layer.
KFbxLayerElementTextureGetEmissiveTextures()
 Get the EmissiveTextures description for this layer.
KFbxLayerElementTextureconst * GetEmissiveTextures() const
 Get the EmissiveTextures description for this layer.
KFbxLayerElementTextureGetEmissiveFactorTextures()
 Get the EmissiveFactorTextures description for this layer.
KFbxLayerElementTextureconst * GetEmissiveFactorTextures() const
 Get the EmissiveFactorTextures description for this layer.
KFbxLayerElementTextureGetAmbientTextures()
 Get the AmbientTextures description for this layer.
KFbxLayerElementTextureconst * GetAmbientTextures() const
 Get the AmbientTextures description for this layer.
KFbxLayerElementTextureGetAmbientFactorTextures()
 Get the AmbientFactorTextures description for this layer.
KFbxLayerElementTextureconst * GetAmbientFactorTextures() const
 Get the AmbientFactorTextures description for this layer.
KFbxLayerElementTextureGetDiffuseTextures()
 Get the DiffuseTextures description for this layer.
KFbxLayerElementTextureconst * GetDiffuseTextures() const
 Get the DiffuseTextures description for this layer.
KFbxLayerElementTextureGetDiffuseFactorTextures()
 Get the DiffuseFactorTextures description for this layer.
KFbxLayerElementTextureconst * GetDiffuseFactorTextures() const
 Get the DiffuseFactorTextures description for this layer.
KFbxLayerElementTextureGetSpecularTextures()
 Get the SpecularTextures description for this layer.
KFbxLayerElementTextureconst * GetSpecularTextures() const
 Get the SpecularTextures description for this layer.
KFbxLayerElementTextureGetSpecularFactorTextures()
 Get the SpecularFactorTextures description for this layer.
KFbxLayerElementTextureconst * GetSpecularFactorTextures() const
 Get the SpecularFactorTextures description for this layer.
KFbxLayerElementTextureGetShininessTextures()
 Get the ShininessTextures description for this layer.
KFbxLayerElementTextureconst * GetShininessTextures() const
 Get the ShininessTextures description for this layer.
KFbxLayerElementTextureGetNormalMapTextures()
 Get the NormalMapTextures description for this layer.
KFbxLayerElementTextureconst * GetNormalMapTextures() const
 Get the NormalMapTextures description for this layer.
KFbxLayerElementTextureGetBumpTextures()
 Get the BumpTextures description for this layer.
KFbxLayerElementTextureconst * GetBumpTextures() const
 Get the BumpTextures description for this layer.
KFbxLayerElementTextureGetTransparentTextures()
 Get the TransparentTextures description for this layer.
KFbxLayerElementTextureconst * GetTransparentTextures() const
 Get the TransparentTextures description for this layer.
KFbxLayerElementTextureGetTransparencyFactorTextures()
 Get the TransparencyFactorTextures description for this layer.
KFbxLayerElementTextureconst * GetTransparencyFactorTextures() const
 Get the TransparencyFactorTextures description for this layer.
KFbxLayerElementTextureGetReflectionTextures()
 Get the ReflectionTextures description for this layer.
KFbxLayerElementTextureconst * GetReflectionTextures() const
 Get the ReflectionTextures description for this layer.
KFbxLayerElementTextureGetReflectionFactorTextures()
 Get the ReflectionFactorTextures description for this layer.
KFbxLayerElementTextureconst * GetReflectionFactorTextures() const
 Get the ReflectionFactorTextures description for this layer.
KFbxLayerElementTextureGetTextures(KFbxLayerElement::ELayerElementTypepType)
 Get the Textures description for this layer.
KFbxLayerElementTextureconst * GetTextures(KFbxLayerElement::ELayerElementTypepType) const
 Get the Textures description for this layer.
void SetTextures(KFbxLayerElement::ELayerElementTypepType,KFbxLayerElementTexture*pTextures)
 Set the Textures description for this layer.
KFbxLayerElementGetLayerElementOfType(KFbxLayerElement::ELayerElementTypepType, bool pIsUV=false)
 Get the layer element description of the specified type for this layer.
KFbxLayerElementconst * GetLayerElementOfType(KFbxLayerElement::ELayerElementTypepType, 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::ELayerElementTypepTypeIdentifier=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*pVisibility)
 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.
KFbxLayerElementCreateLayerElementOfType(KFbxLayerElement::ELayerElementTypepType, bool pIsUV=false)
 Create the layer element description of the specified type for this layer.
void Clone(KFbxLayerconst&pSrcLayer,KFbxSdkManager*pSdkManager)
 Clone.

Member Function Documentation

KFbxLayerElementNormal* GetNormals( ) 

Get the Normals description for this layer.

Returns:
Pointer to the Normals layer element, orNULLif no Normals are defined for this layer.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould not have Normals defined.

KFbxLayerElementNormalconst* GetNormals( ) const

Get the Normals description for this layer.

Returns:
Pointer to the Normals layer element, orNULLif no Normals are defined for this layer.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould not have Normals defined.

KFbxLayerElementMaterial* GetMaterials( ) 

Get the Materials description for this layer.

Returns:
Pointer to the Materials layer element, orNULLif no Materials are defined for this layer.

KFbxLayerElementMaterialconst* GetMaterials( ) const

Get the Materials description for this layer.

Returns:
Pointer to the Materials layer element, orNULLif 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, orNULLif no Polygon Groups are defined for this layer.

KFbxLayerElementPolygonGroupconst* GetPolygonGroups( ) const

Get the Polygon Groups description for this layer.

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

KFbxLayerElementUV* GetEmissiveUV( ) 

Get the EmissiveUV description for this layer.

Returns:
Pointer to the EmissiveUV layer element, orNULLif no EmissiveUV are defined for this layer.

KFbxLayerElementUVconst* GetEmissiveUV( ) const

Get the EmissiveUV description for this layer.

Returns:
Pointer to the EmissiveUV layer element, orNULLif no EmissiveUV are defined for this layer.

KFbxLayerElementUV* GetEmissiveFactorUV( ) 

Get the EmissiveFactorUV description for this layer.

Returns:
Pointer to the EmissiveFactorUV layer element, orNULLif no EmissiveFactorUV are defined for this layer.

KFbxLayerElementUVconst* GetEmissiveFactorUV( ) const

Get the EmissiveFactorUV description for this layer.

Returns:
Pointer to the EmissiveFactorUV layer element, orNULLif no EmissiveFactorUV are defined for this layer.

KFbxLayerElementUV* GetAmbientUV( ) 

Get the EmissiveFactorUV description for this layer.

Returns:
Pointer to the AmbientUV layer element, orNULLif no AmbientUV are defined for this layer.

KFbxLayerElementUVconst* GetAmbientUV( ) const

Get the AmbientUV description for this layer.

Returns:
Pointer to the AmbientUV layer element, orNULLif no AmbientUV are defined for this layer.

KFbxLayerElementUV* GetAmbientFactorUV( ) 

Get the AmbientUV description for this layer.

Returns:
Pointer to the AmbientFactorUV layer element, orNULLif no AmbientFactorUV are defined for this layer.

KFbxLayerElementUVconst* GetAmbientFactorUV( ) const

Get the AmbientFactorUV description for this layer.

Returns:
Pointer to the AmbientFactorUV layer element, orNULLif no AmbientFactorUV are defined for this layer.

KFbxLayerElementUV* GetDiffuseUV( ) 

Get the AmbientFactorUV description for this layer.

Returns:
Pointer to the DiffuseUV layer element, orNULLif no DiffuseUV are defined for this layer.

KFbxLayerElementUVconst* GetDiffuseUV( ) const

Get the DiffuseUV description for this layer.

Returns:
Pointer to the DiffuseUV layer element, orNULLif no DiffuseUV are defined for this layer.

KFbxLayerElementUV* GetDiffuseFactorUV( ) 

Get the DiffuseUV description for this layer.

Returns:
Pointer to the DiffuseFactorUV layer element, orNULLif no DiffuseFactorUV are defined for this layer.

KFbxLayerElementUVconst* GetDiffuseFactorUV( ) const

Get the DiffuseFactorUV description for this layer.

Returns:
Pointer to the DiffuseFactorUV layer element, orNULLif no DiffuseFactorUV are defined for this layer.

KFbxLayerElementUV* GetSpecularUV( ) 

Get the DiffuseFactorUV description for this layer.

Returns:
Pointer to the SpecularUV layer element, orNULLif no SpecularUV are defined for this layer.

KFbxLayerElementUVconst* GetSpecularUV( ) const

Get the SpecularUV description for this layer.

Returns:
Pointer to the SpecularUV layer element, orNULLif no SpecularUV are defined for this layer.

KFbxLayerElementUV* GetSpecularFactorUV( ) 

Get the SpecularUV description for this layer.

Returns:
Pointer to the SpecularFactorUV layer element, orNULLif no SpecularFactorUV are defined for this layer.

KFbxLayerElementUVconst* GetSpecularFactorUV( ) const

Get the SpecularFactorUV description for this layer.

Returns:
Pointer to the SpecularFactorUV layer element, orNULLif no SpecularFactorUV are defined for this layer.

KFbxLayerElementUV* GetShininessUV( ) 

Get the SpecularFactorUV description for this layer.

Returns:
Pointer to the ShininessUV layer element, orNULLif no ShininessUV are defined for this layer.

KFbxLayerElementUVconst* GetShininessUV( ) const

Get the ShininessUV description for this layer.

Returns:
Pointer to the ShininessUV layer element, orNULLif no ShininessUV are defined for this layer.

KFbxLayerElementUV* GetNormalMapUV( ) 

Get the NormalMapUV description for this layer.

Returns:
Pointer to the BumpUV layer element, orNULLif no BumpUV are defined for this layer.

KFbxLayerElementUVconst* GetNormalMapUV( ) const

Get the NormalMapUV description for this layer.

Returns:
Pointer to the BumpUV layer element, orNULLif no BumpUV are defined for this layer.

KFbxLayerElementUV* GetBumpUV( ) 

Get the BumpUV description for this layer.

Returns:
Pointer to the BumpUV layer element, orNULLif no BumpUV are defined for this layer.

KFbxLayerElementUVconst* GetBumpUV( ) const

Get the BumpUV description for this layer.

Returns:
Pointer to the BumpUV layer element, orNULLif no BumpUV are defined for this layer.

KFbxLayerElementUV* GetTransparentUV( ) 

Get the TransparentUV description for this layer.

Returns:
Pointer to the TransparentUV layer element, orNULLif no TransparentUV are defined for this layer.

KFbxLayerElementUVconst* GetTransparentUV( ) const

Get the TransparentUV description for this layer.

Returns:
Pointer to the TransparentUV layer element, orNULLif no TransparentUV are defined for this layer.

KFbxLayerElementUV* GetTransparencyFactorUV( ) 

Get the TransparencyFactorUV description for this layer.

Returns:
Pointer to the TransparencyFactorUV layer element, orNULLif no TransparencyFactorUV are defined for this layer.

KFbxLayerElementUVconst* GetTransparencyFactorUV( ) const

Get the TransparencyFactorUV description for this layer.

Returns:
Pointer to the TransparencyFactorUV layer element, orNULLif no TransparencyFactorUV are defined for this layer.

KFbxLayerElementUV* GetReflectionUV( ) 

Get the ReflectionUV description for this layer.

Returns:
Pointer to the ReflectionUV layer element, orNULLif no ReflectionUV are defined for this layer.

KFbxLayerElementUVconst* GetReflectionUV( ) const

Get the ReflectionUV description for this layer.

Returns:
Pointer to the ReflectionUV layer element, orNULLif no ReflectionUV are defined for this layer.

KFbxLayerElementUV* GetReflectionFactorUV( ) 

Get the ReflectionFactorUV description for this layer.

Returns:
Pointer to the ReflectionFactorUV layer element, orNULLif no ReflectionFactorUV are defined for this layer.

KFbxLayerElementUVconst* GetReflectionFactorUV( ) const

Get the ReflectionFactorUV description for this layer.

Returns:
Pointer to the ReflectionFactorUV layer element, orNULLif no ReflectionFactorUV are defined for this layer.

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

Get the UVs description for this layer.

Parameters:
pTypeIdentifier Layer element type identifier.
Returns:
Pointer to the UVs layer element, orNULLif no UV are defined for this layer.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould not have UVs defined. The Nurbs/Patch parameterization is used as UV parameters to map a texture.

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

Get the UVs description for this layer.

Parameters:
pTypeIdentifier Layer element type identifier.
Returns:
Pointer to the UVs layer element, orNULLif no UV are defined for this layer.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould 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 describing which UV sets are on this layer.

KArrayTemplate<KFbxLayerElementUVconst*>GetUVSets( ) const

Get an array of UV sets for this layer.

KFbxLayerElementVertexColor* GetVertexColors( ) 

Get the Vertex Colors description for this layer.

Returns:
Pointer to the Vertex Colors layer element, orNULLif no Vertex Color are defined for this layer.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould not have Vertex Colors defined, since no vertex exists.

KFbxLayerElementVertexColorconst* GetVertexColors( ) const

Get the Vertex Colors description for this layer.

Returns:
Pointer to the Vertex Colors layer element, orNULLif no Vertex Color are defined for this layer.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould 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, orNULLif no Smoothing is defined for this layer.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould not have Smoothing defined.

KFbxLayerElementSmoothingconst* GetSmoothing( ) const

Get the Smoothing description for this layer.

Returns:
Pointer to the Smoothing layer element, orNULLif no Smoothing is defined for this layer.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould not have Smoothing defined.

KFbxLayerElementUserData* GetUserData( ) 

Get the User Data for this layer.

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

KFbxLayerElementUserDataconst* GetUserData( ) const

Get the User Data for this layer.

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

KFbxLayerElementVisibility* GetVisibility( ) 

Get the visibility for this layer.

Returns:
Pointer to the visibility layer element, orNULLif no visibility is defined for this layer.

KFbxLayerElementVisibilityconst* GetVisibility( ) const

Get the visibility for this layer.

Returns:
Pointer to the visibility layer element, orNULLif no visibility is defined for this layer.

KFbxLayerElementTexture* GetEmissiveTextures( ) 

Get the EmissiveTextures description for this layer.

Returns:
Pointer to the EmissiveTextures layer element, orNULLif no EmissiveTextures are defined for this layer.

KFbxLayerElementTextureconst* GetEmissiveTextures( ) const

Get the EmissiveTextures description for this layer.

Returns:
Pointer to the EmissiveTextures layer element, orNULLif no EmissiveTextures are defined for this layer.

KFbxLayerElementTexture* GetEmissiveFactorTextures( ) 

Get the EmissiveFactorTextures description for this layer.

Returns:
Pointer to the EmissiveFactorTextures layer element, orNULLif no EmissiveFactorTextures are defined for this layer.

KFbxLayerElementTextureconst* GetEmissiveFactorTextures( ) const

Get the EmissiveFactorTextures description for this layer.

Returns:
Pointer to the EmissiveFactorTextures layer element, orNULLif no EmissiveFactorTextures are defined for this layer.

KFbxLayerElementTexture* GetAmbientTextures( ) 

Get the AmbientTextures description for this layer.

Returns:
Pointer to the AmbientTextures layer element, orNULLif no AmbientTextures are defined for this layer.

KFbxLayerElementTextureconst* GetAmbientTextures( ) const

Get the AmbientTextures description for this layer.

Returns:
Pointer to the AmbientTextures layer element, orNULLif no AmbientTextures are defined for this layer.

KFbxLayerElementTexture* GetAmbientFactorTextures( ) 

Get the AmbientFactorTextures description for this layer.

Returns:
Pointer to the AmbientFactorTextures layer element, orNULLif no AmbientFactorTextures are defined for this layer.

KFbxLayerElementTextureconst* GetAmbientFactorTextures( ) const

Get the AmbientFactorTextures description for this layer.

Returns:
Pointer to the AmbientFactorTextures layer element, orNULLif no AmbientFactorTextures are defined for this layer.

KFbxLayerElementTexture* GetDiffuseTextures( ) 

Get the DiffuseTextures description for this layer.

Returns:
Pointer to the DiffuseTextures layer element, orNULLif no DiffuseTextures are defined for this layer.

KFbxLayerElementTextureconst* GetDiffuseTextures( ) const

Get the DiffuseTextures description for this layer.

Returns:
Pointer to the DiffuseTextures layer element, orNULLif no DiffuseTextures are defined for this layer.

KFbxLayerElementTexture* GetDiffuseFactorTextures( ) 

Get the DiffuseFactorTextures description for this layer.

Returns:
Pointer to the DiffuseFactorTextures layer element, orNULLif no DiffuseFactorTextures are defined for this layer.

KFbxLayerElementTextureconst* GetDiffuseFactorTextures( ) const

Get the DiffuseFactorTextures description for this layer.

Returns:
Pointer to the DiffuseFactorTextures layer element, orNULLif no DiffuseFactorTextures are defined for this layer.

KFbxLayerElementTexture* GetSpecularTextures( ) 

Get the SpecularTextures description for this layer.

Returns:
Pointer to the SpecularTextures layer element, orNULLif no SpecularTextures are defined for this layer.

KFbxLayerElementTextureconst* GetSpecularTextures( ) const

Get the SpecularTextures description for this layer.

Returns:
Pointer to the SpecularTextures layer element, orNULLif no SpecularTextures are defined for this layer.

KFbxLayerElementTexture* GetSpecularFactorTextures( ) 

Get the SpecularFactorTextures description for this layer.

Returns:
Pointer to the SpecularFactorTextures layer element, orNULLif no SpecularFactorTextures are defined for this layer.

KFbxLayerElementTextureconst* GetSpecularFactorTextures( ) const

Get the SpecularFactorTextures description for this layer.

Returns:
Pointer to the SpecularFactorTextures layer element, orNULLif no SpecularFactorTextures are defined for this layer.

KFbxLayerElementTexture* GetShininessTextures( ) 

Get the ShininessTextures description for this layer.

Returns:
Pointer to the ShininessTextures layer element, orNULLif no ShininessTextures are defined for this layer.

KFbxLayerElementTextureconst* GetShininessTextures( ) const

Get the ShininessTextures description for this layer.

Returns:
Pointer to the ShininessTextures layer element, orNULLif no ShininessTextures are defined for this layer.

KFbxLayerElementTexture* GetNormalMapTextures( ) 

Get the NormalMapTextures description for this layer.

Returns:
Pointer to the BumpTextures layer element, orNULLif no BumpTextures are defined for this layer.

KFbxLayerElementTextureconst* GetNormalMapTextures( ) const

Get the NormalMapTextures description for this layer.

Returns:
Pointer to the BumpTextures layer element, orNULLif no BumpTextures are defined for this layer.

KFbxLayerElementTexture* GetBumpTextures( ) 

Get the BumpTextures description for this layer.

Returns:
Pointer to the BumpTextures layer element, orNULLif no BumpTextures are defined for this layer.

KFbxLayerElementTextureconst* GetBumpTextures( ) const

Get the BumpTextures description for this layer.

Returns:
Pointer to the BumpTextures layer element, orNULLif no BumpTextures are defined for this layer.

KFbxLayerElementTexture* GetTransparentTextures( ) 

Get the TransparentTextures description for this layer.

Returns:
Pointer to the TransparentTextures layer element, orNULLif no TransparentTextures are defined for this layer.

KFbxLayerElementTextureconst* GetTransparentTextures( ) const

Get the TransparentTextures description for this layer.

Returns:
Pointer to the TransparentTextures layer element, orNULLif no TransparentTextures are defined for this layer.

KFbxLayerElementTexture* GetTransparencyFactorTextures( ) 

Get the TransparencyFactorTextures description for this layer.

Returns:
Pointer to the TransparencyFactorTextures layer element, orNULLif no TransparencyFactorTextures are defined for this layer.

KFbxLayerElementTextureconst* GetTransparencyFactorTextures( ) const

Get the TransparencyFactorTextures description for this layer.

Returns:
Pointer to the TransparencyFactorTextures layer element, orNULLif no TransparencyFactorTextures are defined for this layer.

KFbxLayerElementTexture* GetReflectionTextures( ) 

Get the ReflectionTextures description for this layer.

Returns:
Pointer to the ReflectionTextures layer element, orNULLif no ReflectionTextures are defined for this layer.

KFbxLayerElementTextureconst* GetReflectionTextures( ) const

Get the ReflectionTextures description for this layer.

Returns:
Pointer to the ReflectionTextures layer element, orNULLif no ReflectionTextures are defined for this layer.

KFbxLayerElementTexture* GetReflectionFactorTextures( ) 

Get the ReflectionFactorTextures description for this layer.

Returns:
Pointer to the ReflectionFactorTextures layer element, orNULLif no ReflectionFactorTextures are defined for this layer.

KFbxLayerElementTextureconst* GetReflectionFactorTextures( ) const

Get the ReflectionFactorTextures description for this layer.

Returns:
Pointer to the ReflectionFactorTextures layer element, orNULLif no ReflectionFactorTextures are defined for this layer.

Get the Textures description for this layer.

Parameters:
pType Layer element type
Returns:
Pointer to the Textures layer element, orNULLif no Textures are defined for this layer.

Get the Textures description for this layer.

Parameters:
pType Layer element type
Returns:
Pointer to the Textures layer element, orNULLif no Textures are defined for this layer.

void SetTextures(KFbxLayerElement::ELayerElementType pType,
KFbxLayerElementTexturepTextures 
)

Set the Textures description for this layer.

Parameters:
pType layer element type
pTextures Pointer to the Textures layer element, orNULLto remove the Textures definition.

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 Whentrue, request the UV LayerElement corresponding to the specified Layer Element type.
Returns:
Pointer to the requested layer element, orNULLif the layer element is not defined for this layer.

KFbxLayerElementconst* 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 Whentrue, request the UV LayerElement corresponding to the specified Layer Element type.
Returns:
Pointer to the requested layer element, orNULLif the layer element is not defined for this layer.

void SetNormals(KFbxLayerElementNormalpNormals ) 

Set the Normals description for this layer.

Parameters:
pNormals Pointer to the Normals layer element, orNULLto remove the Normals definition.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould not have Normals defined.

void SetMaterials(KFbxLayerElementMaterialpMaterials ) 

Set the Materials description for this layer.

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

void SetPolygonGroups(KFbxLayerElementPolygonGrouppPolygonGroups ) 

Set the Polygon Groups description for this layer.

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

void SetUVs(KFbxLayerElementUVpUVs,
KFbxLayerElement::ELayerElementType pTypeIdentifier=KFbxLayerElement::eDIFFUSE_TEXTURES 
)

Set the UVs description for this layer.

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

void SetVertexColors(KFbxLayerElementVertexColorpVertexColors ) 

Set the Vertex Colors description for this layer.

Parameters:
pVertexColors Pointer to the Vertex Colors layer element, orNULLto remove the Vertex Color definition.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould not have Vertex Colors defined, since no vertex exists.

void SetSmoothing(KFbxLayerElementSmoothingpSmoothing ) 

Set the Smoothing description for this layer.

Parameters:
pSmoothing Pointer to the Smoothing layer element, orNULLto remove the Smoothing definition.
Remarks:
A geometry of typeKFbxNurborKFbxPatchshould not have Smoothing defined.

void SetUserData(KFbxLayerElementUserDatapUserData ) 

Set the User Data for this layer.

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

void SetVisibility(KFbxLayerElementVisibilitypVisibility ) 

Set the visibility for this layer.

Parameters:
pVisibility Pointer to the visibility layer element, orNULLto remove the visibility.

void SetEmissiveTextures(KFbxLayerElementTexturepTextures ) 

Set the EmissiveTextures description for this layer.

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

void SetEmissiveFactorTextures(KFbxLayerElementTexturepTextures ) 

Set the EmissiveFactorTextures description for this layer.

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

void SetAmbientTextures(KFbxLayerElementTexturepTextures ) 

Set the AmbientTextures description for this layer.

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

void SetAmbientFactorTextures(KFbxLayerElementTexturepTextures ) 

Set the AmbientFactorTextures description for this layer.

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

void SetDiffuseTextures(KFbxLayerElementTexturepTextures ) 

Set the DiffuseTextures description for this layer.

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

void SetDiffuseFactorTextures(KFbxLayerElementTexturepTextures ) 

Set the DiffuseFactorTextures description for this layer.

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

void SetSpecularTextures(KFbxLayerElementTexturepTextures ) 

Set the SpecularTextures description for this layer.

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

void SetSpecularFactorTextures(KFbxLayerElementTexturepTextures ) 

Set the SpecularFactorTextures description for this layer.

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

void SetShininessTextures(KFbxLayerElementTexturepTextures ) 

Set the ShininessTextures description for this layer.

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

void SetNormalMapTextures(KFbxLayerElementTexturepTextures ) 

Set the BumpTextures description for this layer.

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

void SetBumpTextures(KFbxLayerElementTexturepTextures ) 

Set the BumpTextures description for this layer.

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

void SetTransparentTextures(KFbxLayerElementTexturepTextures ) 

Set the TransparentTextures description for this layer.

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

void SetTransparencyFactorTextures(KFbxLayerElementTexturepTextures ) 

Set the TransparencyFactorTextures description for this layer.

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

void SetReflectionTextures(KFbxLayerElementTexturepTextures ) 

Set the ReflectionTextures description for this layer.

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

void SetReflectionFactorTextures(KFbxLayerElementTexturepTextures ) 

Set the ReflectionFactorTextures description for this layer.

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

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

Create 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 Whentrue, request the UV LayerElement corresponding to the specified Layer Element type (only applies to the TEXTURE types layer elements).
Returns:
Pointer to the newly created layer element, orNULLif the layer element has not been created for this layer.

void Clone(KFbxLayerconst& pSrcLayer,
KFbxSdkManagerpSdkManager 
)

Clone.

Parameters:
pSrcLayer The source layer to be cloned.
pSdkManager