class

FAnimationNetDriver

Module
Networking
Header
#include "Networking/Replication/AnimationNetDriver.h"
Namespace
Mowo

Constructors

SignatureNameDescription
FAnimationNetDriver() = defaultFAnimationNetDriver
~FAnimationNetDriver() override = default~FAnimationNetDriver

Public functions

ReturnsNameDescription
voidInitialize
voidShutdown
voidUpdate
boolPlayMontageStart a registered montage on a networked character.
boolStopMontage
voidServerPublish
voidClientApply
voidServerHandleMontageRequest
voidClientHandleMontageEvent
uint32_tGetMontageEventsSent
uint32_tGetMontageEventsApplied
uint32_tGetMontageRequestsHandled
boolSampleFromAnimatorAnimator -> mirror.
voidApplyParametersToController
const char*FindStateNameById
const char*FindSectionNameById
EMontageReconcileDecideMontageReconcile
EPositionCorrectionDecidePositionCorrection
EMontageReconcileReconcileMontageApply the mirror's montage half onto an animator, prediction included.
EPositionCorrectionSmoothMontagePosition
voidSeekMontagePlay at a section and run the playhead forward to position (seconds into the clip).
voidEncodeMontageEvent
boolDecodeMontageEvent

Function details

FAnimationNetDriver

C++
FAnimationNetDriver() = default

~FAnimationNetDriver

C++
~FAnimationNetDriver() override = default

Initialize

C++
void Initialize(World* world) override

Shutdown

C++
void Shutdown() override

Update

C++
void Update(float deltaTime) override

PlayMontage

C++
bool PlayMontage(uint64_t entityId, const char* montageName, const char* startSection = "")

Start a registered montage on a networked character. On the host it plays and the next publish multicasts it; on the owning client it plays at once (predicted) and asks the server; on a client that does not own the character it is refused.

StopMontage

C++
bool StopMontage(uint64_t entityId, float blendOut = -1.0f)

ServerPublish

C++
void ServerPublish()

ClientApply

C++
void ClientApply(float deltaTime)

ServerHandleMontageRequest

C++
void ServerHandleMontageRequest(uint32_t senderPeerId, NetworkId nid, const uint8_t* args, size_t argLen)

ClientHandleMontageEvent

C++
void ClientHandleMontageEvent(NetworkId nid, const uint8_t* args, size_t argLen)

GetMontageEventsSent

C++
uint32_t GetMontageEventsSent() const

GetMontageEventsApplied

C++
uint32_t GetMontageEventsApplied() const

GetMontageRequestsHandled

C++
uint32_t GetMontageRequestsHandled() const

SampleFromAnimator

C++
static bool SampleFromAnimator(const AnimatorComponent& animator, NetAnimationStateComponent& state)

Animator -> mirror. Returns true when the montage started, restarted or stopped since the previous sample (the serial was bumped).

ApplyParametersToController

C++
static void ApplyParametersToController(const NetAnimationStateComponent& state, AnimationController& controller)

FindStateNameById

C++
static const char* FindStateNameById(const AnimationController& controller, uint32_t stateId)

FindSectionNameById

C++
static const char* FindSectionNameById(const Montage& montage, uint32_t sectionId)

DecideMontageReconcile

C++
static EMontageReconcile DecideMontageReconcile(const NetAnimationStateComponent& state)

DecidePositionCorrection

C++
static EPositionCorrection DecidePositionCorrection(float localPosition, float targetPosition, float snapThreshold, float smoothingRate, float deltaTime, float& outAdvance)

ReconcileMontage

C++
static EMontageReconcile ReconcileMontage(NetAnimationStateComponent& state, AnimatorComponent& animator)

Apply the mirror's montage half onto an animator, prediction included.

SmoothMontagePosition

C++
static EPositionCorrection SmoothMontagePosition(NetAnimationStateComponent& state, AnimatorComponent& animator, float deltaTime)

SeekMontage

C++
static void SeekMontage(MontagePlayer& player, const Montage* montage, uint32_t sectionId, float position)

Play at a section and run the playhead forward to position (seconds into the clip). MontagePlayer has no seek, so a rewind is a re-play.

EncodeMontageEvent

C++
static void EncodeMontageEvent(const FMontageEvent& event, FNetEventWriter& writer)

DecodeMontageEvent

C++
static bool DecodeMontageEvent(FNetEventReader& reader, FMontageEvent& out)
Generated from Networking/Replication/AnimationNetDriver.h via networking.json · Nov 4, 2026Version 1.0.0