Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Types > UE::Slate::CastToVector2f
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Types/SlateVector2.h |
Include | #include "Types/SlateVector2.h" |
namespace UE
{
namespace Slate
{
const FVector2f & UE&58;&58;Slate&58;&58;CastToVector2f
&40;
const FVector2f & InValue
&41;
}
}
Remarks
CastToVector2f allows supported types to be explicitly coerced to an FVector2f or const FVector2f& This allows generic programming patterns that must operate on FVector2f given many input types