43 #include <kaydaradef.h> 48 #define FBSDK_DLL K_DLLIMPORT 55 #include <fbsdk/fbcamera.h> 57 #ifndef FBXSDK_NAMESPACE 58 #define FBXSDK_NAMESPACE fbxsdk 61 namespace FBXSDK_NAMESPACE {
65 #ifdef FBSDKUseNamespace 103 kFBStoryTrackBodyPartNone = 0,
105 kFBStoryTrackBodyPartHead = 1 << 0,
107 kFBStoryTrackBodyPartLeftShoulder = 1 << 1,
108 kFBStoryTrackBodyPartLeftHand = 1 << 2,
109 kFBStoryTrackBodyPartLeftArm = 1 << 3 | kFBStoryTrackBodyPartLeftShoulder | kFBStoryTrackBodyPartLeftHand,
110 kFBStoryTrackBodyPartRightShoulder = 1 << 4,
111 kFBStoryTrackBodyPartRightHand = 1 << 5,
112 kFBStoryTrackBodyPartRightArm = 1 << 6 | kFBStoryTrackBodyPartRightShoulder | kFBStoryTrackBodyPartRightHand,
114 kFBStoryTrackBodyPartLeftFoot = 1 << 7,
115 kFBStoryTrackBodyPartLeftLeg = 1 << 8 | kFBStoryTrackBodyPartLeftFoot,
116 kFBStoryTrackBodyPartRightFoot = 1 << 9,
117 kFBStoryTrackBodyPartRightLeg = 1 << 10| kFBStoryTrackBodyPartRightFoot,
119 kFBStoryTrackBodyPartProps = 1 << 11,
120 kFBStoryTrackBodyPartExtensions = 1 << 12,
122 kFBStoryTrackBodyPartSpine = 1 << 13,
124 kFBStoryTrackBodyPartUpperBody = kFBStoryTrackBodyPartHead | kFBStoryTrackBodyPartSpine |
125 kFBStoryTrackBodyPartLeftArm | kFBStoryTrackBodyPartLeftShoulder | kFBStoryTrackBodyPartLeftHand |
126 kFBStoryTrackBodyPartRightArm | kFBStoryTrackBodyPartRightShoulder | kFBStoryTrackBodyPartRightHand,
128 kFBStoryTrackBodyPartLowerBody = kFBStoryTrackBodyPartLeftLeg | kFBStoryTrackBodyPartLeftFoot | kFBStoryTrackBodyPartRightLeg | kFBStoryTrackBodyPartRightFoot,
130 kFBStoryTrackBodyPartAll = kFBStoryTrackBodyPartUpperBody | kFBStoryTrackBodyPartLowerBody,
286 FBPropertyStoryClipChangeType
Type;
311 virtual void RemoveAt(
int pIndex);
322 virtual int GetCount();
324 #ifndef DOXYGEN_SHOULD_SKIP_THIS 353 virtual void RemoveAt(
int pIndex);
364 virtual int GetCount();
365 #ifndef DOXYGEN_SHOULD_SKIP_THIS 394 virtual void RemoveAt(
int pIndex);
405 virtual int GetCount();
406 #ifndef DOXYGEN_SHOULD_SKIP_THIS 433 virtual void RemoveAt(
int pIndex);
444 virtual int GetCount();
445 #ifndef DOXYGEN_SHOULD_SKIP_THIS 472 virtual void RemoveAt(
int pIndex);
483 virtual int GetCount();
484 #ifndef DOXYGEN_SHOULD_SKIP_THIS 498 virtual int Add(
FBModel* pItem);
504 virtual int Remove(
FBModel* pItem);
509 virtual void RemoveAt(
int pIndex);
515 virtual FBModel* operator[](
int pIndex);
520 virtual int GetCount();
521 #ifndef DOXYGEN_SHOULD_SKIP_THIS 556 int CleanEmptyTracksAndFolders();
586 virtual void FBDelete();
591 void Load(
bool pLoad);
616 void ExpandSelectedClips(
bool pPreserveOverlap);
623 void ConvertClipsToReadOnly(
bool pSelected,
char* pFilePath);
629 void ExpandSelectedClipsGroup(
bool pPreserveOverlap);
664 virtual void FBDelete();
669 void ChangeDetailsBegin();
674 void ChangeDetailsEnd();
715 void Load(
bool pLoad);
759 void FBStoryTrackInitProperties();
810 virtual void FBDelete();
865 bool ExportToFile(
FBString pOutputFile);
879 bool SetReadOnly(
bool pMakeClipReadOnly,
FBString pOutputFile =
FBString());
912 bool DestinationSetObject(
const char* pSrcName,
FBComponent* pObject );
935 void SetTime(
FBTime *pSourceIn = NULL,
FBTime *pSourceOut = NULL,
FBTime *pDestinationIn = NULL,
FBTime *pDestinationOut = NULL,
bool pUseAlternateSrcInProp =
false );
941 bool CanAssignSourcesToDestinations();
962 bool SetAssignSourcesToDestinationsInfo(
FBStringList& pEffectiveDstList );
967 FBXSDK_NAMESPACE::FbxScene* GetFbxScene();
972 bool UpdateFromCurrentTake();
1048 void FBStoryClipInitProperties();
1071 virtual void FBDelete();
1093 void Razor(
FBTime pTime);
1101 void FBStoryClipInitProperties();
1104 #ifdef FBSDKUseNamespace
class K_DLLIMPORT FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
FBPropertyString RecordClipPath
Read Write Property: Path for story recording. Can be relative or full path.
FBPropertyAnimatableDouble Weight
Read Write Property: Control the blend amount.
Uses the matching time type stored in the Application configuration file: [Story] > MatchWhen...
#define __FBClassDeclare(Name, Parent)
For internal use only.
FBPropertyStoryClipSolveMode SolvingMode
Read Write Property: Solve Modes for story character clips. See FBStoryClipSolveMode ...
Character animation track.
FBPropertyTimeSpan PostBlend
Read Write Property: Start/Stop time of the post-blend phase.
FBPropertyString RecordClipPath
Read Write Property: Path for story recording. Can be relative or full path.
FBPropertyBool GhostPivot
Read Write Property: Show ghost of match object
FBPropertyTimeSpan PreBlend
Read Write Property: Start/Stop time of the pre-blend phase.
FBPropertyBool StartStopLocked
Read Write Property: Clip's 'In/Out Locked' property value. True if the clip's In/Out properties (sta...
Show the ghost at start time of the clip.
FBPropertyBool ShowBackplate
Read Write Property: If true, the backplate will be shown.
FBStoryClipGhostTimeMode
Time mode to display ghost.
FBPropertyStoryClipChangeType Type
Read Only Property: Type of event.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
Rotates a selected clip's match object around the global Y axis.
FBPropertyBool Collapsed
Read Write Property: Toggle to collapse or expand the story folder.
Align selected clips to the end of the previous clip, while keeping the relative offset.
Template class to contain an array of items.
FBPropertyBool ShowFrontplate
Read Write Property: If true, the frontplate will be shown.
FBPropertyAnimationNode PostBlendData
Read Only Property: To get the animation of the Post blend curve
Show the ghost at current time of the clip.
FBStoryClipSolveMode
Solve Modes for story character clips.
List: Story Clip pivot models
Matches the selected clip and the previous clip at the middle of the blend.
FBPropertyBool ShowFrontplate
Read Write Property: Enable/Disable the shot frontplate.
FBStoryClipMatchingRotationType
Matching Rotation Types, when matching clips to each other.
FBPropertyBool TimeWarpReverse
Read Write Property: If true, reverse the Animation or Shot clip's TimeWarp FCurve.
FBPropertyStoryClipShowGhostMode ShowGhostClipMode
Read Write Property: Show the ghost depending on the time. See FBStoryClipShowGhostMode ...
FBPropertyBool Ghost
Read Write Property: Show ghosts
FBPropertyInt AudioOutIndex
Read Write Property: Audio Output's index to use.
Matches the start of the blend with the selected clip to the start of the next clip.
FBPropertyStoryTrackGhostShowMode GhostShowTrackMode
Read Write Property: Show the ghosts for all the clips or only the adjacent clips. See FBStoryTrackGhostShowMode
Align the clips contained in the group clip with the current time.
FBPropertyBool Loop
Read Write Property: If true, loop clip's animation
Matches the start of the selected clip to the start of the blend with the previous clip...
FBPropertyStoryTrackType Type
Read Only Property: Type of the track
FBPropertyTime GhostCustomTime
Read Write Property: Custom time to display ghost, only applicable if ShowGhostClipMode is kFBStoryCl...
FBVideo and derivative classes.
FBPropertyTime ShotActionStop
Read Write Property: If not in locked shot mode (time discontinuity enabled), this time can be differ...
FBPropertyBool GhostTravelling
Read Write Property: Show ghost of clip vector or traveling node
FBPropertyBool AcceptKey
Read Write Property: Allow track to accept keys
FBPropertyStoryFolder RootFolder
Read Only Property: Story's root folder
'Reversed, Going Faster' TimeWarp Interpolation
'Reversed, Slowing Down' TimeWarp Interpolation
A take is a container for animation in a scene.
FBPropertyStoryClipNodeFunction TravellingNodeFunction
Read Write Property: Travelling node function. If set, this property will overwrite the Track's Trave...
Show the ghost at stop time of the clip.
FBPropertyInt CharacterIndex
Read Write Property: Character's index to use.
FBPropertyBool ConnectedToTake
Read Write Property: When connected to current take, user can do updating from current take...
FBStoryTrackRefMode
References Modes for story animation tracks.
FBPropertyAudioClip AudioClip
Read Only Property: The audio clip used by this StoryClip.
The clip's match object is not translated to match another clip's animation.
Align selected clips to the beginning of the next clip.
FBPropertyBool Loaded
Read Write Property: If true, clip file is loaded into memory and can be evaluated (will affect track...
FBPropertyString Label
Read Write Property: Label to display for this story folder.
FBPropertyBool NoneBlockingPostprocess
Read Write Property: If true, record to disk will post process recorded data in low priority thread w...
List: Story track Details
FBPropertyTime Stop
Read Write Property: Stop time of the clip local to its track.
Contains definitions for devices, boxes and models.
FBPropertyDouble Scale
Read Write Property: Animation clip's scaling (some don't support this property)
FBPropertyVector3d Rotation
Read Write Property: Animation clip's rotation offset. Refer to class notes to learn more about how t...
FBStoryGroupClipAlignmentType
Alignment Types when aligning groups.
FBPropertyTime GhostManipulatorCustomTime
Read Write Property: Custom time to display ghost manipulator, only applicable if GhostManipulatorMod...
FBPropertyDouble FrameRate
Read Write Property: Frame rate value. Only effective when UseSystemFrameRate is false.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
FBPropertyBool LockedShot
Read Write Property: If true, shots will be locked (no time discontinuity).
Align selected clips to the beginning of the next clip, all clips will be align to the selected clip ...
Show the ghost for custom time frame.
'Normal' TimeWarp Interpolation
'Going Faster' TimeWarp Interpolation
FBPropertyDouble Speed
Read Write Property: Speed of the clip.
FBPropertyBool Mute
Read Write Property: If true, this story folder will be muted.
FBPropertyBool Mute
Read Write Property: If true, the Story mode will be globally disabled.
FBPropertyStoryFolder Parent
Read Only Property: Object pointing to the folder's parent.
FBStoryClipChangeType
Types of clip change events, matching KEventClip.eType Expose only kFBStoryClipMoveClip and kFBStoryC...
FBPropertyListPivot Pivots
List: Pivots models (Generally, only one model is necessary)
FBPropertyString ClipNameConvention
Read Write Property: Naming convention for each new recording clip that is created. Can use special tags: <Name> <StartTCValue> <StartFrameValue> <StartDate> <StartTime> <TakeName>
FBPropertyStoryTrackRefMode ReferenceMode
Read Write Property: Track composition mode, kFBStoryTrackOverride or kFBStoryTrackAdditive ...
FBPropertyBool Solo
Read Write Property: If true, this track will be the only one to play.
FBPropertyBool PassThrough
Read Write Property: Enable passthrough of animation if there is no clip on track animation is taken ...
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
FBPropertyVideo ShotFrontplate
Read Write Property: The frontplate used for that specific shot.
FBPropertyTime Start
Read Write Property: Start time of the clip.
FBPropertyVideo ShotBackplate
Read Write Property: The backplate used for that specific shot.
FBPropertyAnimationNode CustomTimeWarp
Read Only Property: Animation and Shot clip's custom TimeWarp FCurve.
Uses the matching translation type stored in the Application configuration file: [Story] > MatchTrans...
PropertyEvent: Base event class.
FBPropertyListObject TravellingNode
List: Travelling node(s). If set, this property will overwrite the Track's Travelling node(s)...
FBPropertyBool GhostTravelling
Read Write Property: Show ghost of clip vector or traveling node
FBPropertyBool OffsetEnable
Read Write Property: When enabled, allow clip to be offset
FBPropertyBool LockPitchToSpeed
Read Write Property: Time-stretching enabled or not.
Uses the matching translation type stored in the Application configuration file: [Story] > MatchRotat...
FBPropertyListStoryClip Clips
List: Clips contained in this track.
FBPropertyVector3d GhostManipulatorOffset
Read Write Property: Animation clip's ghost manipulator offset.
FBStoryClipNodeFunction
Node function.
FBPropertyBool SummaryClip
Read Write Property: If true, summary clips for story folders will be created to help manipulating fo...
FBPropertyTime ShotActionStart
Read Write Property: If not in locked shot mode (time discontinuity enabled), this time can be differ...
FBStoryTrackGhostShowMode
Ghost Show Modes for story animation tracks.
FBPropertyString Label
Read Write Property: Label to display for this story track.
Solve skeleton inverse kinematic animation.
Show the ghosts only for the previous clip, current clip, and next clip relative to current time...
FBPropertyTime MarkOut
Read Write Property: Stop time inside the clip.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyBool Solo
Read Write Property: If true, this story folder will be the only one to play.
Rotates a selected clip's match object to the same orientation as the previous clip's match object...
FBStoryClipShowGhostMode
Show Ghost Modes for story animation clips.
Translates a selected clip's match object along the global X and Z axes.
FBPropertyTime MarkIn
Read Write Property: Start time inside the clip.
FBPropertyCharacter Character
Read Write Property: Character to use.
'Slowing Down' TimeWarp Interpolation
FBPropertyListStoryDetails Details
List: All objects associated to this track for processing.
FBPropertyListObject DependentClips
Read Write Property: Clips that are included in the group clip.
Matches the start of the selected clip to the previous/next clip at the current time.
FBPropertyEvent OnChange
Event: Something in the clip has changed. (FBEventClip)
'Custom' TimeWarp Interpolation
class K_DLLIMPORT FBPropertyBase< FBTimeSpan, kFBPT_TimeSpan > FBPropertyTimeSpan
Property: FBTimeSpan
The clip's match object is not rotated to match another clip's animation.
Align the clips contained in the group clip to the beginning of the next clip, while keeping the rela...
FBStoryClipMatchingTimeType
Matching Time Types, when matching clips to each other.
FBPropertyString ClipAnimationPath
Read Write Property: Animation clip's file path
#define FBSDKNamespace
FBSDKNamespace define.
class K_DLLIMPORT FBPropertyBase< FBColor, kFBPT_ColorRGB > FBPropertyColor
FBPropertyColor type definition.
Show the ghost at custom time of the clip. See GhostManipulatorCustomTime property.
FBPropertyBool MirrorAnimation
Read Write Property: If true, clip animation will be mirrored
FBStoryClipTimeWarpInterpolatorType
Types of TimeWrap Interpolator for Story Clips.
Property class: const char * (String).
'Reversed, Smoothed Ends' TimeWarp Interpolation
FBPropertyString ClipVideoPath
Read Write Property: Video clip's file path
FBPropertyListStorySubTrack SubTracks
List: Only Character and Animation tracks can have sub-tracks.
Align all selected clips with the current time, while keeping the relative offset.
'Smoothed Ends' TimeWarp Interpolation
FBPropertyStoryFolder RootEditFolder
Read Only Property: Story's root edit folder
FBPropertyBool GhostModel
Read Write Property: Show ghost of models
FBStoryTrackBodyPart
Body Parts for story track character.
FBPropertyBool ShowEmbeddedTimecode
Read Write Property: Whether to show embedded timecode of the clip, if available. ...
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBPropertyListStoryTrack Tracks
List: Tracks of this folder.
FBPropertyStoryTrack ParentTrack
Read Only Property: Parent track, if the track is of Character or Animation type. ...
Matches the selected clip and the next clip at the middle of the blend.
Show the ghost only on time cursor.
FBPropertyBool ClipsTextsVisible
Read Write Property: If true, clips' texts are visible.
FBStoryClipCompMode
Compensation Modes for story character clips.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
FBPropertyTime Stop
Read Write Property: Stop time of the clip.
Align selected clips to the end of the previous clip, all clips will be align to the selected clip po...
class K_DLLIMPORT FBPropertyBaseAnimatable< double, kFBPT_double > FBPropertyAnimatableDouble
FBPropertyBaseAnimatableDouble type definition.
Solve skeleton animation.
FBPropertyBool Ghost
Read Write Property: Show ghosts
Align the clips contained in the group clip to the end of the previous clip, while keeping the relati...
Solve forward and inverse kinematic animation.
FBPropertyBool ShotStartStopLocked
Read Write Property: Shot clip's 'In/Out Locked' property value. True if the shot clip's In/Out prope...
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
FBPropertyStoryFolder ParentFolder
Read Only Property: Parent folder.
FBStoryClipAlignmentType
Alignment Types when aligning clips.
FBPropertyDouble ClipPitch
Read Write Property: The clip pitch value.
FBPropertyStoryClipMirrorPlane MirrorPlane
Read Write Property: Several mirror planes to mirror animation. See FBStoryClipMirrorPlane ...
FBPropertyBool UseSystemFrameRate
Read Write Property: Whether always use system frame rate.
Base class for constraints.
FBPropertyTime Start
Read Write Property: Start time of the clip local to its track.
FBPropertyVideo TrackVideo
Read Only Property: This FBVideo can be used as a texture.
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
FBStoryClipMirrorPlane
Several mirror planes to mirror animation.
FBStoryTrackType
Types for new story tracks.
FBPropertyBool TimeWarpEnabled
Read Write Property: Animation and Shot clip's TimeWarp activeness.
FBPropertyStoryClipGhostTimeMode GhostManipulatorMode
Read Write Property: Time mode to display ghost manipulator. See FBStoryClipGhostTimeMode.
FBPropertyBool GhostModel
Read Write Property: Show ghost of models
FBPropertyTime Offset
Read Write Property: First loop time offset.
FBPropertyCamera ShotCamera
Read Write Property: The camera used for that specific shot.
FBPropertyListStoryFolder Childs
List: Children folders of this folder.
FBPropertyVector3d LoopTranslation
Read Write Property: Animation clip's loop translation.
Align selected clips to the end of the previous clip.
FBPropertyColor Color
Read Write Property: Color of the clip.
FBStoryClipMatchingTranslationType
Matching Translation, Types when matching clips to each other.
'Reversed' TimeWarp Interpolation
Matches the end of the selected clip to the end of the blend with the previous clip.
MotionBuilder SDK base class.
FBPropertyBool RecordTrack
Read Write Property: Path for story recording. Can be relative or full path.
Translates a selected clip's match object to the same location as the previous clip's match object...
User defined compensation.
class K_DLLIMPORT FBPropertyBase< FBVector3d, kFBPT_Vector3D > FBPropertyVector3d
FBPropertyVector3d type definition.
FBPropertyBool RecordToDisk
Read Write Property: If true, record to story will record directly to disk.
FBPropertyString ClipAudioPath
Read Write Property: Audio clip's file path
FBPropertyBool ImageSequence
Read Write Property: Whether is a image sequence.
FBPropertyAnimationNode PreBlendData
Read Only Property: To get the animation of the Pre blend curve
FBPropertyBool Mute
Read Write Property: If true, this track wont' play.
Matches the end of the blend with the selected clip to the end of the previous clip.
FBPropertyBool StartStopLocked
Read Write Property: Clip's 'In/Out Locked' property value. True if the clip's In/Out properties (sta...
Align selected clips to the beginning of the next clip, while keeping the relative offset...
Show the ghosts for all the clips on the track.
FBPropertyBool AutoLoop
Read Write Property: If true, clip will automatically loop
FBPropertyVector3d Translation
Read Write Property: Animation clip's translation offset. Refer to class notes to learn more about ho...
FBPropertyBool ShowBackplate
Read Write Property: Enable/Disable the shot backplate.
FBPropertyStoryClipTimeWarpInterpolatorType TimeWarpInterpolatorType
Read Write Property: Animation and Shot clip's TimeWarp interpolation type. See FBStoryClipTimeWarpIn...
FBPropertyBool GhostPivot
Read Write Property: Show ghost of match object
Align all selected clips with the current time.
FBPropertyBool MaintainShotAndClipShotLengthsSynced
Read Write Property: When working in time discontinuity, if true, shots and their corresponding shot ...