FBX C++ API Reference
fbxlayeredtexture.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_SCENE_SHADING_LAYERED_TEXTURE_H_
14 #define _FBXSDK_SCENE_SHADING_LAYERED_TEXTURE_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
44 {
46 
47 public:
83  {
115  eBlendModeCount
116  };
117 
122  bool operator==( const FbxLayeredTexture& pOther ) const;
123 
129  bool SetTextureBlendMode( int pIndex, EBlendMode pMode );
130 
136  bool GetTextureBlendMode( int pIndex, EBlendMode& pMode ) const;
137 
143  bool SetTextureAlpha( int pIndex, double pAlpha );
144 
150  bool GetTextureAlpha( int pIndex, double& pAlpha ) const;
151 
152 /*****************************************************************************************************************************
153 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
154 *****************************************************************************************************************************/
155 #ifndef DOXYGEN_SHOULD_SKIP_THIS
156  virtual FbxObject& Copy(const FbxObject& pObject);
157 
158 protected:
159  struct InputData
160  {
161  EBlendMode mBlendMode;
162  double mAlpha;
163  };
164 
165 public:
166  FbxArray<InputData> mInputData;
167 
168 protected:
169  virtual bool ConnectNotify (FbxConnectEvent const &pEvent);
170 
171  bool RemoveInputData( int pIndex );
172 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
173 };
174 
176 
177 #include <fbxsdk/fbxsdk_nsend.h>
178 
179 #endif /* _FBXSDK_SCENE_SHADING_LAYERED_TEXTURE_H_ */
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
FBX SDK environment definition.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
This class is the base class for textures, ie classes FbxFileTexture, FbxLayeredTexture and FbxProced...
Definition: fbxtexture.h:26
EFbxType
Type identifier constants.
The base class of most FBX objects.
Definition: fbxobject.h:157
Enumeration.
FbxLayeredTexture is a combination of multiple textures(FbxTexture) blended sequentially.
#define FBXSDK_DLL
Definition: fbxarch.h:173
EBlendMode
Blend modes.
EFbxType FbxTypeOf(const FbxLayeredTexture::EBlendMode &)
Class for array of basic elements such as pointers and basic types.
Definition: fbxarray.h:23