Hi,
i try to create a keyframe from the editor to the sequencer but if the variable is a TArray is not working properly.
the channel is added on the sequencer but in red and and i can set the value but not reading the value.
USTRUCT(BlueprintType)
struct FKeyTest
{
GENERATED_USTRUCT_BODY()
UPROPERTY(Interp, EditAnywhere, BlueprintReadWrite, Category = "test")
float testFloat;
};
.....
UPROPERTY(Interp, EditAnywhere, BlueprintReadWrite, Category = "test")
TArray<FKeyTest> FRecord;
.h file
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "keySequencer.generated.h"
USTRUCT(BlueprintType)
struct FKeyTest
{
GENERATED_USTRUCT_BODY()
UPROPERTY(Interp, EditAnywhere, BlueprintReadWrite, Category = "test")
float testFloat;
};
UCLASS()
class LAFRED2PLUGINS_API AkeySequencer : public AActor
{
GENERATED_BODY()
public:
UPROPERTY(Interp, EditAnywhere, BlueprintReadWrite, Category = "test")
TArray<FKeyTest> FRecord;
// Sets default values for this actor's properties
AkeySequencer();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
};
thank you for your help, i am stuck for hours now.
Best regards
Daniel