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 |
Tags
- 티스토리챌린지
- 줄 세우기
- C
- Unreal Engine5
- RVO
- 팰린드롬 만들기
- baekjoon
- Programmers
- const
- GeeksForGeeks
- DeferredRendering
- DirectX11
- winapi
- 2294
- UnrealEngine4
- IFileDialog
- algorithm
- 언리얼엔진5
- C++
- 프로그래머스
- UE5
- softeer
- NRVO
- 백준
- directx
- Frustum
- 1563
- 오블완
- UnrealEngine5
- RootMotion
Archives
- Today
- Total
목록ImplementsInterface (1)
Game Develop
[UE5] 특정 인터페이스가 구현됐는지 검사할 때 주의할 점
언리얼에는 특정클래스에 특정인터페이스가 상속되어있는지 확인하는 함수가 있다. spawnedActor->GetClass()->ImplementsInterface(UPoolableActor::StaticClass()) 이 함수를 사용할 때 주의할 점은, 클래스타입만으로 GetClass() 호출 후, ImplementsInterface를 호출하면 false만 리턴한다는 것이다. (실제로 상속받았는데도) 예를들어 나같은 경우 블루프린트액터가 아닌 일반액터에 대한 액터풀을 생성하거나 액터풀에서 액터를 꺼내올 때 아래와 같이 액터의 StaticClass만 넘긴다. m_ActorPool->CreateActorPool(AMeleeMinion::StaticClass(),1); 그럼 검사를 할 때 AMeleeMinion:..
UnrealEngine5/이것저것
2023. 6. 27. 15:51