You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
856 B
C++
29 lines
856 B
C++
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
|
|
|
|
/**
|
|
*
|
|
* This Instance only contains one AnimationAsset, and produce poses
|
|
* Used by Preview in AnimGraph, Playing single animation in Kismet2 and etc
|
|
*/
|
|
|
|
#pragma once
|
|
#include "Animation/AnimInstance.h"
|
|
#include "AnimCustomInstance.h"
|
|
#include "AnimSequencerInstance.generated.h"
|
|
|
|
UCLASS(transient, NotBlueprintable)
|
|
class ANIMGRAPHRUNTIME_API UAnimSequencerInstance : public UAnimCustomInstance
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
public:
|
|
/** Update an animation sequence player in this instance */
|
|
void UpdateAnimTrack(UAnimSequenceBase* InAnimSequence, int32 SequenceId, float InPosition, float Weight, bool bFireNotifies);
|
|
|
|
/** Reset all nodes in this instance */
|
|
void ResetNodes();
|
|
|
|
protected:
|
|
// UAnimInstance interface
|
|
virtual FAnimInstanceProxy* CreateAnimInstanceProxy() override;
|
|
};
|