#include<kfbxlayer.h>
A layer can contain one or more of the following layer elements:
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 | |
KFbxLayerElementNormal* | GetNormals() |
Get the Normals description for this layer. | |
KFbxLayerElementNormalconst * | GetNormals() const |
Get the Normals description for this layer. | |
KFbxLayerElementMaterial* | GetMaterials() |
Get the Materials description for this layer. | |
KFbxLayerElementMaterialconst * | GetMaterials() const |
Get the Materials description for this layer. | |
KFbxLayerElementPolygonGroup* | GetPolygonGroups() |
Get the Polygon Groups description for this layer. | |
KFbxLayerElementPolygonGroup const * | GetPolygonGroups() const |
Get the Polygon Groups description for this layer. | |
KFbxLayerElementUV* | GetEmissiveUV() |
Get the EmissiveUV description for this layer. | |
KFbxLayerElementUVconst * | GetEmissiveUV() const |
Get the EmissiveUV description for this layer. | |
KFbxLayerElementUV* | GetEmissiveFactorUV() |
Get the EmissiveFactorUV description for this layer. | |
KFbxLayerElementUVconst * | GetEmissiveFactorUV() const |
Get the EmissiveFactorUV description for this layer. | |
KFbxLayerElementUV* | GetAmbientUV() |
Get the EmissiveFactorUV description for this layer. | |
KFbxLayerElementUVconst * | GetAmbientUV() const |
Get the AmbientUV description for this layer. | |
KFbxLayerElementUV* | GetAmbientFactorUV() |
Get the AmbientUV description for this layer. | |
KFbxLayerElementUVconst * | GetAmbientFactorUV() const |
Get the AmbientFactorUV description for this layer. | |
KFbxLayerElementUV* | GetDiffuseUV() |
Get the AmbientFactorUV description for this layer. | |
KFbxLayerElementUVconst * | GetDiffuseUV() const |
Get the DiffuseUV description for this layer. | |
KFbxLayerElementUV* | GetDiffuseFactorUV() |
Get the DiffuseUV description for this layer. | |
KFbxLayerElementUVconst * | GetDiffuseFactorUV() const |
Get the DiffuseFactorUV description for this layer. | |
KFbxLayerElementUV* | GetSpecularUV() |
Get the DiffuseFactorUV description for this layer. | |
KFbxLayerElementUVconst * | GetSpecularUV() const |
Get the SpecularUV description for this layer. | |
KFbxLayerElementUV* | GetSpecularFactorUV() |
Get the SpecularUV description for this layer. | |
KFbxLayerElementUVconst * | GetSpecularFactorUV() const |
Get the SpecularFactorUV description for this layer. | |
KFbxLayerElementUV* | GetShininessUV() |
Get the SpecularFactorUV description for this layer. | |
KFbxLayerElementUVconst * | GetShininessUV() const |
Get the ShininessUV description for this layer. | |
KFbxLayerElementUV* | GetNormalMapUV() |
Get the NormalMapUV description for this layer. | |
KFbxLayerElementUVconst * | GetNormalMapUV() const |
Get the NormalMapUV description for this layer. | |
KFbxLayerElementUV* | GetBumpUV() |
Get the BumpUV description for this layer. | |
KFbxLayerElementUVconst * | GetBumpUV() const |
Get the BumpUV description for this layer. | |
KFbxLayerElementUV* | GetTransparentUV() |
Get the TransparentUV description for this layer. | |
KFbxLayerElementUVconst * | GetTransparentUV() const |
Get the TransparentUV description for this layer. | |
KFbxLayerElementUV* | GetTransparencyFactorUV() |
Get the TransparencyFactorUV description for this layer. | |
KFbxLayerElementUVconst * | GetTransparencyFactorUV() const |
Get the TransparencyFactorUV description for this layer. | |
KFbxLayerElementUV* | GetReflectionUV() |
Get the ReflectionUV description for this layer. | |
KFbxLayerElementUVconst * | GetReflectionUV() const |
Get the ReflectionUV description for this layer. | |
KFbxLayerElementUV* | GetReflectionFactorUV() |
Get the ReflectionFactorUV description for this layer. | |
KFbxLayerElementUVconst * | GetReflectionFactorUV() const |
Get the ReflectionFactorUV description for this layer. | |
KFbxLayerElementUV* | GetUVs(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. | |
KFbxLayerElementVertexColor* | GetVertexColors() |
Get the Vertex Colors description for this layer. | |
KFbxLayerElementVertexColorconst * | GetVertexColors() const |
Get the Vertex Colors description for this layer. | |
KFbxLayerElementSmoothing* | GetSmoothing() |
Get the Smoothing description for this layer. | |
KFbxLayerElementSmoothingconst * | GetSmoothing() const |
Get the Smoothing description for this layer. | |
KFbxLayerElementUserData* | GetUserData() |
Get the User Data for this layer. | |
KFbxLayerElementUserDataconst * | GetUserData() const |
Get the User Data for this layer. | |
KFbxLayerElementVisibility* | GetVisibility() |
Get the visibility for this layer. | |
KFbxLayerElementVisibilityconst * | GetVisibility() const |
Get the visibility for this layer. | |
KFbxLayerElementTexture* | GetEmissiveTextures() |
Get the EmissiveTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetEmissiveTextures() const |
Get the EmissiveTextures description for this layer. | |
KFbxLayerElementTexture* | GetEmissiveFactorTextures() |
Get the EmissiveFactorTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetEmissiveFactorTextures() const |
Get the EmissiveFactorTextures description for this layer. | |
KFbxLayerElementTexture* | GetAmbientTextures() |
Get the AmbientTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetAmbientTextures() const |
Get the AmbientTextures description for this layer. | |
KFbxLayerElementTexture* | GetAmbientFactorTextures() |
Get the AmbientFactorTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetAmbientFactorTextures() const |
Get the AmbientFactorTextures description for this layer. | |
KFbxLayerElementTexture* | GetDiffuseTextures() |
Get the DiffuseTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetDiffuseTextures() const |
Get the DiffuseTextures description for this layer. | |
KFbxLayerElementTexture* | GetDiffuseFactorTextures() |
Get the DiffuseFactorTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetDiffuseFactorTextures() const |
Get the DiffuseFactorTextures description for this layer. | |
KFbxLayerElementTexture* | GetSpecularTextures() |
Get the SpecularTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetSpecularTextures() const |
Get the SpecularTextures description for this layer. | |
KFbxLayerElementTexture* | GetSpecularFactorTextures() |
Get the SpecularFactorTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetSpecularFactorTextures() const |
Get the SpecularFactorTextures description for this layer. | |
KFbxLayerElementTexture* | GetShininessTextures() |
Get the ShininessTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetShininessTextures() const |
Get the ShininessTextures description for this layer. | |
KFbxLayerElementTexture* | GetNormalMapTextures() |
Get the NormalMapTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetNormalMapTextures() const |
Get the NormalMapTextures description for this layer. | |
KFbxLayerElementTexture* | GetBumpTextures() |
Get the BumpTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetBumpTextures() const |
Get the BumpTextures description for this layer. | |
KFbxLayerElementTexture* | GetTransparentTextures() |
Get the TransparentTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetTransparentTextures() const |
Get the TransparentTextures description for this layer. | |
KFbxLayerElementTexture* | GetTransparencyFactorTextures() |
Get the TransparencyFactorTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetTransparencyFactorTextures() const |
Get the TransparencyFactorTextures description for this layer. | |
KFbxLayerElementTexture* | GetReflectionTextures() |
Get the ReflectionTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetReflectionTextures() const |
Get the ReflectionTextures description for this layer. | |
KFbxLayerElementTexture* | GetReflectionFactorTextures() |
Get the ReflectionFactorTextures description for this layer. | |
KFbxLayerElementTextureconst * | GetReflectionFactorTextures() const |
Get the ReflectionFactorTextures description for this layer. | |
KFbxLayerElementTexture* | GetTextures(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. | |
KFbxLayerElement* | GetLayerElementOfType(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. | |
KFbxLayerElement* | CreateLayerElementOfType(KFbxLayerElement::ELayerElementTypepType, bool pIsUV=false) |
Create the layer element description of the specified type for this layer. | |
void | Clone(KFbxLayerconst&pSrcLayer,KFbxSdkManager*pSdkManager) |
Clone. |
KFbxLayerElementNormal* GetNormals | ( | ) |
KFbxLayerElementNormalconst* GetNormals | ( | ) | const |
KFbxLayerElementMaterial* GetMaterials | ( | ) |
Get the Materials description for this layer.
NULL
if no Materials are defined for this layer.KFbxLayerElementMaterialconst* GetMaterials | ( | ) | const |
Get the Materials description for this layer.
NULL
if no Materials are defined for this layer.KFbxLayerElementPolygonGroup* GetPolygonGroups | ( | ) |
Get the Polygon Groups description for this layer.
NULL
if no Polygon Groups are defined for this layer.KFbxLayerElementPolygonGroupconst* GetPolygonGroups | ( | ) | const |
Get the Polygon Groups description for this layer.
NULL
if no Polygon Groups are defined for this layer.KFbxLayerElementUV* GetEmissiveUV | ( | ) |
Get the EmissiveUV description for this layer.
NULL
if no EmissiveUV are defined for this layer.KFbxLayerElementUVconst* GetEmissiveUV | ( | ) | const |
Get the EmissiveUV description for this layer.
NULL
if no EmissiveUV are defined for this layer.KFbxLayerElementUV* GetEmissiveFactorUV | ( | ) |
Get the EmissiveFactorUV description for this layer.
NULL
if no EmissiveFactorUV are defined for this layer.KFbxLayerElementUVconst* GetEmissiveFactorUV | ( | ) | const |
Get the EmissiveFactorUV description for this layer.
NULL
if no EmissiveFactorUV are defined for this layer.KFbxLayerElementUV* GetAmbientUV | ( | ) |
Get the EmissiveFactorUV description for this layer.
NULL
if no AmbientUV are defined for this layer.KFbxLayerElementUVconst* GetAmbientUV | ( | ) | const |
Get the AmbientUV description for this layer.
NULL
if no AmbientUV are defined for this layer.KFbxLayerElementUV* GetAmbientFactorUV | ( | ) |
Get the AmbientUV description for this layer.
NULL
if no AmbientFactorUV are defined for this layer.KFbxLayerElementUVconst* GetAmbientFactorUV | ( | ) | const |
Get the AmbientFactorUV description for this layer.
NULL
if no AmbientFactorUV are defined for this layer.KFbxLayerElementUV* GetDiffuseUV | ( | ) |
Get the AmbientFactorUV description for this layer.
NULL
if no DiffuseUV are defined for this layer.KFbxLayerElementUVconst* GetDiffuseUV | ( | ) | const |
Get the DiffuseUV description for this layer.
NULL
if no DiffuseUV are defined for this layer.KFbxLayerElementUV* GetDiffuseFactorUV | ( | ) |
Get the DiffuseUV description for this layer.
NULL
if no DiffuseFactorUV are defined for this layer.KFbxLayerElementUVconst* GetDiffuseFactorUV | ( | ) | const |
Get the DiffuseFactorUV description for this layer.
NULL
if no DiffuseFactorUV are defined for this layer.KFbxLayerElementUV* GetSpecularUV | ( | ) |
Get the DiffuseFactorUV description for this layer.
NULL
if no SpecularUV are defined for this layer.KFbxLayerElementUVconst* GetSpecularUV | ( | ) | const |
Get the SpecularUV description for this layer.
NULL
if no SpecularUV are defined for this layer.KFbxLayerElementUV* GetSpecularFactorUV | ( | ) |
Get the SpecularUV description for this layer.
NULL
if no SpecularFactorUV are defined for this layer.KFbxLayerElementUVconst* GetSpecularFactorUV | ( | ) | const |
Get the SpecularFactorUV description for this layer.
NULL
if no SpecularFactorUV are defined for this layer.KFbxLayerElementUV* GetShininessUV | ( | ) |
Get the SpecularFactorUV description for this layer.
NULL
if no ShininessUV are defined for this layer.KFbxLayerElementUVconst* GetShininessUV | ( | ) | const |
Get the ShininessUV description for this layer.
NULL
if no ShininessUV are defined for this layer.KFbxLayerElementUV* GetNormalMapUV | ( | ) |
Get the NormalMapUV description for this layer.
NULL
if no BumpUV are defined for this layer.KFbxLayerElementUVconst* GetNormalMapUV | ( | ) | const |
Get the NormalMapUV description for this layer.
NULL
if no BumpUV are defined for this layer.KFbxLayerElementUV* GetBumpUV | ( | ) |
Get the BumpUV description for this layer.
NULL
if no BumpUV are defined for this layer.KFbxLayerElementUVconst* GetBumpUV | ( | ) | const |
Get the BumpUV description for this layer.
NULL
if no BumpUV are defined for this layer.KFbxLayerElementUV* GetTransparentUV | ( | ) |
Get the TransparentUV description for this layer.
NULL
if no TransparentUV are defined for this layer.KFbxLayerElementUVconst* GetTransparentUV | ( | ) | const |
Get the TransparentUV description for this layer.
NULL
if no TransparentUV are defined for this layer.KFbxLayerElementUV* GetTransparencyFactorUV | ( | ) |
Get the TransparencyFactorUV description for this layer.
NULL
if no TransparencyFactorUV are defined for this layer.KFbxLayerElementUVconst* GetTransparencyFactorUV | ( | ) | const |
Get the TransparencyFactorUV description for this layer.
NULL
if no TransparencyFactorUV are defined for this layer.KFbxLayerElementUV* GetReflectionUV | ( | ) |
Get the ReflectionUV description for this layer.
NULL
if no ReflectionUV are defined for this layer.KFbxLayerElementUVconst* GetReflectionUV | ( | ) | const |
Get the ReflectionUV description for this layer.
NULL
if no ReflectionUV are defined for this layer.KFbxLayerElementUV* GetReflectionFactorUV | ( | ) |
Get the ReflectionFactorUV description for this layer.
NULL
if no ReflectionFactorUV are defined for this layer.KFbxLayerElementUVconst* GetReflectionFactorUV | ( | ) | const |
Get the ReflectionFactorUV description for this layer.
NULL
if no ReflectionFactorUV are defined for this layer.KFbxLayerElementUV* GetUVs | ( | KFbxLayerElement::ELayerElementType | pTypeIdentifier=KFbxLayerElement::eDIFFUSE_TEXTURES | ) |
Get the UVs description for this layer.
pTypeIdentifier | Layer element type identifier. |
NULL
if no UV are defined for this layer.KFbxLayerElementUVconst* GetUVs | ( | KFbxLayerElement::ELayerElementType | pTypeIdentifier=KFbxLayerElement::eDIFFUSE_TEXTURES | ) | const |
Get the UVs description for this layer.
pTypeIdentifier | Layer element type identifier. |
NULL
if no UV are defined 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.
KFbxLayerElementVertexColor* GetVertexColors | ( | ) |
KFbxLayerElementVertexColorconst* GetVertexColors | ( | ) | const |
KFbxLayerElementSmoothing* GetSmoothing | ( | ) |
KFbxLayerElementSmoothingconst* GetSmoothing | ( | ) | const |
KFbxLayerElementUserData* GetUserData | ( | ) |
Get the User Data for this layer.
NULL
if no User Data is defined for this layer.KFbxLayerElementUserDataconst* GetUserData | ( | ) | const |
Get the User Data for this layer.
NULL
if no User Data is defined for this layer.KFbxLayerElementVisibility* GetVisibility | ( | ) |
Get the visibility for this layer.
NULL
if no visibility is defined for this layer.KFbxLayerElementVisibilityconst* GetVisibility | ( | ) | const |
Get the visibility for this layer.
NULL
if no visibility is defined for this layer.KFbxLayerElementTexture* GetEmissiveTextures | ( | ) |
Get the EmissiveTextures description for this layer.
NULL
if no EmissiveTextures are defined for this layer.KFbxLayerElementTextureconst* GetEmissiveTextures | ( | ) | const |
Get the EmissiveTextures description for this layer.
NULL
if no EmissiveTextures are defined for this layer.KFbxLayerElementTexture* GetEmissiveFactorTextures | ( | ) |
Get the EmissiveFactorTextures description for this layer.
NULL
if no EmissiveFactorTextures are defined for this layer.KFbxLayerElementTextureconst* GetEmissiveFactorTextures | ( | ) | const |
Get the EmissiveFactorTextures description for this layer.
NULL
if no EmissiveFactorTextures are defined for this layer.KFbxLayerElementTexture* GetAmbientTextures | ( | ) |
Get the AmbientTextures description for this layer.
NULL
if no AmbientTextures are defined for this layer.KFbxLayerElementTextureconst* GetAmbientTextures | ( | ) | const |
Get the AmbientTextures description for this layer.
NULL
if no AmbientTextures are defined for this layer.KFbxLayerElementTexture* GetAmbientFactorTextures | ( | ) |
Get the AmbientFactorTextures description for this layer.
NULL
if no AmbientFactorTextures are defined for this layer.KFbxLayerElementTextureconst* GetAmbientFactorTextures | ( | ) | const |
Get the AmbientFactorTextures description for this layer.
NULL
if no AmbientFactorTextures are defined for this layer.KFbxLayerElementTexture* GetDiffuseTextures | ( | ) |
Get the DiffuseTextures description for this layer.
NULL
if no DiffuseTextures are defined for this layer.KFbxLayerElementTextureconst* GetDiffuseTextures | ( | ) | const |
Get the DiffuseTextures description for this layer.
NULL
if no DiffuseTextures are defined for this layer.KFbxLayerElementTexture* GetDiffuseFactorTextures | ( | ) |
Get the DiffuseFactorTextures description for this layer.
NULL
if no DiffuseFactorTextures are defined for this layer.KFbxLayerElementTextureconst* GetDiffuseFactorTextures | ( | ) | const |
Get the DiffuseFactorTextures description for this layer.
NULL
if no DiffuseFactorTextures are defined for this layer.KFbxLayerElementTexture* GetSpecularTextures | ( | ) |
Get the SpecularTextures description for this layer.
NULL
if no SpecularTextures are defined for this layer.KFbxLayerElementTextureconst* GetSpecularTextures | ( | ) | const |
Get the SpecularTextures description for this layer.
NULL
if no SpecularTextures are defined for this layer.KFbxLayerElementTexture* GetSpecularFactorTextures | ( | ) |
Get the SpecularFactorTextures description for this layer.
NULL
if no SpecularFactorTextures are defined for this layer.KFbxLayerElementTextureconst* GetSpecularFactorTextures | ( | ) | const |
Get the SpecularFactorTextures description for this layer.
NULL
if no SpecularFactorTextures are defined for this layer.KFbxLayerElementTexture* GetShininessTextures | ( | ) |
Get the ShininessTextures description for this layer.
NULL
if no ShininessTextures are defined for this layer.KFbxLayerElementTextureconst* GetShininessTextures | ( | ) | const |
Get the ShininessTextures description for this layer.
NULL
if no ShininessTextures are defined for this layer.KFbxLayerElementTexture* GetNormalMapTextures | ( | ) |
Get the NormalMapTextures description for this layer.
NULL
if no BumpTextures are defined for this layer.KFbxLayerElementTextureconst* GetNormalMapTextures | ( | ) | const |
Get the NormalMapTextures description for this layer.
NULL
if no BumpTextures are defined for this layer.KFbxLayerElementTexture* GetBumpTextures | ( | ) |
Get the BumpTextures description for this layer.
NULL
if no BumpTextures are defined for this layer.KFbxLayerElementTextureconst* GetBumpTextures | ( | ) | const |
Get the BumpTextures description for this layer.
NULL
if no BumpTextures are defined for this layer.KFbxLayerElementTexture* GetTransparentTextures | ( | ) |
Get the TransparentTextures description for this layer.
NULL
if no TransparentTextures are defined for this layer.KFbxLayerElementTextureconst* GetTransparentTextures | ( | ) | const |
Get the TransparentTextures description for this layer.
NULL
if no TransparentTextures are defined for this layer.KFbxLayerElementTexture* GetTransparencyFactorTextures | ( | ) |
Get the TransparencyFactorTextures description for this layer.
NULL
if no TransparencyFactorTextures are defined for this layer.KFbxLayerElementTextureconst* GetTransparencyFactorTextures | ( | ) | const |
Get the TransparencyFactorTextures description for this layer.
NULL
if no TransparencyFactorTextures are defined for this layer.KFbxLayerElementTexture* GetReflectionTextures | ( | ) |
Get the ReflectionTextures description for this layer.
NULL
if no ReflectionTextures are defined for this layer.KFbxLayerElementTextureconst* GetReflectionTextures | ( | ) | const |
Get the ReflectionTextures description for this layer.
NULL
if no ReflectionTextures are defined for this layer.KFbxLayerElementTexture* GetReflectionFactorTextures | ( | ) |
Get the ReflectionFactorTextures description for this layer.
NULL
if no ReflectionFactorTextures are defined for this layer.KFbxLayerElementTextureconst* GetReflectionFactorTextures | ( | ) | const |
Get the ReflectionFactorTextures description for this layer.
NULL
if no ReflectionFactorTextures are defined for this layer.KFbxLayerElementTexture* GetTextures | ( | KFbxLayerElement::ELayerElementType | pType | ) |
Get the Textures description for this layer.
pType | Layer element type |
NULL
if no Textures are defined for this layer.KFbxLayerElementTextureconst* GetTextures | ( | KFbxLayerElement::ELayerElementType | pType | ) | const |
Get the Textures description for this layer.
pType | Layer element type |
NULL
if no Textures are defined for this layer.void SetTextures | ( | KFbxLayerElement::ELayerElementType | pType, | |
KFbxLayerElementTexture* | pTextures | |||
) |
Set the Textures description for this layer.
pType | layer element type | |
pTextures | Pointer to the Textures layer element, orNULL to remove the Textures definition. |
KFbxLayerElement* GetLayerElementOfType | ( | KFbxLayerElement::ELayerElementType | pType, | |
bool | pIsUV=false | |||
) |
Get the layer element description of the specified type for this layer.
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. |
KFbxLayerElementconst* GetLayerElementOfType | ( | KFbxLayerElement::ELayerElementType | pType, | |
bool | pIsUV=false | |||
) | const |
Get the layer element description of the specified type for this layer.
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. |
void SetNormals | ( | KFbxLayerElementNormal* | pNormals | ) |
void SetMaterials | ( | KFbxLayerElementMaterial* | pMaterials | ) |
Set the Materials description for this layer.
pMaterials | Pointer to the Materials layer element, orNULL to remove the Material definition. |
void SetPolygonGroups | ( | KFbxLayerElementPolygonGroup* | pPolygonGroups | ) |
Set the Polygon Groups description for this layer.
pPolygonGroups | Pointer to the Polygon Groups layer element, orNULL to remove the Polygon Group definition. |
void SetUVs | ( | KFbxLayerElementUV* | pUVs, | |
KFbxLayerElement::ELayerElementType | pTypeIdentifier=KFbxLayerElement::eDIFFUSE_TEXTURES | |||
) |
Set the UVs description for this layer.
pUVs | Pointer to the UVs layer element, orNULL to remove the UV definition. | |
pTypeIdentifier | layer element type |
void SetVertexColors | ( | KFbxLayerElementVertexColor* | pVertexColors | ) |
void SetSmoothing | ( | KFbxLayerElementSmoothing* | pSmoothing | ) |
void SetUserData | ( | KFbxLayerElementUserData* | pUserData | ) |
Set the User Data for this layer.
pUserData | Pointer to the User Data layer element, orNULL to remove the User Data. |
void SetVisibility | ( | KFbxLayerElementVisibility* | pVisibility | ) |
Set the visibility for this layer.
pVisibility | Pointer to the visibility layer element, orNULL to remove the visibility. |
void SetEmissiveTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the EmissiveTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetEmissiveFactorTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the EmissiveFactorTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetAmbientTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the AmbientTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetAmbientFactorTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the AmbientFactorTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetDiffuseTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the DiffuseTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetDiffuseFactorTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the DiffuseFactorTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetSpecularTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the SpecularTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetSpecularFactorTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the SpecularFactorTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetShininessTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the ShininessTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetNormalMapTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the BumpTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetBumpTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the BumpTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetTransparentTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the TransparentTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetTransparencyFactorTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the TransparencyFactorTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetReflectionTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the ReflectionTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
void SetReflectionFactorTextures | ( | KFbxLayerElementTexture* | pTextures | ) |
Set the ReflectionFactorTextures description for this layer.
pTextures | Pointer to the Textures layer element, orNULL to remove the Texture definition. |
KFbxLayerElement* CreateLayerElementOfType | ( | KFbxLayerElement::ELayerElementType | pType, | |
bool | pIsUV=false | |||
) |
Create the layer element description of the specified type for this layer.
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). |
void Clone | ( | KFbxLayerconst& | pSrcLayer, | |
KFbxSdkManager* | pSdkManager | |||
) |
Clone.
pSrcLayer | The source layer to be cloned. | |
pSdkManager |