FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FbxPropertyEntryView Class Reference

#include <fbxpropertyentryview.h>

Class Description

FbxPropertyEntryView represents property entry in entry tables.

The property can be used as source or destination for the binding entry. Use this class to manipulate binding table's attributes.

Here is a code snippet to show how it used.
FbxProperty lProp;
FbxBindingTableEntry& lEntry = lBindingTable.AddNewEntry();
FbxPropertyEntryView lView( lEntry, true, true);
lView.SetProperty( lProp.GetName());
See also
FbxBindingTableEntry and FbxBindingTable.
Examples:
ExportShader/main.cxx.

Definition at line 39 of file fbxpropertyentryview.h.

+ Inheritance diagram for FbxPropertyEntryView:

Public Member Functions

const char * GetProperty () const
 Get the property name from the binding entry. More...
 
void SetProperty (const char *pPropertyName)
 Set the property name to the binding entry. More...
 
virtual const char * EntryType () const
 Get the entry type. More...
 
- Public Member Functions inherited from FbxEntryView
virtual bool IsValid () const
 Check whether this entry view is valid or not. More...
 
virtual bool Create ()
 Create a new entry view. More...
 
 FbxEntryView (FbxBindingTableEntry *pEntry, bool pAsSource, bool pCreate=false)
 Constructor. More...
 
virtual ~FbxEntryView ()
 Destructor. More...
 

Static Public Attributes

static const char * sEntryType
 Name of the entry type used in the binding entry. More...
 
- Static Public Attributes inherited from FbxEntryView
static const char * sEntryType
 Entry type. More...
 

Constructor and Destructor.

 FbxPropertyEntryView (FbxBindingTableEntry *pEntry, bool pAsSource, bool pCreate=false)
 Constructor. More...
 
 ~FbxPropertyEntryView ()
 Destructor. More...
 

Constructor & Destructor Documentation

◆ FbxPropertyEntryView()

FbxPropertyEntryView ( FbxBindingTableEntry pEntry,
bool  pAsSource,
bool  pCreate = false 
)

Constructor.

Parameters
pEntryThe binding table entry to create the entry view for.
pAsSourcetrue to create the entry view as source, false as destination.
pCreatetrue to create the entry view, false otherwise.

◆ ~FbxPropertyEntryView()

Destructor.

Member Function Documentation

◆ GetProperty()

const char* GetProperty ( ) const

Get the property name from the binding entry.

Returns
The property name.

◆ SetProperty()

void SetProperty ( const char *  pPropertyName)

Set the property name to the binding entry.

Parameters
pPropertyNameThe property name to set.

◆ EntryType()

virtual const char* EntryType ( ) const
virtual

Get the entry type.

Returns
Entry type as string "FbxPropertyEntry".
Remarks
Always use EntryType() to get the right entry type.

Reimplemented from FbxEntryView.

Member Data Documentation

◆ sEntryType

const char* sEntryType
static

Name of the entry type used in the binding entry.

It should be "FbxPropertyEntry" in this case.

Examples:
ImportScene/DisplayMaterial.cxx.

Definition at line 46 of file fbxpropertyentryview.h.


The documentation for this class was generated from the following file: