Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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++
- 람다
- dataasset
- 알고리즘
- 크리티컬섹션
- 선택정렬
- C++최적화
- UE_LOG
- 프로그래머스
- UE4 커스텀로그
- 정렬알고리즘
- unorder_map
- UELOG
- BFS
- 애셋로드
- UML관련
- 정렬
- 스마트포인터
- 언리얼엔진구조체
- 강참조
- map
- 람다사용정렬
- 데이터애셋
- 델리게이트
- 약참조
- enumasByue
- moreeffectiveC++
- 자료구조
- stl
Archives
- Today
- Total
기억을 위한 기록들
[UE4-CPP] 개인메모 PrimitiveComponent Overlap C++ 구현 본문
헤더파일
UPROPERTY()
USphereComponent* Trigger;
UFUNCTION()
void OnOverlapBegin( class UPrimitiveComponent* selfComp, class AActor* otherActor, UPrimitiveComponent* otherComp,
int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult);
cpp파일
- 생성자
Trigger->OnComponentBeginOverlap.AddDynamic( this, &해당클래스::OnOverlapBegin );
void 해당클래스::OnOverlapBegin( class UPrimitiveComponent* selfComp, class AActor* otherActor, UPrimitiveComponent* otherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult )
{
UE_LOG( LogTemp, Log, TEXT("OverLap") );
}
'UnrealEngine > UE4 - CPP' 카테고리의 다른 글
[UE4 - CPP] 속도 단위 변환 (0) | 2021.09.11 |
---|---|
[UE4-CPP] FString 을 float으로 변환하기 메모 (0) | 2021.07.14 |
[UE4-CPP] 기본로그(UE_LOG)에 관하여 (1) | 2021.05.16 |
[UE4-CPP] 커스텀 로그(LOG) 만들기 (0) | 2021.05.07 |
[UE4-CPP] 언리얼엔진4(UE4)에서 C++ 구조체 만들고 데이터 테이블 사용하기 (2) | 2021.04.02 |