Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 언리얼
- LittleNightMare
- Unreal Engine 5
- Chat Server
- UE4
- Random Map Generator
- Ai
- ue4 Crash
- draw call skeletal mesh
- UE
- 채팅 서버
- unreal engine 5 merge mesh
- unreal engine
- 아이작 맵 생성
- multithreard chat
- Unreal Engine 4
- 13iew
- bluezone
- 랜덤 맵 생성
- Unity Engine
- Unreal Engine Error
- deltaTime
- 언리얼 자기장
- UE5
- game ability system
- ue4 error
- unity
- tick 사용하지 않고
- UnrealEngine
- tick처럼 사용
Archives
- Today
- Total
Class GameDev* SheepAdult
[Unreal Engine 4] Blueprint로 만든 함수를 C++ 에서 호출하기 (Calling Blueprint Functions from C++) 본문
Unreal Engine
[Unreal Engine 4] Blueprint로 만든 함수를 C++ 에서 호출하기 (Calling Blueprint Functions from C++)
SheepAdult 2023. 1. 15. 00:17본론부터 말하자면 CallFunctionByNameWithArguments 함수를 사용하면 된다. 해당 함수는 인자로 FOutputDeviceNull을 받는데 #include "Misc/OutputDeviceNull.h"를 include 해줘야 한다.
#include "Misc/OutputDeviceNull.h"
...
void ATest::TestFunction()
{
FOutputDeviceNull Ar;
CallFunctionByNameWithArguments(TEXT("BPFunction"), Ar, nullptr, true);
}