언리얼 솔루션 생성하면 언리얼 프로젝트가 솔루션에 추가되잖아. 그러면 전체 소스에서 검색해 보는게 제일 쉬워
개발용더미(sy1mn1t4y83k)2024-10-11 14:38:00
답글
DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_FiveParams( FComponentHitSignature, UPrimitiveComponent, OnComponentHit, UPrimitiveComponent*, HitComponent, AActor*, OtherActor, UPrimitiveComponent*, OtherComp, FVector, NormalImpulse, const FHitResult&, Hit );
/** Delegate for notification of start of overlap with a specific component */
개발용더미(sy1mn1t4y83k)2024-10-11 14:44:00
답글
/** Delegate for notification of start of overlap with a specific component */
DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_SixParams( FComponentBeginOverlapSignature, UPrimitiveComponent, OnComponentBeginOverlap, UPrimitiveComponent*, OverlappedComponent, AActor*, OtherActor, UPrimitiveComponent*, OtherComp, int32, OtherBodyIndex, bool, bFromSweep, const FHitResult &, SweepResult);
https://dev.epicgames.com/documentation/en-us/unreal-engine/ufunctions-in-unreal-engine
- dc App
내장 함수들 말하는 거면
https://dev.epicgames.com/documentation/en-us/unreal-engine/API
- dc App
함수 외에도 여러 내장 클래스에 대한 정보가 다 모여있으셈 - dc App
요것도 확인했는데.. 그냥 OnOverlapBegin라는 함수가 안보여 핑프가 아니라 각 섹터마다 다 뒤져봤는데, 자기들이 공식문서에서 예시로 썼던 내장함수인 OnOverlapBegin() 함수가 없어
그러면 그냥 델리게이트 바인딩하는 거를 내장함수로 착각한 거 아님? - dc App
그냥 내가 모르는게 너무 많은 것 같네..
좀 더 공부해서 오겠음
내 질문은 이거에 가까웠던거 같음
https://forums.unrealengine.com/t/how-to-find-out-event-function-parameter-signatures/320796/5
언리얼 솔루션 생성하면 언리얼 프로젝트가 솔루션에 추가되잖아. 그러면 전체 소스에서 검색해 보는게 제일 쉬워
DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_FiveParams( FComponentHitSignature, UPrimitiveComponent, OnComponentHit, UPrimitiveComponent*, HitComponent, AActor*, OtherActor, UPrimitiveComponent*, OtherComp, FVector, NormalImpulse, const FHitResult&, Hit ); /** Delegate for notification of start of overlap with a specific component */
/** Delegate for notification of start of overlap with a specific component */ DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_SixParams( FComponentBeginOverlapSignature, UPrimitiveComponent, OnComponentBeginOverlap, UPrimitiveComponent*, OverlappedComponent, AActor*, OtherActor, UPrimitiveComponent*, OtherComp, int32, OtherBodyIndex, bool, bFromSweep, const FHitResult &, SweepResult);
OnBeginOverlap 델리게이트에 F12 -> FOnBeginOverlapSignature F12 두번 타고들어가면 선언문 나옴 델리게이트 원형에서 쉼표만 지우고 콜백 만들어서 바인드하면 됌 어차피 델리게이트나 가상함수는 수없이 나올텐데 소스코드 보는게 훨씬 직관적이고 빠르지
언리얼은 문서는 그냥 기능의 컨셉을 이해하고 대충 어떻게 쓰는구나 파악하는 정도고 세부적인 구현은 소스 읽는 게 빠름 - dc App