Materials/AttachMatDlgUser.h File Reference

AttachMatDlgUser.h File Reference
#include "../MaxHeap.h"
#include "../CoreExport.h"
#include <windows.h>

Classes

class  AttachMatDlgUser
 

Macros

#define ATTACHMAT_IDTOMAT   0
 
#define ATTACHMAT_MATTOID   1
 
#define ATTACHMAT_NEITHER   2
 

Functions

CoreExport BOOL DoAttachMatOptionDialog (IObjParam *ip, AttachMatDlgUser *user)
 

Macro Definition Documentation

#define ATTACHMAT_IDTOMAT   0
#define ATTACHMAT_MATTOID   1
#define ATTACHMAT_NEITHER   2

Function Documentation

CoreExport BOOL DoAttachMatOptionDialog ( IObjParam ip,
AttachMatDlgUser user 
)
Remarks
This global function is available in release 3.0 and later only.

This displays the dialog that you currently get in Edit(able) mesh when you attach objects to each other. It gives options for how to deal with combining materials, and whether or not to condense materials which have excess material slots.
Parameters:
IObjParam *ip

The interface pointer.

AttachMatDlgUser *user

Points to the AttachMatDlgUser object.
Returns
TRUE if the user OKed the dialog; FALSE if the user Cancelled.