Could we create anim layer interace in c++?

class MODULE_API IItemAnimLayersInterface : public IAnimLayerInterface
{
	GENERATED_BODY()

// Add interface functions to this class. This is the class that will be inherited to implement this interface.
public:
	UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Item Anim Layer")
	FPoseLink FullBodyAdditives();
	
	UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Item Anim Layer")
	void FullBody_IdleState(FPoseLink& Result);

	UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Item Anim Layer")
	void FullBody_IdleStateTest(FAnimNode_Root& Result);

	UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Item Anim Layer")
	FAnimNode_Root FullBody_IdleStateTest1();
};

I was trying to define it like this👆
What i got:


FullBody_IdleStateTest and FullBody_IdleStateTest1 get hidden for some reason.

Have you managed to figure this out? I am also trying to define the animation layer interface in C++ but so far I haven’t come up with anything that behave the same way as if I define it in editor :frowning:

I’m also seeing warnings, saying failed to dynamically link the poses. Does anyone know how to fix it?

I can’t create a class that derives from IAnimLayerInterface. How is this done?