![]() |
ezEngine Release 26.3
|
Message to set custom float data on components. More...
#include <SetColorMessage.h>

Public Member Functions | |
| EZ_DECLARE_MESSAGE_TYPE (ezMsgSetCustomData, ezMessage) | |
| virtual void | Serialize (ezStreamWriter &inout_stream) const override |
| Implement this for efficient transmission across process boundaries (e.g. network transfer etc.) | |
| virtual void | Deserialize (ezStreamReader &inout_stream, ezUInt8 uiTypeVersion) override |
Public Member Functions inherited from ezReflectedClass | |
| virtual const ezRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const ezRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it. | |
| template<typename T > | |
| EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
| float | m_fData0 |
| float | m_fData1 |
| float | m_fData2 |
| float | m_fData3 |
Additional Inherited Members | |
Static Public Member Functions inherited from ezNoBase | |
| static const ezRTTI * | GetStaticRTTI () |
Message to set custom float data on components.
Provides four float values that can be used to pass arbitrary data to components. The interpretation of these values depends on the receiving component.
|
overridevirtual |
Reimplemented from ezMessage.
|
overridevirtual |
Implement this for efficient transmission across process boundaries (e.g. network transfer etc.)
If the message is only ever sent within the same process between nodes of the same ezWorld, this does not need to be implemented.
Note that PackageForTransfer() will automatically include the ezRTTI type version into the stream and ReplicatePackedMessage() will pass this into Deserialize(). Use this if the serialization changes.
Reimplemented from ezMessage.