FbxLayerEntryView encodes a layer element representation (the index of the layer, the type of the layer element and whether the layer element is a UVSet layer element) to a string stored in FbxBindingTableEntry and decodes the string back to a layer element representation.
This class is used in combination with FbxBindingTableEntry to represent a source or a destination FbxLayerElement.
Definition at line 33 of file fbxlayerentryview.h.
#include <fbxlayerentryview.h>

Public Member Functions | |
| FbxLayerEntryView (FbxBindingTableEntry *pEntry, bool pAsSource, bool pCreate=false) | |
| Constructor. | |
| virtual | ~FbxLayerEntryView () |
| Destructor. | |
| void | SetLayerElement (int pLayerIndex, FbxLayerElement::EType pType, bool pUVSet) |
| Set the layer element for the binding entry. | |
| void | GetLayerElement (int &pLayerIndex, FbxLayerElement::EType &pType, bool &pUVSet) const |
| Get the layer element for binding entry. | |
| FbxLayerElement * | GetLayerElement (FbxLayerContainer *pContainer) const |
| Get the layer element for binding entry. | |
| virtual const char * | EntryType () const |
| Get the entry type. | |
Static Public Attributes | |
| static const char * | sEntryType |
| Name of the entry type used in the binding entry. | |
Static Protected Attributes | |
| static const char * | sDelimiter |
| FbxLayerEntryView | ( | FbxBindingTableEntry * | pEntry, |
| bool | pAsSource, | ||
| bool | pCreate = false |
||
| ) |
Constructor.
| pEntry | The binding table entry to create the entry view for. |
| pAsSource | true to create the entry view as source, false as destination. |
| pCreate | true to create the entry view, false otherwise. |
| virtual ~FbxLayerEntryView | ( | ) | [virtual] |
Destructor.
| void SetLayerElement | ( | int | pLayerIndex, |
| FbxLayerElement::EType | pType, | ||
| bool | pUVSet | ||
| ) |
Set the layer element for the binding entry.
| pLayerIndex | LayerElement index. |
| pType | LayerElement type. |
| pUVSet | Whether this is a UVSet LayerElement. |
| void GetLayerElement | ( | int & | pLayerIndex, |
| FbxLayerElement::EType & | pType, | ||
| bool & | pUVSet | ||
| ) | const |
Get the layer element for binding entry.
| pLayerIndex | LayerElement index. |
| pType | LayerElement type. |
| pUVSet | Whether this is a UVSet LayerElement. |
| FbxLayerElement* GetLayerElement | ( | FbxLayerContainer * | pContainer | ) | const |
Get the layer element for binding entry.
| pContainer | FbxLayerContainer to get the layer element from. |
| virtual const char* EntryType | ( | ) | const [virtual] |
Get the entry type.
Reimplemented from FbxEntryView.
const char* sEntryType [static] |
Name of the entry type used in the binding entry.
It should be "FbxLayerEntry" in this case.
Reimplemented from FbxEntryView.
Definition at line 40 of file fbxlayerentryview.h.
const char* sDelimiter [static, protected] |
Definition at line 83 of file fbxlayerentryview.h.