Navigation
API > API/Plugins > API/Plugins/CustomizableObject > API/Plugins/CustomizableObject/MuCO
References
| Module | CustomizableObject |
| Header | /Engine/Plugins/Experimental/Mutable/Source/CustomizableObject/Public/MuCO/CustomizableObjectInstanceDescriptor.h |
| Include | #include "MuCO/CustomizableObjectInstanceDescriptor.h" |
Syntax
template<class T>
class Ptr
Remarks
Some of the objects used by the runtime use reference counting to control their life-cycle. When an objects is returned in such a pointer, the user should keep this pointer valid while the data is in use, and clear it when done by assigning nullptr to it. The data returned in Ptr
The underlying lower-level pointer can be obtained with the get() method, but it should never be stored, since it will be valid only while there are valid Ptr<> to the same object.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Assign constructor. | |||
| Move constructor. | |||
Ptr
(
T* p, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~Ptr () |