3ds Max C++ API Reference
gport.h File Reference
#include "coreexp.h"
#include "maxheap.h"
#include <WTypes.h>
#include "maxtypes.h"
#include "color.h"
#include "box2.h"

Classes

class  GPort
 

Functions

CoreExport GPortGetGPort ()
 

Function Documentation

◆ GetGPort()

CoreExport GPort* GetGPort ( )
Remarks
There is only a single global instance of this class, and this method returns a pointer to it. A developer may use this pointer to call the methods of GPort.
Sample Code:
int animColSlot = GetGPort()->GetAnimPalSlot();