Chaos::AsAlwaysSerializable

This is only available for types that are guaranteed to be serializable. This is done by having a factory that returns unique pointers for example.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Serializable.h

Include

#include "Chaos/Serializable.h"

Syntax

namespace Chaos
{
    template<typename T>
    TEnableIf< T::AlwaysSerializable, TSerializablePtr< T > >::Type & Chaos::AsAlwaysSerializable
    (
        T *& Ptr
    )
}

Remarks

This is only available for types that are guaranteed to be serializable. This is done by having a factory that returns unique pointers for example.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss