3ds Max C++ API Reference
Animatable.h File Reference
#include "CoreExport.h"
#include "Noncopyable.h"
#include "baseinterface.h"
#include "autoptr.h"
#include "strclass.h"
#include "AnimPropertyList.h"
#include "interval.h"
#include "TrackHitRecord.h"
#include "geom/box2.h"
#include "svcore.h"
#include "FileEnumConstants.h"
#include "ParamDimension.h"
#include "TrackFlags.h"
#include "SysNodeContext.h"
#include "EditParamFlags.h"
#include "AnimatableFlags.h"
#include "AnimatableInterfaceIDs.h"

Classes

class  Animatable
 
class  Animatable::EnumAnimList
 A callback class for enumerating animatables. More...
 

Typedefs

typedef UINT_PTR AnimHandle
 
typedef void(* APPDATALOADPROC) (Animatable *anim, const Class_ID &cid, SClass_ID sid, ILoad *iload, Tab< DWORD > &subIDs)
 Signature of the AppDataLoadCallback callback function that can be registered via Animatable::RegisterAppDataLoadCallback. More...
 

Functions

__inline int GetClassName (HWND hWnd, LPMSTR lpClassName, int nMaxCount)
 

Typedef Documentation

◆ AnimHandle

typedef UINT_PTR AnimHandle

◆ APPDATALOADPROC

typedef void(* APPDATALOADPROC) (Animatable *anim, const Class_ID &cid, SClass_ID sid, ILoad *iload, Tab< DWORD > &subIDs)

Signature of the AppDataLoadCallback callback function that can be registered via Animatable::RegisterAppDataLoadCallback.

When an AppDataChunk with a specified SuperClassID and Class_ID is read from the scene file, the specified callback proc is called. This is to permit versioning of the AppDataChunk.
The values passed through the procs argument list are the Animatable holding the AppData, the Class_ID and SClass_ID of the owner of the AppDataChunk, the ILoad*, and a Tab containing the sub-chunk ids.

Function Documentation

◆ GetClassName()

__inline int GetClassName ( HWND  hWnd,
LPMSTR  lpClassName,
int  nMaxCount 
)
81 {
82  return GetClassNameW(
83  hWnd,
84  lpClassName,
85  nMaxCount
86  );
87 }