お世話になっております。
アニメーションレイヤーインターフェイスについて質問をさせて下さい。
アニメーションレイヤーインターフェイスをC++にて定義するにあたり以下のように書きました。
`#include “CoreMinimal.h”
include “UObject/Interface.h”
include “Animation/AnimNodeBase.h”
include “MyAnimLayerInterface.generated.h”
UINTERFACE(MinimalAPI, Blueprintable)
class UMyAnimLayerInterface : public UInterface
{
GENERATED_BODY()
};
class APPGAME_API IMyAnimLayerInterface
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = “AnimLayer”)
void MyCustomLayer(FPoseLink InPose, FPoseLink& OutPose);
};`
このインターフェイスをアニメーションBPで実装した場合、アニメーションレイヤーが以下のようになってしまいます。
[Image Removed]
通常、BPでアニメーションレイヤーを作成した場合以下のようになりますので、
[Image Removed]
C++クラス定義に問題があるのではないかと思われますがどこが間違っていますでしょうか?
よろしくご教示お願いいたします。