Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
UAutoNameableSequencerTrackBP 클래스 참조

#include <AutoNameableSequencerTrackBP.h>

UAutoNameableSequencerTrackBP에 대한 상속 다이어그램 :
Inheritance graph
UAutoNameableSequencerTrackBP에 대한 협력 다이어그램:
Collaboration graph

Public 멤버 함수

virtual void AddSection (UMovieSceneSection &Section) override
 

멤버 함수 문서화

◆ AddSection()

void UAutoNameableSequencerTrackBP::AddSection ( UMovieSceneSection &  Section)
overridevirtual
13{
14 if (IsValid(&Section) == false)
15 {
16 LOG_ERROR(LogCK, "Section이 유효한 타입이 아닙니다!");
17 return;
18 }
19
20 if (IsEmpty())
21 {
22#if WITH_EDITORONLY_DATA
23 const UBlueprintGeneratedClass* BPClass = Cast<UBlueprintGeneratedClass>(Section.GetClass());
24 const UObject* BlueprintAsset = BPClass ? BPClass->ClassGeneratedBy : nullptr;
25 const FString SectionAssetName = BlueprintAsset ? BlueprintAsset->GetName() : TEXT("Unknown");
26 const FString SectionDisplayName = FName::NameToDisplayString(SectionAssetName, false);
27
28 SetDisplayName(FText::FromString(SectionDisplayName));
29#endif
30 }
31 else if (GetAllSections().Last()->GetClass() != Section.GetClass())
32 {
33 LOG_WARNING(LogCK, "서로 다른 타입의 섹션을 하나의 트랙에 등록할 수 없습니다. ");
34 return;
35 }
36
37 Super::AddSection(Section);
38}
#define LOG_ERROR(Category, Format,...)
Definition CK_UE.h:40
#define LOG_WARNING(Category, Format,...)
Definition CK_UE.h:39

이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: