This reference page is linked to from the following overview topics: #include <fbxlayer.h>
Layer element for mapping Textures to a geometry.
This class is deprecated.
Deprecated since FBX SDK 2011. Textures (FbxTexture derived classes) should be connected to material properties.
For example:
Definition at line 2172 of file fbxlayer.h.
Inheritance diagram for FbxLayerElementTexture:Public Member Functions | |
| FBXSDK_LAYER_ELEMENT_CREATE_DECLARE (LayerElementTexture) | |
| Allocation method. More... | |
| void | SetBlendMode (EBlendMode pBlendMode) |
| Sets the way Textures blend between layers. More... | |
| void | SetAlpha (double pAlpha) |
| Sets the transparency level between multiple texture levels. More... | |
| EBlendMode | GetBlendMode () const |
| Returns the way Textures blend between layers. More... | |
| double | GetAlpha () const |
| Returns the transparency level between multiple levels of textures. More... | |
Public Member Functions inherited from FbxLayerElementTemplate< FbxTexture * > | |
| FbxLayerElementArrayTemplate < FbxTexture * > & | GetDirectArray () const |
| Returns the direct array of Layer Elements. More... | |
| FbxLayerElementArrayTemplate < FbxTexture * > & | GetDirectArray () |
| Returns the direct array of Layer Elements. More... | |
| FbxLayerElementArrayTemplate < int > & | GetIndexArray () const |
| Returns the index array of Layer Elements. More... | |
| FbxLayerElementArrayTemplate < int > & | GetIndexArray () |
| Returns the index array of Layer Elements. More... | |
| bool | Clear () |
| Removes all elements from the direct and the index arrays. More... | |
| bool | operator== (const FbxLayerElementTemplate &pOther) const |
| Equivalence operator. More... | |
| FbxLayerElementTemplate & | operator= (FbxLayerElementTemplate const &pOther) |
| Assignment operator. More... | |
| int | RemapIndexTo (FbxLayerElement::EMappingMode pNewMapping) |
| Changes the Mapping mode to the new one and re-computes the index array. More... | |
Public Member Functions inherited from FbxLayerElement | |
| void | SetMappingMode (EMappingMode pMappingMode) |
| Sets the Mapping Mode. More... | |
| void | SetReferenceMode (EReferenceMode pReferenceMode) |
| Sets the Reference Mode. More... | |
| EMappingMode | GetMappingMode () const |
| Returns the Mapping Mode. More... | |
| EReferenceMode | GetReferenceMode () const |
| Returns the Reference Mode. More... | |
| void | SetName (const char *pName) |
| Sets the name of this object. More... | |
| const char * | GetName () const |
| Returns the name of this object. More... | |
| bool | operator== (const FbxLayerElement &pOther) const |
| Equivalence operator. More... | |
| FbxLayerElement & | operator= (FbxLayerElement const &pOther) |
| Assignment operator. More... | |
| void | Destroy () |
| Removes this layer element from its owner and delete it. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from FbxLayerElement | |
| static const int | sTypeTextureStartIndex = int(eTextureDiffuse) |
| The start index of texture type layer elements. More... | |
| static const int | sTypeTextureEndIndex = int(eTypeCount) - 1 |
| The end index of texture type layer elements. More... | |
| static const int | sTypeTextureCount = sTypeTextureEndIndex - sTypeTextureStartIndex + 1 |
| The count of texture type layer elements. More... | |
| static const int | sTypeNonTextureStartIndex = int(eNormal) |
| The start index of non-texture type layer elements. More... | |
| static const int | sTypeNonTextureEndIndex = int(eVisibility) |
| The end index of non-texture type layer elements. More... | |
| static const int | sTypeNonTextureCount = sTypeNonTextureEndIndex - sTypeNonTextureStartIndex + 1 |
| The count of non-texture type layer elements. More... | |
| static const char *const | sTextureNames [] |
| Array of names of texture type layer elements. More... | |
| static const char *const | sTextureUVNames [] |
| Array of names of UV layer elements. More... | |
| static const char *const | sNonTextureNames [] |
| Array of names of non-texture type layer elements. More... | |
| static const FbxDataType | sTextureDataTypes [] |
| Array of texture types. More... | |
| static const char *const | sTextureChannelNames [] |
| Array of texture channels. More... | |
| enum EBlendMode |
Lets you control how textures are combined when you apply multiple layers of texture to a surface.
Definition at line 2214 of file fbxlayer.h.
| FBXSDK_LAYER_ELEMENT_CREATE_DECLARE | ( | LayerElementTexture | ) |
Allocation method.
NULL if creation fails.
|
inline |
Sets the way Textures blend between layers.
| pBlendMode | A valid blend mode. |
Definition at line 2253 of file fbxlayer.h.
|
inline |
Sets the transparency level between multiple texture levels.
| pAlpha | Set to a value between 0.0 and 1.0, where 0.0 is totally transparent and 1.0 is totally opaque. |
Definition at line 2259 of file fbxlayer.h.
|
inline |
Returns the way Textures blend between layers.
Definition at line 2272 of file fbxlayer.h.
|
inline |
Returns the transparency level between multiple levels of textures.
Definition at line 2277 of file fbxlayer.h.