c4d_customdatatypeplugin.h File Reference

函数

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.

参数
[in] type The data type ID.
返回
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.

参数
[in] type The resource data type ID.
返回
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.

参数
[in] resourcetype The resource data type ID.
返回
The data type ID.

◆  GetCustomDataTypeDefault()

BaseContainer GetCustomDataTypeDefault ( Int32   type )

Retrieves the default settings for a data type.

参数
[in] type The data type ID.
返回
The default settings container.