- Main Page
- Classes
- Files
- Directories

- File List
- File Members

# fbxfiletexture.h

Go to the documentation of this file.

    00001 /****************************************************************************************
    00002
    00003    Copyright (C) 2013 Autodesk, Inc.
    00004    All rights reserved.
    00005
    00006    Use of this software is subject to the terms of the Autodesk license agreement
    00007    provided at the time of installation or download, or which otherwise accompanies
    00008    this software in either electronic or hard copy form.
    00009
    00010 ****************************************************************************************/
    00011
    00013 #ifndef _FBXSDK_SCENE_SHADING_TEXTURE_FILE_H_
    00014 #define _FBXSDK_SCENE_SHADING_TEXTURE_FILE_H_
    00015
    00016 #include <fbxsdk/fbxsdk_def.h>
    00017
    00018 #include <fbxsdk/scene/shading/fbxtexture.h>
    00019
    00020 #include <fbxsdk/fbxsdk_nsbegin.h>
    00021
    00034 class FBXSDK_DLL FbxFileTexture : public FbxTexture
    00035 {
    00036     FBXSDK_OBJECT_DECLARE(FbxFileTexture, FbxTexture);
    00037
    00038 public:
    00046         FbxPropertyT<FbxBool>               UseMaterial;
    00047
    00051         FbxPropertyT<FbxBool>               UseMipMap;
    00052
    00056     void Reset();
    00057
    00063     bool SetFileName(char const* pName);
    00064
    00070     bool SetRelativeFileName(char const* pName);
    00071
    00076     char const* GetFileName () const;
    00077
    00082     char const* GetRelativeFileName() const;
    00083
    00086     enum EMaterialUse
    00087     {
    00088         eModelMaterial,
    00089         eDefaultMaterial
    00090     };
    00091
    00095     void SetMaterialUse(EMaterialUse pMaterialUse);
    00096
    00100     EMaterialUse GetMaterialUse() const;
    00101
    00102
    00104
    00105
    00106 /*****************************************************************************************************************************
    00107 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
    00108 *****************************************************************************************************************************/
    00109 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00110     virtual FbxObject& Copy(const FbxObject& pObject);
    00111
    00112     bool operator==(FbxFileTexture const& pTexture) const;
    00113
    00114     FbxString& GetMediaName();
    00115     void SetMediaName(char const* pMediaName);
    00116
    00117 protected:
    00118     virtual void Construct(const FbxFileTexture* pFrom);
    00119     virtual void ConstructProperties(bool pForceSet);
    00120
    00121     void Init();
    00122     void SyncVideoFileName(char const* pFileName);
    00123     void SyncVideoRelativeFileName(char const* pFileName);
    00124
    00125     FbxString mFileName;
    00126     FbxString mRelativeFileName;
    00127     FbxString mMediaName; // not a prop
    00128 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
    00129 };
    00130
    00131 #include <fbxsdk/fbxsdk_nsend.h>
    00132
    00133 #endif /* _FBXSDK_SCENE_SHADING_TEXTURE_FILE_H_ */