1#ifndef __FBKEYINGGROUP_H__
2#define __FBKEYINGGROUP_H__
43#include <kaydaradef.h>
48#define FBSDK_DLL K_DLLIMPORT
53#ifdef FBSDKUseNamespace
54namespace FBSDKNamespace {
249#ifdef FBSDKUseNamespace
MotionBuilder SDK base class.
bool IsObjectDependency(FBComponent *pObj)
IsObjectDependency determine if the pObj is a dependency.
bool IsObjectDependencySelected()
IsObjectDependencySelected.
int GetParentKeyingGroupCount()
GetParentKeyingGroupCount.
void SetEnabled(bool pEnable)
SetEnabled, makes the keying group available in keying group list of the key control UI.
static void DeselectAllAnimatableProperties()
FBDeselectAllAnimatableProperties, deselect all animatable properties in the scene.
void RemoveAllProperties()
IsObjectDependencySelected empty the property list.
void ClearAllItems()
ClearAllItems clear object dependency, properties and child keying group.
void RemoveAllSubKeyingGroup()
RemoveAllSubKeyingGroup empty the child keying group.
void AddProperty(FBProperty *pProp)
Add property to be keyed when current keying group is active.
virtual void FBDelete() override
Virtual FBDelete function.
int GetSubObjectCount()
GetSubObjectCount.
int FindPropertyIndex(FBProperty *pProp)
FindPropertyIndex.
FBKeyingGroup * GetParentKeyingGroup(int pIndex)
GetParentKeyingGroup.
FBProperty * GetCumulativeProperty(int pIndex, bool pStopAtVisible=false)
GetCumulativeProperty Same as GetSubKeyingGroup but recursive in child keying group.
void SetActive(bool pActive)
SetActive, activate the keying group, replacing the other keying group.
int GetPropertyCount()
GetPropertyCount.
void SetObjectType(FBComponent *pObject)
Set the object type filter for and object type keying group.
void RemoveProperty(FBProperty *pProp)
RemoveProperty from the keyinggroup list.
void SetActiveAppend(bool pActive)
SetActiveAppend, activate and append the keying group to the other keying groups.
FBProperty * GetProperty(int pIndex)
GetProperty from the keyinggroup list.
int GetSubKeyingGroupCount()
GetSubKeyingGroupCount.
void RemoveAllObjectDependency()
IsObjectDependencySelected empty the content list.
FBKeyingGroup(const char *pName, FBKeyingGroupType pType, HIObject pObject=NULL)
Constructor.
int GetCumulativePropertyCount(bool pStopAtVisible=false)
GetCumulativePropertyCount Same as GetSubKeyingGroupCount but recursive in child keying group.
void RemoveObjectDependency(FBComponent *pObj)
RemoveObjectDependency An object dependency is the content of a keying group and will activate keying...
FBComponent * GetSubObject(int pIndex)
GetSubObject.
FBKeyingGroup * GetSubKeyingGroup(int pIndex)
GetSubKeyingGroup.
void AddObjectDependency(FBComponent *pObj)
AddObjectDependency An object dependency is the content of a keying group and will activate keying gr...
Property: Base property class.
PropertyList: Concrete class for PropertyList of component
PropertyList: KeyingGroup.
FBKeyingGroup * operator[](int pIndex)
Get the KeyingGroup at pIndex.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBKeyingGroupType
Keying group types.
@ kFBKeyingGroupObjectType
All selected objects of the specified type in the keying group with the same properties as those defi...
@ kFBKeyingGroupGlobal
All selected objects with the same properties as those defined in the keying group will be keyed.
@ kFBKeyingGroupLocal
Only properties of objects specified in the keying group will be keyed.
#define FB_DEFINE_LIST(DllTag, Type)
Define a component list.
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.