Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/SharedPointer.h |
Include |
#include "Templates/SharedPointer.h" |
template<class CastToType, class CastFromType, ESPMode Mode>
TSharedPtr< CastToType, Mode > StaticCastSharedPtr
(
TSharedPtr< CastFromType, Mode > const & InSharedPtr
)
Casts a shared pointer of one type to another type. (static_cast) Useful for down-casting.
Parameter |
Description |
---|---|
InSharedPtr |
The shared pointer to cast |