EM_Task/UnrealEd/Classes/Animation/EditorAnimCompositeSegment.h

38 lines
1.0 KiB
C
Raw Permalink Normal View History

2026-02-13 16:18:33 +08:00
// Copyright Epic Games, Inc. All Rights Reserved.
/**
* Abstract base class of animation composite base
* This contains Composite Section data and some necessary interface to make this work
*/
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#include "Animation/EditorAnimBaseObj.h"
#include "Animation/AnimCompositeBase.h"
#include "EditorAnimCompositeSegment.generated.h"
DECLARE_DELEGATE_OneParam(FOnAnimSegmentChanged, class UEditorAnimSegment*)
UCLASS(hidecategories = UObject, MinimalAPI, BlueprintType)
class UEditorAnimCompositeSegment: public UEditorAnimBaseObj
{
GENERATED_UCLASS_BODY()
public:
/** Default blend in time. */
UPROPERTY(EditAnywhere, Category = Montage)
FAnimSegment AnimSegment;
int AnimSegmentIndex;
virtual void InitAnimSegment(int AnimSegmentIndex);
virtual bool ApplyChangesToMontage() override;
virtual bool PropertyChangeRequiresRebuild(FPropertyChangedEvent& PropertyChangedEvent) override;
private:
// FAnimTrack* GetAnimTrack
};