Cast

Dynamically cast an object type-safely.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Templates/Casts.h

Include

#include "Templates/Casts.h"

Syntax

template<typename To, typename From>
To * Cast
(
    From * Src
)

Remarks

Dynamically cast an object type-safely.