DescriptionAllowOverride Struct Reference Library » 描述
#include <lib_description.h>
Message struct for the MSG_DESCRIPTION_ALLOWOVERRIDE message.
公共成员函数 |
|
DescriptionAllowOverride ( TakeData *takeData=nullptr, BaseTake *overrideTake=nullptr, const DescID *descId=nullptr) |
Public Attributes |
|
TakeData * | _takeData |
BaseTake * | _overrideTake |
const DescID * | _descId |
BaseList2D * | _parent |
DescID | _parentId |
Bool | _allow |
Bool | _overrideEnabled |
DescriptionAllowOverride | ( | TakeData * |
takeData
=
nullptr
,
|
BaseTake * |
overrideTake
=
nullptr
,
|
||
const DescID * |
descId
=
nullptr
|
||
) |
Default constructor.
[in] | takeData | The take system context. The caller owns the pointed TakeData . |
[in] | overrideTake | The take asking for the override. The caller owns the pointed BaseTake . |
[in] | descId | The description ID to be overridden. |
TakeData * _takeData |
Take system context. Cinema 4D owns the pointed TakeData .
BaseTake * _overrideTake |
Take asking for the override.
const DescID * _descId |
Description ID to be overridden.
BaseList2D * _parent |
Parent node if the override must be assigned to it and not to the original node. Especially useful in case of branched structures.
DescID _parentId |
若 _parent is set also a translated parameter ID needs to be set.
Bool _allow |
true if the parameter can be overridden, otherwise false .
Bool _overrideEnabled |
true if the global switch allows the override, otherwise false .