CUSTOMDATATYPE_INFO

Detailed Description

Macros

#define CUSTOMDATATYPE_INFO_HASSUBDESCRIPTION
 
#define CUSTOMDATATYPE_INFO_NEEDDATAFORSUBDESC
 
#define CUSTOMDATATYPE_INFO_TOGGLEDISPLAY
 
#define CUSTOMDATATYPE_INFO_DONTREGISTERGVTYPE
 
#define CUSTOMDATATYPE_INFO_SUBDESCRIPTIONDISABLEGUI
 
#define CUSTOMDATATYPE_INFO_UNDOSAMECUSTOMGUI
 
#define CUSTOMDATATYPE_INFO_HASSUBDESCRIPTION_NOANIM
 
#define CUSTOMDATATYPE_INFO_LOADSAVE
 
#define CUSTOMDATATYPE_INFO_NO_GUI_COPY
 

Macro Definition Documentation

◆ CUSTOMDATATYPE_INFO_HASSUBDESCRIPTION

#define CUSTOMDATATYPE_INFO_HASSUBDESCRIPTION

The data type has additional channels, added by CustomDataTypeClass::_GetDescription.

◆ CUSTOMDATATYPE_INFO_NEEDDATAFORSUBDESC

#define CUSTOMDATATYPE_INFO_NEEDDATAFORSUBDESC

Some data types have an 'easy to calculate' sub-description.
For instance a vector always has 3 components (X/Y/Z), similar to matrices, colors etc.
On the other side there are datatypes like Gradients that have a variable number of sub-description parameters (for every needle). These types need the actual data to compute their sub-descriptions.

◆ CUSTOMDATATYPE_INFO_TOGGLEDISPLAY

#define CUSTOMDATATYPE_INFO_TOGGLEDISPLAY

Show the display toggle.

◆ CUSTOMDATATYPE_INFO_DONTREGISTERGVTYPE

#define CUSTOMDATATYPE_INFO_DONTREGISTERGVTYPE

Do not register a Graph View type.

◆ CUSTOMDATATYPE_INFO_SUBDESCRIPTIONDISABLEGUI

#define CUSTOMDATATYPE_INFO_SUBDESCRIPTIONDISABLEGUI

Hide GUI when showing sub-description.

◆ CUSTOMDATATYPE_INFO_UNDOSAMECUSTOMGUI

#define CUSTOMDATATYPE_INFO_UNDOSAMECUSTOMGUI

If set, the Attribute Manager tracks every undo of this element.
If it is not set and the user makes several subsequent (not interrupted by anything else) changes, they will all be restored by a single undo.
Float fields are such an example (of the flag not being set); if the up/down spinner is pressed 100 times just a single undo will be created.
Gradients, however, have the bit set, so that they generate undo for every change (e.g. needles).

◆ CUSTOMDATATYPE_INFO_HASSUBDESCRIPTION_NOANIM

#define CUSTOMDATATYPE_INFO_HASSUBDESCRIPTION_NOANIM

Same as CUSTOMDATATYPE_INFO_HASSUBDESCRIPTION but with no animation.

◆ CUSTOMDATATYPE_INFO_LOADSAVE

#define CUSTOMDATATYPE_INFO_LOADSAVE

The custom data type can be loaded/saved from the Attribute Manager.

◆ CUSTOMDATATYPE_INFO_NO_GUI_COPY

#define CUSTOMDATATYPE_INFO_NO_GUI_COPY

@markPrivate