c4d_customdatatypeplugin.h File Reference

Functions

CUSTOMDATATYPEPLUGIN * FindCustomDataTypePlugin (Int32 type)
 
RESOURCEDATATYPEPLUGIN * FindResourceDataTypePlugin (Int32 type)
 
Int32 GetDataType (Int32 resourcetype)
 
BaseContainer GetCustomDataTypeDefault (Int32 type)
 

Function Documentation

◆ FindCustomDataTypePlugin()

CUSTOMDATATYPEPLUGIN* FindCustomDataTypePlugin ( Int32  type)

Finds registered data type plugin structures from data type ID.

Parameters
[in]typeThe data type ID.
Returns
The found plugin structure, or nullptr. Cinema 4D owns the pointed plugin structure.

◆ FindResourceDataTypePlugin()

RESOURCEDATATYPEPLUGIN* FindResourceDataTypePlugin ( Int32  type)

Finds registered resource data type plugin structures from data type ID.

Parameters
[in]typeThe resource data type ID.
Returns
The found plugin structure, or nullptr. Cinema 4D owns the pointed plugin structure.

◆ GetDataType()

Int32 GetDataType ( Int32  resourcetype)

Retrieves the data type ID from a resource data type ID.

Parameters
[in]resourcetypeThe resource data type ID.
Returns
The data type ID.

◆ GetCustomDataTypeDefault()

BaseContainer GetCustomDataTypeDefault ( Int32  type)

Retrieves the default settings for a data type.

Parameters
[in]typeThe data type ID.
Returns
The default settings container.