GetMoDataMessage Struct Reference

#include <c4d_baseeffectordata.h>

详细描述

Structure for passing MoData around.

公共成员函数

  GetMoDataMessage ()
  ~GetMoDataMessage ()
MoData 发行 (void)

Public Attributes

MoData modata
Int32   index
Bool   user_owned

构造函数 & 析构函数文档编制

◆  GetMoDataMessage()

GetMoDataMessage ( )

Default constructor.

◆  ~GetMoDataMessage()

~ GetMoDataMessage ( )

Destructor.

成员函数文档编制

◆  Release()

MoData * Release ( void  )

Releases the MoData to the user. The user must then free the result afterward.

返回
The released modata. The caller owns the pointed motion data.

Member Data Documentation

◆  modata

MoData * modata

The returned MoData .

◆  index

Int32 index

The index of the modata.
There can be multiple MoData on an object; e.g. the Text object for instance has 4 MoData , one for the whole, then for lines, words and finally characters.
Can be used to retrieve the other MoData from the motion data tag. Should be usually set to 0 .

◆  user_owned

Bool user_owned

The modata is either owned by Cinema 4D or by the user. If it is user owned then the user must free the modata.