This reference page is linked to from the following overview topics: Meshes, Materials and Textures, Referencing Media, Textures, Layered Textures.
#include <fbxfiletexture.h>
This class describes image mapping on top of geometry.
ExportDocument/main.cxx, ExportScene02/main.cxx, ExportScene03/main.cxx, ExportShader/main.cxx, ImportScene/DisplayMaterial.cxx, ImportScene/DisplayTexture.cxx, Layers/main.cxx, UI_Examples/CubeCreator/SDK_Utility.cxx, ViewScene/SceneCache.cxx, and ViewScene/SceneContext.cxx.
Definition at line 34 of file fbxfiletexture.h.
Texture Properties |
|
| enum | EMaterialUse { eModelMaterial, eDefaultMaterial } |
| Specify if texture uses model material.
More... |
|
| FbxPropertyT< FbxBool > | UseMaterial |
| This property handles the material use.
|
|
| FbxPropertyT< FbxBool > | UseMipMap |
| This property handles the Mipmap use.
|
|
| void | Reset () |
| Resets the default texture values. |
|
| bool | SetFileName (const char *pName) |
| Sets the associated texture file. |
|
| bool | SetRelativeFileName (const char *pName) |
| Sets the associated texture file. |
|
| const char * | GetFileName () const |
| Returns the absolute texture file path.
|
|
| const char * | GetRelativeFileName () const |
| Returns the relative texture file path.
|
|
| void | SetMaterialUse (EMaterialUse pMaterialUse) |
| Sets the material use. |
|
| EMaterialUse | GetMaterialUse () const |
| Returns the material use. |
|
| enum EMaterialUse |
Specify if texture uses model material.
| eModelMaterial | |
| eDefaultMaterial |
Texture uses model material. Texture does not use model material. |
Definition at line 86 of file fbxfiletexture.h.
| void Reset | ( | ) | [virtual] |
Resets the default texture values.
Reimplemented from FbxTexture.
| bool SetFileName | ( | const char * | pName | ) |
Sets the associated texture file.
| pName | The absolute path of the texture file. |
True if successful, returns false
otherwise.| bool SetRelativeFileName | ( | const char * | pName | ) |
Sets the associated texture file.
| pName | The relative path of the texture file. |
True if successful, returns false
otherwise.| const char* GetFileName | ( | ) | const |
Returns the absolute texture file path.
| const char* GetRelativeFileName | ( | ) | const |
Returns the relative texture file path.
| void SetMaterialUse | ( | EMaterialUse | pMaterialUse | ) |
Sets the material use.
| pMaterialUse | Specify how texture uses model material. |
| EMaterialUse GetMaterialUse | ( | ) | const |
Returns the material use.
This property handles the material use.
Default value is false.
Definition at line 46 of file fbxfiletexture.h.
This property handles the Mipmap use.
Default value is false.
Definition at line 51 of file fbxfiletexture.h.