3ds Max C++ API Reference
ILinkTMCtrl.h File Reference
#include "maxheap.h"
#include "control.h"
#include "AnimatableInterfaceIDs.h"

Classes

class  ILinkTMCtrl
 
class  ISubTargetCtrl
 ISubTargetCtrl gives access to sub-transform controller. More...
 

Macros

#define LINKTMCTRL_CLASSID   Class_ID(0x615b56e4, 0x5f0e6032)
 

Functions

ILinkTMCtrlGetLinkTMInterface (Control *c)
 
ISubTargetCtrlGetSubTargetInterface (Control *c)
 Returns the ISubTargetCtrl interface to a sub-transform controller. More...
 

Macro Definition Documentation

◆ LINKTMCTRL_CLASSID

#define LINKTMCTRL_CLASSID   Class_ID(0x615b56e4, 0x5f0e6032)

Function Documentation

◆ GetLinkTMInterface()

ILinkTMCtrl* GetLinkTMInterface ( Control c)
inline
66 { return c ? (ILinkTMCtrl*)c->GetInterface(I_LINKTMCTRL) : NULL; }
#define NULL
Definition: autoptr.h:18
CoreExport void * GetInterface(ULONG id)
Inherited from Animatable.
#define I_LINKTMCTRL
An Animatable supporting this interface is an Link Transform Control.
Definition: AnimatableInterfaceIDs.h:85

◆ GetSubTargetInterface()

ISubTargetCtrl* GetSubTargetInterface ( Control c)
inline

Returns the ISubTargetCtrl interface to a sub-transform controller.

Parameters
[in]cSub-transform controller to fetch the interface from
Returns
The ISubTargetCtrl interface. Returns NULL if either the control ptr is NULL, or it does not support the I_LINKTMCTRL2 interface.
74 { return c ? (ISubTargetCtrl*)c->GetInterface(I_SUBTARGETCTRL) : NULL; }
ISubTargetCtrl gives access to sub-transform controller.
Definition: ILinkTMCtrl.h:50
#define I_SUBTARGETCTRL
An Animatable supporting this interface is an Sub Target Control.
Definition: AnimatableInterfaceIDs.h:86