BaseObjectPrivateMessage Class Reference

#include <c4d_baselist.h>

Detailed Description

Message structure for the MSG_BASEOBJECT_PRIVATEDATA_SET and MSG_BASEOBJECT_PRIVATEDATA_GET messages. If used with MSG_BASEOBJECT_PRIVATEDATA_SET the the key represents the insertion key and the dataRefPtr represents the value for the key If used with MSG_BASEOBJECT_PRIVATEDATA_GET the the key represents the query key and the dataRefPtr represents the value that was previously stored on the baseObject for the query key. Private.

Since
R21

Public Attributes

UInt key
 
maxon::ObjectRef * dataRefPtr
 

Member Data Documentation

◆ key

UInt key

Key used to uniquely query/store feature-related data (e.g. hair) on a BaseObject. It is recommended to use the HashCode of the class that has data passed through BaseObject.

◆ dataRefPtr

maxon::ObjectRef* dataRefPtr

Private. ObjectRef can be used to store/receive any StrongRefType.