UMockRootMotionSource

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NetworkPredictionExtras

Header

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/MockRootMotionSourceObject.h

Include

#include "MockRootMotionSourceObject.h"

Syntax

UCLASS(Abstract)
class UMockRootMotionSource : public UObject

Constructors

Name Description

Public function

UMockRootMotionSource()

Destructors

Name Description

Public function Virtual

~UMockRootMotionSource()

Functions

Name Description

Public function Virtual Const

void

 

FinalizePose

(
    int32 ElapsedMS,
    UAnimInstance* AnimInstance
)

Public function Virtual Const

bool

 

IsValidCDO()

Only called on CDOs - Is this class default object valid (or does it require subclassing to fill in required data) If true, this class gets a root motion source ID assigned and can be replicated If false, no ID and runtime error if this class is tried to be used

Public function Virtual Const

bool

 

IsValidInstance()

Runtime check if this source is well formed/valid for use By default this will just check IsValidCDO, but subclasses that require instancing + dynamic data will want to check that.

Public function Const

bool

 

IsValidRootMotionSource()

Returns true if this instance is an acceptable runtime source for root motion.

Public function Virtual

void

 

SerializePayloadParameters

(
    FBitArchive& Ar
)

Public function Virtual

FMockRootMot...

 

Step

(
    const FMockRootMotionStepParameters...
)