c4d_customguidata.h File Reference

Classes

struct   CustomProperty
class   CustomGuiData

Macros

#define  CUSTOMGUI_SUPPORT_LAYOUTSWITCH
#define  CUSTOMGUI_SUPPORT_LAYOUTDATA
#define  CUSTOMGUI_DISALLOW_TAKESOVERRIDE
#define  CUSTOMGUIARRAY_SIZE (A)
#define  CUSTOMTYPE_HIDE_ID

Enumerations

enum   CUSTOMTYPE {
   END ,
   FLAG ,
   LONG ,
   REAL ,
   STRING ,
   VECTOR ,
   HIDE_ID
}

函数

enum CUSTOMTYPE   MAXON_ENUM_LIST ( CUSTOMTYPE )
Bool   RegisterCustomGuiPlugin (const maxon::String &str, Int32 info, CustomGuiData *dat)

变量

  END
  FLAG
  LONG
  REAL
  STRING
  VECTOR
  HIDE_ID
struct CustomProperty   MAXON_ENUM_LIST

Macro Definition Documentation

◆  CUSTOMGUIARRAY_SIZE

#define CUSTOMGUIARRAY_SIZE (   A )

Calculates the size of arrays.

◆  CUSTOMTYPE_HIDE_ID

#define CUSTOMTYPE_HIDE_ID

Hides the property in the User Data manager (e.g. compatibility option).

Function Documentation

◆  RegisterCustomGuiPlugin()

Bool RegisterCustomGuiPlugin ( const maxon::String str ,
Int32   info ,
CustomGuiData dat  
)

Registers a custom GUI plugin.

注意
It is currently not possible to register a custom GUI for Bool or BaseTime .
参数
[in] str The name of the plugin.
[in] info The custom GUI plugin info flags: CUSTOMGUI_SUPPORT PLUGINFLAG
[in] dat An instance for the custom GUI plugin. Cinema 4D takes over the ownership of the pointed data instance.
返回
true if the custom GUI plugin was registered, otherwise false .

Variable Documentation

◆  END

END

End marker.

◆  FLAG

FLAG

Bool data. (Either the property is there or not.)

◆  LONG

LONG

Int32 data.

◆  REAL

REAL

Float data.

◆  STRING

STRING

String data. (An ID from the string table.)

◆  VECTOR

VECTOR

向量 data.

◆  HIDE_ID

HIDE_ID

◆  MAXON_ENUM_LIST

struct CustomProperty MAXON_ENUM_LIST