일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 백준
- directx
- 프로그래머스
- UE5
- NRVO
- C++
- Programmers
- C
- DirectX11
- IFileDialog
- RootMotion
- Unreal Engine5
- 줄 세우기
- winapi
- UnrealEngine5
- const
- 2294
- baekjoon
- 오블완
- softeer
- Frustum
- 티스토리챌린지
- GeeksForGeeks
- 팰린드롬 만들기
- RVO
- algorithm
- UnrealEngine4
- TObjectPtr
- 언리얼엔진5
- 1563
- Today
- Total
목록전체 글 (731)
Game Develop
포스트프로세싱용 머터리얼을 만들었는데, 파라미터값을 넘겨야하는 경우가 있다.이 때, 포스트프로세싱용 머터리얼을 포스트프로세스볼륨에 Add할 때 Weight값을 설정할 수 있는데, 이 값에 따라 실제로 넘겨지는 파라미터값이 바뀐다. 예를들어 어떤 이벤트가 발생해서 1.0f값을 머터리얼인스턴스에 넘겼는데 이 값을 온전히 넘기려면 Weight값이 1.0f여야 한다.만약 Weight값이 0.1f이다? 그러면 1.0f값이 아니라 0.1f 값이 넘어간다... Weight값이 0.1f이라 파라미터값도 1/10값만 넘어간 거다. 그러니 주의하도록 하고, 값이 제대로 넘어갔는지 확인하려면 DebugScalarValues 노드를 사용할 경우 뷰포트에 실제 넘겨진값이 몇인지 바로 확인할 수 있다. IsHit이라는 파라미터..
Enhanced Input을 이용해서 키입력을 받는것을 C++로 구현하면, 아래와 같이 BindAction을 호출 할 것이다. EIC->BindAction(m_InAir_InputActions["NormalAttack_InAir"], ETriggerEvent::Triggered, skillComponent, &UMainPlayerSkillComponent::NormalAttack_InAir); 보통은 저렇게 매개변수가 없는 함수를 바인딩을 하고, 그렇게 해야되는줄만 알고있지만 사실 매개변수있는 함수도 바인딩이 가능하다. 다만, 모든 매개변수는 아니고 POD타입의 데이터만 매개변수로 가능하다.여기서 POD란 Plain Old Data의 약자인데 쉽게 말하자면 단순한 데이터타입을 의미하고, 좀 더 정확히 말..
뭐랄까 확실하다기보다는 아직까지는 좀 더 추상적이긴 한데..언리얼 문서에서는 TObjectPtr을 써야하는 이유로 동적해상도와 액세스 추적을 추가한다! 라고 되어있다.사실 이부분은 언젠가 실제로 겪었을 때 이 글을 업데이트해야겠다고 생각한다.. 지금은 잘 모르겠다. 이것보다 좀 더 와닿는것은, 언리얼엔진만든 에픽사가 앞으로 '표준'으로써 로우포인터대신 TObjectPtr을 채택했다는 사실 자체이다.즉, 버전이업데이트될때마다 그들이 만드는 코드들은 개발자가 TObjectPtr을 사용한다는 '가정'하에 디자인할 것이라는 것.이 문구를 보니까 뭔가 로우포인터쓸지 TObjectPtr 쓰지 살짝 고민했던것이 사라졌다. 정리하자면 헤더에서 변수선언할때는 로우포인터대신 TObjectPtr을 쓰고, 함수내의 로컬변수같..
https://www.acmicpc.net/problem/11758 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677#include iostream>#include string>#include map>#include vector>#include algorithm>#include math.h>#include queue>#include functional>#include sstream>#include memory.h>#include deque>#include set>#include unordered_..
https://www.acmicpc.net/problem/14621 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130#include iostream>#include string>#include map>#include vector>#include algor..
https://www.acmicpc.net/problem/6497 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126#include iostream>#include string>#include map>#include vector>#include algorithm>#includ..
https://www.acmicpc.net/problem/3151 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566#include iostream>#include string>#include map>#include vector>#include algorithm>#include math.h>#include queue>#include functional>#include sstream>#include memory.h>#include deque>#include set>#include unordered_map>#include stack>#inc..
https://www.acmicpc.net/problem/17609 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889#include iostream>#include string>#include map>#include vector>#include algorithm>#include math.h>#include queue>#include functional>#include sstream>#include memory.h>#include deque>#include..