This reference page is linked to from the following overview
topics: RTTI
and GetInterface(), Parameter
Tags, Application
Data, Deformable
Objects, Mappable
Objects, Objects
Flowing through the Pipeline, Simple
Modifiers, Modifier
Compatible Types, Mapping
Coordinate Modifiers, Retrieving
the Material from a Node, Accessing
Material Properties, Tabbed
Dialogs, Running
Plug-ins, Generating
Class IDs, Class
Descriptors, Plug-in
Identification, Converting
Objects to Compatible Types, Indicating
Required Input Object Types, Ring
Array Creation Process.
Detailed Description
- See also:
- Dll
Functions and Class Descriptors, List of Class_IDs
- Description:
- This class represents the unique class ID for a 3ds Max
plug-in. A plug-ins Class_ID must be unique. A
program is provided with the SDK to generate these ClassIDs. It is
VERY important you use this program to create the ClassIDs for your
plug-ins. To generate a random Class_ID and optionally copy it to the
clipboard, run the gencid.exe program. A Class_ID consists of two unsigned
32-bit quantities. The constructor assigns a value to each of
these, for example Class_ID(0xCAD834E2, 0x27E47C5A).
All the methods of this class are implemented by the system.
#include <maxtypes.h>
List of all
members.
Constructor & Destructor Documentation
- Parameters:
- const Class_ID& cid
A reference to the Class ID to copy.
{ a = cid.a; b = cid.b; }
Class_ID |
( |
ulong |
aa, |
|
|
ulong |
bb |
|
) |
|
[inline] |
- Parameters:
- ulong aa
Assigned to the first 32-bit quantity.
ulong bb
Assigned to the second 32-bit quantity.
Member Function Documentation
ULONG PartA |
( |
|
) |
const [inline] |
ULONG PartB |
( |
|
) |
const [inline] |
void SetPartA |
( |
ulong |
aa |
) |
[inline] |
void SetPartB |
( |
ulong |
bb |
) |
[inline] |
int operator== |
( |
const Class_ID & |
cid |
) |
const [inline] |
{ return (a==cid.a&&b==cid.b); }
int operator!= |
( |
const Class_ID & |
cid |
) |
const [inline] |
{ return (a!=cid.a||b!=cid.b); }
{ a=cid.a; b = cid.b; return (*this); }
bool operator< |
( |
const Class_ID & |
rhs |
) |
const [inline] |
{
if ( a < rhs.a || ( a == rhs.a && b < rhs.b ) )
return true;
return false;
}
Class_ID Class_ID Class_ID Class_ID
Class_ID Class_ID Class_ID Class_ID Class_ID Class_ID
Class_ID Class_ID Class_ID Class_ID
Class_ID Class_ID Class_ID Class_ID Class_ID Class_ID