Open Reality Reference Guide
 
Loading...
Searching...
No Matches
fbmotionblend.h
Go to the documentation of this file.
1#ifndef __FBMOTIONBLEND_H__
2#define __FBMOTIONBLEND_H__
3// ===========================================================================
4// Copyright 2018 Autodesk, Inc. All rights reserved.
5//
6// Use of this software is subject to the terms of the Autodesk license
7// agreement provided at the time of installation or download, or which
8// otherwise accompanies this software in either electronic or hard copy form.
9// ===========================================================================
10
15#include <kaydaradef.h>
16#ifndef FBSDK_DLL
20#define FBSDK_DLL K_DLLIMPORT
21#endif
22
23#include <fbsdk/fbcomponent.h>
24
25#ifdef FBSDKUseNamespace
26namespace FBSDKNamespace {
27#endif
28
30// FBMotionBlend
34
49{
51
52public:
57
62
67 FBMotionBlendEdit* GetEdit( int pIndex );
68
73
79
85 FBMotionBlendEdit* AddEdit( const char* pName = nullptr, bool pSetAsCurrent = true );
86
92
97
102 bool SetSnapOnFrame( bool pSnap );
103
108
113 bool SetForceTime( bool pForceTime );
114
119
124 bool SetSyncTakeEditStartEnd( bool pSync );
125
130
131private:
136};
137
138#ifdef FBSDKUseNamespace
139}
140#endif
141#endif // __FBMOTIONBLEND_H__
MotionBuilder SDK base class.
Motion Blend Edit class.
Motion Blend class.
FBMotionBlendEdit * AddEdit(const char *pName=nullptr, bool pSetAsCurrent=true)
Add a new Edit in the Motion Blend.
FBMotionBlendEdit * GetEdit(int pIndex)
Get the Edit associated to the input index.
bool GetSnapOnFrame()
Get the "Snap On Frame" state.
FBMotionBlendEdit * GetCurrentEdit()
Get the current Edit used in the Motion Blend.
bool RemoveEdit(FBMotionBlendEdit *pEdit)
Remove an Edit from the Motion Blend.
bool SetForceTime(bool pForceTime)
Set the "Force Time" state.
bool SetCurrentEdit(FBMotionBlendEdit *pEdit)
Set the current Edit to be used in the Motion Blend.
bool SetSnapOnFrame(bool pSnap)
Set the "Snap On Frame" state.
int GetEditCount()
Get the number of Edits in the Motion Blend.
bool SetSyncTakeEditStartEnd(bool pSync)
Set the "Sync Take/Edit Start & End" state.
static FBMotionBlend & TheOne()
Get the global FBMotionBlend object.
bool GetForceTime()
Get the "Force Time" state.
bool GetSyncTakeEditStartEnd()
Get the "Sync Take/Edit Start & End" state.
bool RemoveAllEdits()
Remove all Edits from the Motion Blend.
Basic class definitions.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition fbtypes.h:68