This reference page is linked to from the following overview topics: MotionBuilder 2013.
Objects Containing class.
This class is an interface to manipulate object's containing in the scene.
Definition at line 79 of file fbnamespace.h.
#include <fbnamespace.h>

Public Member Functions |
|
| FBNamespace (const char *pMultiLevelNamespace, HIObject pObject) | |
| Constructor. |
|
| FBNamespace (const char *pSingleLevelNamespace, FBNamespace *pParentNSObj) | |
| Constructor. |
|
| int | GetContentCount () const |
| Get the namespace content objects count (Not
Recursive). |
|
| FBComponent * | GetContent (int pIndex) const |
| Get the namespace content object count (Not
Recursive). |
|
| void | GetContentList (FBComponentList &pContentList, FBPlugModificationFlag pModificationFlags=kFBPlugAllContent, bool pRecursive=true, int pTypeInfo=FBPlug::TypeInfo, bool pExactTypeMatch=false) |
| Get List of the namespace content. |
|
Public Attributes |
|
| FBPropertyListNamespace | ChildrenNamespaces |
| List: Direct Children Namespace
Objects. |
|
| FBNamespace | ( | const char * | pMultiLevelNamespace, |
| HIObject | pObject | ||
| ) |
Constructor.
For Internal use only.
| pMultiLevelNamespace | FBNamespace name. This name will be used as namespace itself. it should follow such pattern "NS1[:NS2[:NS3]]]", where content inside [] is optional. |
| pObject | For internal use only. |
| FBNamespace | ( | const char * | pSingleLevelNamespace, |
| FBNamespace * | pParentNSObj | ||
| ) |
Constructor.
Create a new direct children namespace object
| pSingleLevelNamespace | FBNamespace name. This name will be used as namespace itself. this name string shouldn't contain namespace string separator ":". |
| pParentNSObj | the parent namespace object. if NULl means to create top level namespace. |
| int GetContentCount | ( | ) | const |
Get the namespace content objects count (Not Recursive).
return content objects count inside this namespace (not recursive)
| FBComponent* GetContent | ( | int | pIndex | ) | const |
Get the namespace content object count (Not Recursive).
| content | object index to query. return content object inside this namespace (not recursive) |
| void GetContentList | ( | FBComponentList & | pContentList, |
| FBPlugModificationFlag | pModificationFlags =
kFBPlugAllContent, |
||
| bool | pRecursive = true, |
||
| int | pTypeInfo = FBPlug::TypeInfo, |
||
| bool | pExactTypeMatch =
false |
||
| ) |
Get List of the namespace content.
| pContentList | the list of content to return. |
| pModificationFlags | bitwise combination of kFBConnectionSrcObjectModified, kFBConnectionDstObjectModified, kFBConnectionSrcPropertyModified, kFBConnectionDstPropertyModified flags. kFBAllContent means all the content. |
| pRecursive | True only work on the direct children level namespace, otherwise will work on the whole children namespace hierarchy recursively. |
| pTypeInfo | the typeInfo of the type of interested object, 0 for all the objects. |
| pExactTypeMatch | if True, the derived typeInfo won't be considered (For example, FBCamera won't be considered when passing FBModel::TypeInfo). |
List: Direct Children Namespace Objects.
Definition at line 121 of file fbnamespace.h.