Motion Blend class. More...
#include <pyfbsdk_generated.h>
Public Member Functions | |
FBMotionBlendEdit | AddEdit (str pName=nullptr, bool pSetAsCurrent=True) |
Add a new Edit in the Motion Blend. More... | |
FBMotionBlendEdit | GetCurrentEdit () |
Get the current Edit used in the Motion Blend. More... | |
FBMotionBlendEdit | GetEdit (int pIndex) |
Get the Edit associated to the input index. More... | |
int | GetEditCount () |
Get the number of Edits in the Motion Blend. More... | |
bool | GetForceTime () |
Get the "Force Time" state. More... | |
bool | GetSnapOnFrame () |
Get the "Snap On Frame" state. More... | |
bool | GetSyncTakeEditStartEnd () |
Get the "Sync Take/Edit Start & End" state. More... | |
bool | RemoveAllEdits () |
Remove all Edits from the Motion Blend. More... | |
bool | RemoveEdit (FBMotionBlendEdit pEdit) |
Remove an Edit from the Motion Blend. More... | |
bool | SetCurrentEdit (FBMotionBlendEdit pEdit) |
Set the current Edit to be used in the Motion Blend. More... | |
bool | SetForceTime (bool pForceTime) |
Set the "Force Time" state. More... | |
bool | SetSnapOnFrame (bool pSnap) |
Set the "Snap On Frame" state. More... | |
bool | SetSyncTakeEditStartEnd (bool pSync) |
Set the "Sync Take/Edit Start & End" state. More... | |
![]() | |
FBComponent () | |
Constructor. More... | |
str | ClassName () |
Get the class name. More... | |
DisableObjectFlags (FBObjectFlag pFlags) | |
Disable a specific Object Flags. More... | |
EnableObjectFlags (FBObjectFlag pFlags) | |
Enable a specific Object Flags. More... | |
bool | FBCreate () |
Open Reality Creation function. More... | |
FBDelete () | |
Open Reality deletion function. More... | |
FBDestroy () | |
Open Reality destruction function. More... | |
FBObjectFlag | GetObjectFlags () |
Get all Object Flags (concatenated). More... | |
bool | GetObjectStatus (FBObjectStatus pStatus) |
Check to see if an object status is enabled. More... | |
FBFileReference | GetOwnerFileReference (p0) |
Get the owner FileReference object. More... | |
HardSelect () | |
HardSelect. More... | |
bool | HasObjectFlags (FBObjectFlag pFlags) |
Check whether a specific object flag is enabled. More... | |
bool | Is (int pTypeId) |
Returns true if object is of type TypeId. More... | |
bool | ProcessNamespaceHierarchy (FBNamespaceAction pNamespaceAction, str pNamespaceName, str pReplaceTo=None, bool pAddRight=True) |
ProcessNamespaceHierarchy. More... | |
bool | ProcessObjectNamespace (FBNamespaceAction pNamespaceAction, str pNamespaceName, str pReplaceTo=None, bool pAddRight=True) |
ProcessObjectNamespace. More... | |
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... | |
FBProperty | PropertyCreate (str pName, FBType pType, str pDataType, bool pAnimatable, bool pIsUser=False, FBProperty pReferenceSource=None) |
Create user or dynamic property. More... | |
PropertyGetModifiedList (FBArrayTemplate< FB > pPropList, FBPlugModificationFlag pModificationFlags) | |
Get list of properties which have been modified since last loading. More... | |
PropertyRemove (FBProperty pProperty) | |
Remove a Property from the component's Property manager. More... | |
SetObjectFlags (FBObjectFlag pFlags) | |
SetObjectFlags. More... | |
SetObjectStatus (FBObjectStatus pStatus, bool pValue) | |
Enable/Disable a specific Object Status. More... | |
Additional Inherited Members | |
![]() | |
FBListComponent | Components |
List: List of components. More... | |
str | LongName |
Read Write Property: Name and namespace for object. More... | |
str | Name |
Read Write Property: Unique name of object. See sample: RemoveSuffixFromNameOfSceneElements.py. More... | |
FBListComponent | Parents |
List: Parents. More... | |
FBManager | PropertyList |
Read Only Property: Manages all of the properties for the component. More... | |
bool | Selected |
Read Write Property: Selected property. More... | |
int | TypeInfo |
Contains the Type information of the object. More... | |
![]() | |
str | ClassGroupName |
ClassGroupName of the object. More... | |
int | TypeInfo |
TypeInfo. More... | |
Motion Blend class.
This class allows interacting with the Edits and options of the Motion Blend window.
FBMotionBlendEdit AddEdit | ( | str | pName = nullptr , |
bool | pSetAsCurrent = True |
||
) |
Add a new Edit in the Motion Blend.
pName | The new Edit name. If unset, the name "Edit" will be set. |
pSetAsCurrent | True (default) to set the new Edit as the current Edit to be used in the Motion Blend. |
FBMotionBlendEdit GetCurrentEdit | ( | ) |
Get the current Edit used in the Motion Blend.
FBMotionBlendEdit GetEdit | ( | int | pIndex | ) |
Get the Edit associated to the input index.
pIndex | The index of the Edit to get. |
int GetEditCount | ( | ) |
Get the number of Edits in the Motion Blend.
bool GetForceTime | ( | ) |
Get the "Force Time" state.
bool GetSnapOnFrame | ( | ) |
Get the "Snap On Frame" state.
bool GetSyncTakeEditStartEnd | ( | ) |
Get the "Sync Take/Edit Start & End" state.
bool RemoveAllEdits | ( | ) |
Remove all Edits from the Motion Blend.
A default empty Edit is then created.
bool RemoveEdit | ( | FBMotionBlendEdit | pEdit | ) |
Remove an Edit from the Motion Blend.
pEdit | The FBMotionBlendEdit object to remove. |
bool SetCurrentEdit | ( | FBMotionBlendEdit | pEdit | ) |
Set the current Edit to be used in the Motion Blend.
pEdit | The FBMotionBlendEdit object to set as the current Edit. |
Set the "Force Time" state.
pForceTime | True to snap the Timeline indicator in place so that it cannot be moved by dragging, false otherwise. |
Set the "Snap On Frame" state.
pSnap | True to force the start and end times of all cuts and poses to snap to the nearest frame, false otherwise. |