|
| MAXON_REGISTRY (CustomDataTagClass, CustomDataTagClasses, "net.maxon.mesh_misc.registry.customdatatagclasses") |
|
| MAXON_REGISTRY (Class< CustomDataTagDisplayRef >, CustomDataTagDisplayClasses, "net.maxon.mesh_misc.registry.customdatatagdisplayclasses") |
|
| MAXON_DATATYPE (MeshAttribute, "net.maxon.mesh_misc.datatype.meshattribute") |
|
◆ MAXON_MESHATTRIBUTE
#define MAXON_MESHATTRIBUTE |
( |
|
T, |
|
|
|
Name |
|
) |
| |
A compatible datatype must be defined for each MeshAttributeClassInterface. This macro automatically generates a compatible data type out of the passed T. After this macro call, it is also necessary to declare and register the resulting DataType using MAXON_DATATYPE and MAXON_DATATYPE_REGISTER. MAXON_DATATYPE must be invoked by using as a name the passed name followed by _MESHATTRIBUTE.
- Parameters
-
[in] | T | The type to register. |
[in] | Name | The name to be used for the registration. |
In the header file:
{
MAXON_DATATYPE(VERTEXCOLOR_MESHATTRIBUTE,
"net.maxon.meshattribute.vertexcolor");
}
in the source file:
◆ MAXON_CUSTOMDATATAG
#define MAXON_CUSTOMDATATAG |
( |
|
pluginID, |
|
|
|
name, |
|
|
|
resurceID, |
|
|
|
displayID, |
|
|
|
level, |
|
|
|
floatValueCount, |
|
|
|
flags |
|
) |
| |
This macro simplifies the process of describing the CustomDataTag information used for registration. This macro implements many of the CustomDataTagClassInterface methods automatically.
- Parameters
-
[in] | pluginID | An unique plugin id used to register the CustomDataTag. |
[in] | name | The CustomDataTag name. |
[in] | resurceID | The resource id string. |
[in] | displayID | The display implementation id. See CustomDataTagDisplay. |
[in] | level | The disk level for the CustomDataTag. |
[in] | floatValueCount | The count of values used for each entry; e.g. a vector will have a floatSize = 3, this is needed to define if the tag is compatible with sds. If it is not compatible (no float based data type) pass NOTOK. |
[in] | flags | Tag registration flags. |
MAXON_DATATYPE(BitSet, "net.maxon.datatype.bitset")
The maxon namespace contains all declarations of the MAXON API.
Definition: c4d_basedocument.h:15
#define MAXON_MESHATTRIBUTE(T, Name)
Definition: mesh_attribute_base.h:56
Col4< Float32, 1 > ColorA32
Definition: vector4d.h:52
#define MAXON_DATATYPE_REGISTER(type)
Definition: datatype.h:344