#include <fbscene.h>
Access to the MotionBuilder scene.
In MotionBuilder, the scene is the environment where your models exist. The scene contains models which you can import, select, transform, copy, tweak, and animate.
The FBScene object is obtained from the scene attribute of FBSystem.
The FBScene class contains many attributes that you can use to access objects, e.g cameras, characters, lights, and takes, essentially everything you see in the Navigator in the UI. A project can only contain one scene, and if you try to create an instance of a scene you will get an error, so you must access the scene by getting a handle through FBSystem.
See also the C++ code sample in toolscene.
Public Member Functions | |
FBScene (HIObject pObject) | |
Constructor. More... | |
virtual void | FBDelete () |
Virtual FBDelete function. More... | |
void | Clear () |
Clears the elements part of the scene. More... | |
bool | Evaluate () |
Evaluate the scene. More... | |
bool | CandidateEvaluationAndResolve () |
Resolving the Candidate. More... | |
bool | EvaluateDeformations () |
Evaluate the deformations of the scene. More... | |
void | GetScriptsPaths (FBStringList &pPathList) |
Get paths of all the python scripts object in the scene. More... | |
Namespace Management. | |
int | NamespaceGetChildrenList (FBStringList &pNamespaceList, const char *pNamespace=((void *) 0), bool pRecursive=true) |
Get list of children namespaces in the given namespace. More... | |
FBFileReference * | NamespaceGetOwnerFileReference (const char *pNamespace) |
Get Owner FileReference object if the namespace is originated from File Reference. More... | |
FBNamespace * | NamespaceGet (const char *pNamespace) |
Get Namespace object. More... | |
bool | NamespaceExist (const char *pNamespace) |
Query if namespace exists. More... | |
bool | NamespaceEmpty (const char *pNamespace) |
Query if namespace is empty. More... | |
void | NamespaceGetContentList (FBComponentList &pContentList, const char *pNamespace, FBPlugModificationFlag pModificationFlags=kFBPlugAllContent, bool pRecursive=true, int pTypeInfo=FBPlug::TypeInfo, bool pExactTypeMatch=false) |
Get List of the namespace content. More... | |
void | NamespaceSelectContent (const char *pNamespace, bool pSelect, FBPlugModificationFlag pModificationFlags=kFBPlugAllContent, bool pRecursive=true, int pTypeInfo=FBPlug::TypeInfo, bool pExactTypeMatch=false) |
Select (or de-select) the namespace content. More... | |
bool | NamespaceRename (const char *pNameSpace, const char *pNewNamespace, bool pRecursive=true, int pTypeInfo=FBPlug::TypeInfo, bool pExactTypeMatch=false) |
Rename the namespace. More... | |
bool | NamespaceDelete (const char *pNamespace) |
Delete the namespace & all its content. More... | |
bool | NamespaceCleanup () |
Remove all empty namespaces. More... | |
bool | NamespaceDeleteContent (const char *pNamespace, FBPlugModificationFlag pModificationFlags=kFBPlugAllContent, bool pRecursive=true, int pTypeInfo=FBPlug::TypeInfo, bool pExactTypeMatch=false) |
Delete the namespace content. More... | |
bool | NamespaceImport (const char *pNamespace, const char *pFilePath, bool pAsFileReference=false) |
Import file into Namespace (or as file reference) More... | |
bool | NamespaceImportToMultiple (const FBStringList &pDstNamespaceList, const char *pFilePath, bool pAsFileReference=false) |
Import file into multiple Namespaces (or as file references) More... | |
bool | NamespaceExport (const char *pNamespace, const char *pFilePath, bool pASCIIFormat=false) |
Export scene content within namespace to file. More... | |
int | CleanEmptyGroups () |
Remove all empty groups present in the scene. More... | |
int | CleanEmptySets () |
Remove all empty sets present in the scene. More... | |
int | CleanUnusedMaterials () |
Remove all unused materials present in the scene. More... | |
int | CleanUnusedTextures () |
Remove all unused textures present in the scene. More... | |
int | CleanUnusedShaders () |
Remove all unused shaders present in the scene. More... | |
int | CleanUnusedVideoClips () |
Remove all unused video clips present in the scene. More... | |
int | CleanUnusedAudioClips () |
Remove all unused audio clips present in the scene. More... | |
int | CleanInactiveConstraints () |
Remove all inactive constraints present in the scene. More... | |
int | CleanRelationConstraintsUnusedBoxes () |
Remove all unused boxes in relations constraints present in the scene. More... | |
int | CleanEmptyRelationConstraints () |
Remove all empty relation constraints present in the scene. More... | |
![]() | |
FBComponent (HIObject pObject) | |
Constructor. More... | |
virtual | ~FBComponent () |
Destructor. More... | |
virtual bool | FBCreate () |
Open Reality Creation function. More... | |
virtual void | FBDestroy () |
Open Reality destruction function. More... | |
virtual bool | SetHIObject (HIObject pObject, bool pSDKComponent) override |
Assign component to an internal pointer. More... | |
virtual int | PropertyAdd (FBProperty *pProperty) |
Add a property to the component's property manager. More... | |
bool | PropertyAddReferenceProperty (FBProperty *pReferenceProperty) |
Add a reference property to the component's property manager. More... | |
void | PropertyRemove (FBProperty *pProperty) |
Remove a Property from the component's Property manager. More... | |
void | PropertyGetModifiedList (FBArrayTemplate< FBProperty * > &pPropList, FBPlugModificationFlag pModificationFlags) |
Get list of properties which have been modified since last loading. More... | |
FBProperty * | PropertyCreate (const char *pName, FBPropertyType pType, const char *pDataType, bool pAnimatable, bool pIsUser=false, FBProperty *pReferenceSource=((void *) 0)) |
Create user or dynamic property. More... | |
FBObjectFlag | GetObjectFlags () |
Get all Object Flags (concatenated). More... | |
void | SetObjectFlags (FBObjectFlag pFlags) |
SetObjectFlags. More... | |
bool | HasObjectFlags (FBObjectFlag pFlags) |
Check whether a specific object flag is enabled. More... | |
void | EnableObjectFlags (FBObjectFlag pFlags) |
Enable a specific Object Flags. More... | |
void | DisableObjectFlags (FBObjectFlag pFlags) |
Disable a specific Object Flags. More... | |
void | SetObjectStatus (FBObjectStatus pStatus, bool pValue) |
Enable/Disable a specific Object Status. More... | |
bool | GetObjectStatus (FBObjectStatus pStatus) |
Check to see if an object status is enabled. More... | |
bool | ProcessNamespaceHierarchy (FBNamespaceAction pNamespaceAction, const char *pNamespaceName, const char *pReplaceTo=((void *) 0), bool pAddRight=true) |
ProcessNamespaceHierarchy. More... | |
bool | ProcessObjectNamespace (FBNamespaceAction pNamespaceAction, const char *pNamespaceName, const char *pReplaceTo=((void *) 0), bool pAddRight=true) |
ProcessObjectNamespace. More... | |
virtual const char * | ClassName () override |
Get the class name. More... | |
virtual bool | UseCustomPropertyViewSet () const |
Use the custom property viewSet or not. More... | |
const char * | GetFullName (void) |
Get the full name. More... | |
void | SetOwnerNamespace (FBNamespace *pOwnerNSObj) |
Set the owner Namespace object. More... | |
FBNamespace * | GetOwnerNamespace (void) |
Get the owner Namespace object. More... | |
FBFileReference * | GetOwnerFileReference (void) |
Get the owner FileReference object. More... | |
void | HardSelect () |
HardSelect. More... | |
virtual bool | Is (int pTypeId) |
Returns true if object is of type TypeId. More... | |
virtual int | GetTypeId () |
GetTypeId( int pTypeId ) More... | |
![]() | |
virtual HIObject | IQuery (kInterfaceID pInterfaceID, int IsLocal=0)=0 |
virtual void | Destroy (int IsLocal=0)=0 |
![]() | |
FBWrapperHolder () | |
virtual | ~FBWrapperHolder () |
FBScriptWrapper * | GetWrapper () |
Return the wrapper interface of this FBObject. More... | |
void | AddWrapper (FBScriptWrapper *) |
void | RemoveWrapper (FBScriptWrapper *) |
Public Attributes | |
FBPropertyListTake | Takes |
List: Takes for scene. More... | |
FBPropertyModel | RootModel |
Read Only Property: Scene Root model for that scene More... | |
FBPropertyListCamera | Cameras |
List: Cameras in scene. More... | |
FBPropertyListMaterial | Materials |
List: Materials for scene. More... | |
FBPropertyListTexture | Textures |
List: Textures for scene. More... | |
FBPropertyListShader | Shaders |
List: Shaders for scene. More... | |
FBPropertyListDeformer | Deformers |
List: Deformers for scene. More... | |
FBPropertyListDevice | Devices |
List: Devices for scene. More... | |
FBPropertyListConstraint | Constraints |
List: Constraints in scene. More... | |
FBPropertyListLight | Lights |
List: Lights in scene. More... | |
FBPropertyListAudioClip | AudioClips |
List: Audio clips in scene. More... | |
FBPropertyListVideoClip | VideoClips |
List: Video clips in scene. More... | |
FBPropertyListMotionClip | MotionClips |
List: Motion clips in scene. More... | |
FBPropertyListFolder | Folders |
List: Folders in scene. More... | |
FBPropertyListNote | Notes |
List: Notes in scene. More... | |
FBPropertyListPose | Poses |
List: Poses in scene. More... | |
FBPropertyListObjectPose | ObjectPoses |
List: ObjectPoses in scene. More... | |
FBPropertyListActor | Actors |
List: Actors in scene. More... | |
FBPropertyListActorFace | ActorFaces |
List: ActorFaces in scene. More... | |
FBPropertyListMarkerSet | MarkerSets |
List: Marker sets in scene. More... | |
FBPropertyListCharacterMarkerSet | CharacterMarkerSets |
List: Character marker sets in scene. More... | |
FBPropertyListControlSet | ControlSets |
List: Control set rigs in scene. More... | |
FBPropertyListCharacter | Characters |
List: Characters in scene. More... | |
FBPropertyListCharacterFace | CharacterFaces |
List: Character faces in scene. More... | |
FBPropertyListCharacterPose | CharacterPoses |
List: Character poses in scene. More... | |
FBPropertyListCharacterExtension | CharacterExtensions |
List: Character extensions available in the scene. More... | |
FBPropertyListUserObject | UserObjects |
List: User objects More... | |
FBPropertyRenderer | Renderer |
Read Only Property: Local renderer. More... | |
FBPropertyListComponent | Components |
List: Generic List of components. More... | |
FBPropertyListGroup | Groups |
List: Groups available in the scene. More... | |
FBPropertyListSet | Sets |
List: Sets available in the scene. More... | |
FBPropertyListNamespace | Namespaces |
List: Namespace (include FileReference) available in the scene More... | |
FBPropertyListFileReference | FileReferences |
List: FileReference available in the scene. More... | |
FBPropertyListHandle | Handles |
List: Handles present in the scene. More... | |
FBPropertyListHUD | HUDs |
Read Only Property: Heads Up Displays in the scene. More... | |
FBPropertyListConstraintSolver | ConstraintSolvers |
List: Constraint Solvers present in the scene. More... | |
FBPropertyListPhysicalProperties | PhysicalProperties |
List: PhysicalProperties present in the scene. More... | |
FBPropertyString | FilePath |
Read Write Property: File path of the scene. More... | |
FBPropertyListKeyingGroup | KeyingGroups |
Read Write Property: Keying Groups in the scene. More... | |
FBPropertyListModelSkeleton | ModelSkeletons |
Read Write Property: Bones (Skeletons) in the scene. More... | |
FBPropertyListModelOptical | ModelOpticals |
Read Write Property: Optical Data in the scene. More... | |
FBPropertyEvent | OnChange |
Event: Something in the scene has happened. More... | |
FBPropertyEvent | OnTakeChange |
Event: Something related to a take has happened. More... | |
![]() | |
FBPropertyManager | PropertyList |
Read Only Property: Manages all of the properties for the component. More... | |
FBPropertyListComponent | Components |
List: List of components. More... | |
FBPropertyListComponent | Parents |
List: Parents. More... | |
FBPropertyBool | Selected |
Read Write Property: Selected property. More... | |
FBPropertyString | Name |
Read Write Property: Unique name of object. More... | |
FBPropertyString | LongName |
Read Write Property: Name and namespace for object. More... | |
FBPropertyFolder | Folder |
Read Write Property: The folder that contain this component. More... | |
Additional Inherited Members | |
![]() | |
static int | GetInternalClassId () |
static void | FBComponentSetName (FBComponent *pObject, const char *pName) |
static const char * | FBComponentGetName (FBComponent *pObject) |
static void | FBComponentSetLongName (FBComponent *pObject, const char *pName) |
static const char * | FBComponentGetLongName (FBComponent *pObject) |
![]() | |
static int | TypeInfo |
Contains the Type information of the object. More... | |
![]() | |
bool | IsSDKComponent () |
Return whether or not item is an SDK component. More... | |
bool | ConnectSrc (FBPlug *pSrc, FBConnectionType pConnectionType=kFBConnectionTypeNone) |
Add a source connection. More... | |
bool | ConnectDst (FBPlug *pDst, FBConnectionType pConnectionType=kFBConnectionTypeNone) |
Add a destination connection. More... | |
bool | ConnectSrcAt (int pDst_SrcIndex, FBPlug *pSrc, FBConnectionType pConnectionType=kFBConnectionTypeNone) |
Add a source connection. More... | |
bool | ConnectDstAt (int pSrc_DstIndex, FBPlug *pDst, FBConnectionType pConnectionType=kFBConnectionTypeNone) |
Add a destination connection. More... | |
bool | DisconnectDst (FBPlug *pDst) |
Remove a destination connection. More... | |
bool | DisconnectSrc (FBPlug *pSrc) |
Remove a source connection. More... | |
void | DisconnectAllSrc () |
Remove all source connections. More... | |
void | DisconnectAllDst () |
Remove all destination connections. More... | |
bool | DisconnectDstAt (int pIndex) |
Remove a destination connection at a specified index. More... | |
bool | DisconnectSrcAt (int pIndex) |
Remove a source connection at a specified index. More... | |
bool | ReplaceDstAt (int pIndex, FBPlug *pDst) |
Replace a destination connection at a specified index. More... | |
bool | ReplaceSrcAt (int pIndex, FBPlug *pSrc) |
Replace a source connection at a specified index. More... | |
bool | SwapSrc (int pIndexA, int pIndexB) |
Swap source connection at index A with source connection at index B. More... | |
bool | MoveSrcAt (int pIndex, int pAtIndex) |
Move source connection at pIndex to pAtIndex. More... | |
bool | MoveSrcAt (FBPlug *pSrc, FBPlug *pAtSrc) |
Move source connection pSrc to the position of pAtSrc. More... | |
int | GetSrcCount () |
Get source connection count. More... | |
FBPlug * | GetSrc (int pIndex) |
Get a source connection's plug at specified index. More... | |
FBConnectionType | GetSrcType (int pIndex) |
Get a source connection's type at specified index. More... | |
int | GetDstCount () |
Get destination connection count. More... | |
FBPlug * | GetDst (int pIndex) |
Get a destination connection's plug at specified index. More... | |
FBConnectionType | GetDstType (int pIndex) |
Get a destination connection's type at specified index. More... | |
bool | BeginChange () |
Begins a change on multiple plugs. More... | |
void | EndChange () |
Ends a change on multiple plugs. More... | |
void | SetSelfModified (FBPlugModificationFlag pFlag, bool pBool) |
Set the plug's self modification flag. More... | |
bool | GetSelfModified (FBPlugModificationFlag pFlag) |
Tell if the plug's self has changed. More... | |
void | SetContentModified (FBPlugModificationFlag pFlag, bool pBool) |
Set the plug's owned property/object's modification flag. More... | |
bool | GetContentModified (FBPlugModificationFlag pFlag) |
Tell if the plug's content has changed. More... | |
int | GetPlugConnectionModifiedList (FBPlugList &pPlugList, FBPlugModificationFlag pConnectionModificatonFlag, bool pAddRemove) |
Get plug's modified src/dst property/object connection added/removed List. More... | |
bool | RevertModification (FBPlugModificationFlag pFlag=kFBAllModifiedMask) |
Revert the plug's modification to original status. More... | |
void | SetStatusFlag (FBPlugStatusFlag pStatus, bool pValue) |
Set the plug's status flag. More... | |
bool | GetStatusFlag (FBPlugStatusFlag pStatus) const |
Tell if the plug's status has changed. More... | |
FBPlug * | GetOwner () |
Get the owner of this plug. More... | |
FBPlug * | GetOwned (int pIndex) |
Get the owned plug at specified index. More... | |
int | GetOwnedCount () |
Get the owned plug count. More... | |
virtual bool | PlugDataNotify (FBConnectionAction pAction, FBPlug *pThis, void *pData=((void *) 0), void *pDataOld=((void *) 0), int pDataSize=0) |
PlugDataNotify when overloaded is equivalent of FBSystem.OnConnectionDataNotify but in the context of the derived object only. More... | |
virtual bool | PlugStateNotify (FBConnectionAction pAction, FBPlug *pThis, void *pData=((void *) 0), void *pDataOld=((void *) 0), int pDataSize=0) |
PlugStateNotify when overloaded is equivalent of FBSystem.OnConnectionStateNotify but in the context of the derived object only. More... | |
virtual bool | PlugNotify (FBConnectionAction pAction, FBPlug *pThis, int pIndex, FBPlug *pPlug=((void *) 0), FBConnectionType pConnectionType=kFBConnectionTypeNone, FBPlug *pNewPlug=((void *) 0)) |
PlugNotify when overloaded is equivalent of FBSystem.OnConnectionNotify but in the context of the derived object only. More... | |
![]() | |
static int | GetInternalClassId () |
Internal class Id. More... | |
![]() | |
bool | mAllocated |
Contain the Allocation State of the Component. More... | |
HIObject | mObject |
Handle on the Plug. More... | |
bool | mSDKComponent |
bool Plug is an SDK component. More... | |
![]() | |
static const char * | ClassGroupName |
ClassGroupName of the object. More... | |
static int | TypeInfo |
TypeInfo. More... | |
static int | mGlobalTypeInfo |
Represente the Type Index. More... | |
Constructor.
Client code cannot instantiate objects of this class. The FBSystem class provides access to the current scene object.
pObject | Internal parent object. |
bool CandidateEvaluationAndResolve | ( | ) |
Resolving the Candidate.
int CleanEmptyGroups | ( | ) |
Remove all empty groups present in the scene.
int CleanEmptyRelationConstraints | ( | ) |
Remove all empty relation constraints present in the scene.
int CleanEmptySets | ( | ) |
Remove all empty sets present in the scene.
int CleanInactiveConstraints | ( | ) |
Remove all inactive constraints present in the scene.
int CleanRelationConstraintsUnusedBoxes | ( | ) |
Remove all unused boxes in relations constraints present in the scene.
int CleanUnusedAudioClips | ( | ) |
Remove all unused audio clips present in the scene.
int CleanUnusedMaterials | ( | ) |
Remove all unused materials present in the scene.
int CleanUnusedShaders | ( | ) |
Remove all unused shaders present in the scene.
int CleanUnusedTextures | ( | ) |
Remove all unused textures present in the scene.
int CleanUnusedVideoClips | ( | ) |
Remove all unused video clips present in the scene.
void Clear | ( | ) |
Clears the elements part of the scene.
Not those that belong to all the scenes.
bool Evaluate | ( | ) |
Evaluate the scene.
bool EvaluateDeformations | ( | ) |
Evaluate the deformations of the scene.
|
virtual |
Virtual FBDelete function.
Reimplemented from FBComponent.
void GetScriptsPaths | ( | FBStringList & | pPathList | ) |
Get paths of all the python scripts object in the scene.
pPathList | Out parameter, to collect the path of python scripts. |
bool NamespaceCleanup | ( | ) |
Remove all empty namespaces.
During some namespace operations, empty namespace may left over, while this is not harmful but could be annoying. Save the scene and load it back those empty namespaces will disappear. And this function also allow user to remove all empty namespaces from the scene easily via SDK.
bool NamespaceDelete | ( | const char * | pNamespace | ) |
Delete the namespace & all its content.
pNamespace | the namespace to work on |
bool NamespaceDeleteContent | ( | const char * | pNamespace, |
FBPlugModificationFlag | pModificationFlags = kFBPlugAllContent , |
||
bool | pRecursive = true , |
||
int | pTypeInfo = FBPlug::TypeInfo , |
||
bool | pExactTypeMatch = false |
||
) |
Delete the namespace content.
pNamespace | the namespace to work on |
pModificationFlags | bitwise combination of kFBConnectionSrcObjectModified, kFBConnectionDstObjectModified, kFBConnectionSrcPropertyModified, kFBConnectionDstPropertyModified flags. kFBPlugAllContent means all the content. Modification flags beside kFBPlugAllContent will only work on FileReference Namespace. |
pRecursive | True only work on the direct children level namespace, otherwise will work on the children namespace hierarchy recursively. |
pTypeInfo | the typeInfo of the type of interested object, default 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). |
bool NamespaceEmpty | ( | const char * | pNamespace | ) |
Query if namespace is empty.
pNamespace | the namespace to query, NULL for whole scene. |
bool NamespaceExist | ( | const char * | pNamespace | ) |
Query if namespace exists.
pNamespace | the namespace to query |
Export scene content within namespace to file.
pNamespace | the namespace to use, must exist |
pFilePath | the referenced file path to export. |
pASCIIFormat | save the file in ASCII format. |
FBNamespace* NamespaceGet | ( | const char * | pNamespace | ) |
Get Namespace object.
pNamespace | the namespace to query |
int NamespaceGetChildrenList | ( | FBStringList & | pNamespaceList, |
const char * | pNamespace = ((void *) 0) , |
||
bool | pRecursive = true |
||
) |
Get list of children namespaces in the given namespace.
pNamespaceList | the list of namespace to return. |
pNamespace | specify the parent namespace, NULL for the whole scene. |
pRecursive | True only work on the direct children level namespace, otherwise will work on the whole children namespace hierarchy recursively. |
void NamespaceGetContentList | ( | FBComponentList & | pContentList, |
const char * | pNamespace, | ||
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. |
pNamespace | the namespace to work on, NULL for whole scene. |
pModificationFlags | bitwise combination of kFBConnectionSrcObjectModified, kFBConnectionDstObjectModified, kFBConnectionSrcPropertyModified, kFBConnectionDstPropertyModified flags. kFBPlugAllContent means all the content. Modification flags beside kFBPlugAllContent will only work on FileReference Namespace. |
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). |
FBFileReference* NamespaceGetOwnerFileReference | ( | const char * | pNamespace | ) |
Get Owner FileReference object if the namespace is originated from File Reference.
pNamespace | the namespace to work on, could be nested namespace inside the FileReference's namespace. |
bool NamespaceImport | ( | const char * | pNamespace, |
const char * | pFilePath, | ||
bool | pAsFileReference = false |
||
) |
Import file into Namespace (or as file reference)
pNamespace | the namespace to import to, must be in editable scope. |
pFilePath | the referenced file path to import. |
pAsFileReference | import the file as file reference. The default value is false. |
bool NamespaceImportToMultiple | ( | const FBStringList & | pDstNamespaceList, |
const char * | pFilePath, | ||
bool | pAsFileReference = false |
||
) |
Import file into multiple Namespaces (or as file references)
pDstNamespaceList | the Dst namespaces list to import, must not exist or be self contained. |
pFilePath | the referenced file path to import. |
pAsFileReference | import the file as file reference. The default value is false. |
bool NamespaceRename | ( | const char * | pNameSpace, |
const char * | pNewNamespace, | ||
bool | pRecursive = true , |
||
int | pTypeInfo = FBPlug::TypeInfo , |
||
bool | pExactTypeMatch = false |
||
) |
Rename the namespace.
pNameSpace | the namespace to work on, NULL for whole scene. |
pNewNamespace | the new namespace |
pRecursive | True only work on the direct children level namespace, otherwise will work on the children namespace hierarchy recursively. |
pTypeInfo | the typeInfo of the type of interested object, default 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). |
void NamespaceSelectContent | ( | const char * | pNamespace, |
bool | pSelect, | ||
FBPlugModificationFlag | pModificationFlags = kFBPlugAllContent , |
||
bool | pRecursive = true , |
||
int | pTypeInfo = FBPlug::TypeInfo , |
||
bool | pExactTypeMatch = false |
||
) |
Select (or de-select) the namespace content.
pNamespace | the namespace to work on, NULL for whole scene. |
pSelect | True (or False) indicate to select (or de-select) |
pModificationFlags | bitwise combination of kFBConnectionSrcObjectModified, kFBConnectionDstObjectModified, kFBConnectionSrcPropertyModified, kFBConnectionDstPropertyModified flags. kFBPlugAllContent means all the content. Modification flags beside kFBPlugAllContent will only work on FileReference Namespace. |
pRecursive | True only work on the direct children level namespace, otherwise will work on the children namespace hierarchy recursively. |
pTypeInfo | the typeInfo of the type of interested object, default 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). |
FBPropertyListActorFace ActorFaces |
FBPropertyListActor Actors |
FBPropertyListAudioClip AudioClips |
FBPropertyListCamera Cameras |
FBPropertyListCharacterExtension CharacterExtensions |
FBPropertyListCharacterFace CharacterFaces |
FBPropertyListCharacterMarkerSet CharacterMarkerSets |
FBPropertyListCharacterPose CharacterPoses |
FBPropertyListCharacter Characters |
FBPropertyListComponent Components |
FBPropertyListConstraint Constraints |
FBPropertyListConstraintSolver ConstraintSolvers |
FBPropertyListControlSet ControlSets |
FBPropertyListDeformer Deformers |
FBPropertyListDevice Devices |
FBPropertyString FilePath |
FBPropertyListFileReference FileReferences |
FBPropertyListFolder Folders |
FBPropertyListGroup Groups |
FBPropertyListHandle Handles |
FBPropertyListHUD HUDs |
FBPropertyListKeyingGroup KeyingGroups |
FBPropertyListLight Lights |
FBPropertyListMarkerSet MarkerSets |
FBPropertyListMaterial Materials |
FBPropertyListModelOptical ModelOpticals |
FBPropertyListModelSkeleton ModelSkeletons |
FBPropertyListMotionClip MotionClips |
FBPropertyListNamespace Namespaces |
FBPropertyListNote Notes |
FBPropertyListObjectPose ObjectPoses |
FBPropertyEvent OnChange |
Event: Something in the scene has happened.
FBPropertyEvent OnTakeChange |
Event: Something related to a take has happened.
FBPropertyListPhysicalProperties PhysicalProperties |
FBPropertyListPose Poses |
FBPropertyRenderer Renderer |
FBPropertyModel RootModel |
FBPropertyListSet Sets |
FBPropertyListShader Shaders |
FBPropertyListTake Takes |
FBPropertyListTexture Textures |
FBPropertyListUserObject UserObjects |
FBPropertyListVideoClip VideoClips |