Public Types | Public Member Functions

KFbxSceneRenamer Class Reference

This reference page is linked to from the following overview topics: List of Python FBX classes.


Search for all occurrences

Detailed Description

The KFbxSceneRenamer provides a way to easily rename objects in a scene without using the KFbxRenamingStrategy class.

KFbxSceneRenamer can remove name clashing and illegal characters. It also manages namespaces.

Example: Maya only accepts names with letters, digits, or underscores, and we want to convert all the names of a scene from FBX format to Maya format.

 KFbxSceneRenamer lSceneRenamer(pScene);
 lSceneRenamer.RenameFor(KFbxSceneRenamer::eFBX_TO_MAYA);
See also:
KFbxRenamingStrategy

Definition at line 233 of file kfbxrenamingstrategy.h.

#include <kfbxrenamingstrategy.h>

List of all members.

Public Types

enum   ERenamingMode {
  eNONE, eMAYA_TO_FBX5, eMAYA_TO_FBX_MB75, eMAYA_TO_FBX_MB70,
  eFBXMB75_TO_FBXMB70, eFBX_TO_FBX, eMAYA_TO_FBX, eFBX_TO_MAYA,
  eLW_TO_FBX, eFBX_TO_LW, eXSI_TO_FBX, eFBX_TO_XSI,
  eMAX_TO_FBX, eFBX_TO_MAX, eMB_TO_FBX, eFBX_TO_MB,
  eDAE_TO_FBX, eFBX_TO_DAE
}
 

The Mode describing from which format to which format.

More...

Public Member Functions

  KFbxSceneRenamer (KFbxScene *pScene)
  Constructor.
virtual  ~KFbxSceneRenamer ()
  Destructor.
void  RenameFor (ERenamingMode pMode)
  Rename the objects of the scene according the specific mode.

Member Enumeration Documentation

The Mode describing from which format to which format.

  • eNONE
  • eMAYA_TO_FBX5
  • eMAYA_TO_FBX_MB75
  • eMAYA_TO_FBX_MB70
  • eFBXMB75_TO_FBXMB70
  • eFBX_TO_FBX
  • eMAYA_TO_FBX
  • eFBX_TO_MAYA
  • eLW_TO_FBX
  • eFBX_TO_LW
  • eXSI_TO_FBX
  • eFBX_TO_XSI
  • eMAX_TO_FBX
  • eFBX_TO_MAX
  • eMB_TO_FBX
  • eFBX_TO_MB
  • eDAE_TO_FBX
  • eFBX_TO_DAE
Enumerator:
eNONE 
eMAYA_TO_FBX5 
eMAYA_TO_FBX_MB75 
eMAYA_TO_FBX_MB70 
eFBXMB75_TO_FBXMB70 
eFBX_TO_FBX 
eMAYA_TO_FBX 
eFBX_TO_MAYA 
eLW_TO_FBX 
eFBX_TO_LW 
eXSI_TO_FBX 
eFBX_TO_XSI 
eMAX_TO_FBX 
eFBX_TO_MAX 
eMB_TO_FBX 
eFBX_TO_MB 
eDAE_TO_FBX 
eFBX_TO_DAE 

Definition at line 264 of file kfbxrenamingstrategy.h.


Constructor & Destructor Documentation

KFbxSceneRenamer ( KFbxScene pScene ) [inline]

Constructor.

Parameters:
pScene A scene which contains objects to be renamed.

Definition at line 239 of file kfbxrenamingstrategy.h.

{mScene = pScene;};
virtual ~KFbxSceneRenamer ( ) [inline, virtual]

Destructor.

Definition at line 242 of file kfbxrenamingstrategy.h.

{};

Member Function Documentation

void RenameFor ( ERenamingMode  pMode )

Rename the objects of the scene according the specific mode.

Parameters:
pMode A mode describing from which format to which format.

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

KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer
KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer KFbxSceneRenamer