
UE4
辰先生
这个作者很懒,什么都没留下…
展开
-
[UE4]C++中获取实时帧数
#include "Engine.h"float UMyLibrary::GetAverageFps(){ extern ENGINE_API float GAverageFPS; return GAverageFPS;}float UMyLibrary::GetAverageMs(){ extern ENGINE_API float GAv...原创 2019-10-30 16:29:41 · 2802 阅读 · 0 评论 -
[UE4]JsonObject和Fstring互相转换
JsonObject to FstringTSharedRef<TJsonWriter<>> Writer = TJsonWriterFactory<>::Create(&JsonStr);FJsonSerializer::Serialize(JsonObject.ToSharedRef(), Writer); FString to Js...原创 2018-12-13 16:47:19 · 3934 阅读 · 0 评论 -
[UE4]C++编译报错合集,持续更新
Missing '*' in Expected a pointer typeBlueprintCallable don't allow to have reference in argument. You should use pointer.原创 2018-12-14 15:23:59 · 1657 阅读 · 0 评论 -
禁用窗口最大化
void* hWnd = YourWindow->GetNativeWindow()->GetOSWindowHandle();LONG WindowStyle = GetWindowLong((HWND)hWnd, GWL_STYLE);if (WindowStyle & WS_MAXIMIZEBOX){ WindowStyle &= ~...原创 2019-05-29 18:40:13 · 799 阅读 · 0 评论 -
[UE4]BP中枚举到字符串的转换
原创 2019-09-15 14:43:36 · 994 阅读 · 0 评论