c4d_falloffdata.h File Reference

Classes

struct   FalloffCollectMessage
struct   FalloffDataData
class   FalloffData
class   C4D_Falloff

Macros

#define  ID_C4DFALLDATALIB
#define  ID_C4DFALLOFFLIB
#define  ID_BASE_FALLOFF
#define  ID_STANDARD_FALLOFF
#define  MSG_COLLECTC4DFALLOFF

Typedefs

typedef FalloffData FalloffDataAllocator (void)

函数

void  FillFalloffPlugin (FALLOFFPLUGIN *fp, Int32 info, FalloffDataAllocator *g)
Bool   RegisterFalloffPlugin ( Int32 id, const maxon::String &str, Int32 info, FalloffDataAllocator *g, const maxon::String &description)
void *  AllocFalloff ( Int32 type)

Typedef Documentation

◆  FalloffDataAllocator

typedef FalloffData * FalloffDataAllocator(void)

FalloffData allocator.

Function Documentation

◆  FillFalloffPlugin()

void FillFalloffPlugin ( FALLOFFPLUGIN *  fp ,
Int32   info ,
FalloffDataAllocator g  
)

Private .

◆  RegisterFalloffPlugin()

Bool RegisterFalloffPlugin ( Int32   id ,
const maxon::String str ,
Int32   info ,
FalloffDataAllocator g ,
const maxon::String description  
)

Registers a falloff plugin.

参数
[in] id A unique plugin ID. Must be obtained from http://www.plugincafe.com .
[in] str The name of the plugin.
[in] info The falloff plugin info flags: PLUGINFLAG
[in] g The allocator for the falloff plugin. This is a pointer to a function that creates a new instance of FalloffData with NewObj() .
[in] description The name of the description resource file to use for the falloff plugin without .res extension, for example "ofalloff_falloffname" .
The name has to be unique, i.e. "ofalloff_falloffname" cannot be used for 2 different descriptions. See 描述 Resource for more information.
返回
true if the falloff plugin was registered, otherwise false .

◆  AllocFalloff()

void* AllocFalloff ( Int32   type )

Allocates a falloff.

参数
[in] type The falloff type.
返回
The allocated falloff, or nullptr if the allocation failed.