class
FAnimationNetDriver
- Module
- Networking
- Header
#include "Networking/Replication/AnimationNetDriver.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
FAnimationNetDriver() = default | FAnimationNetDriver | |
~FAnimationNetDriver() override = default | ~FAnimationNetDriver |
Public functions
| Returns | Name | Description |
|---|---|---|
void | Initialize | |
void | Shutdown | |
void | Update | |
bool | PlayMontage | Start a registered montage on a networked character. |
bool | StopMontage | |
void | ServerPublish | |
void | ClientApply | |
void | ServerHandleMontageRequest | |
void | ClientHandleMontageEvent | |
uint32_t | GetMontageEventsSent | |
uint32_t | GetMontageEventsApplied | |
uint32_t | GetMontageRequestsHandled | |
bool | SampleFromAnimator | Animator -> mirror. |
void | ApplyParametersToController | |
const char* | FindStateNameById | |
const char* | FindSectionNameById | |
EMontageReconcile | DecideMontageReconcile | |
EPositionCorrection | DecidePositionCorrection | |
EMontageReconcile | ReconcileMontage | Apply the mirror's montage half onto an animator, prediction included. |
EPositionCorrection | SmoothMontagePosition | |
void | SeekMontage | Play at a section and run the playhead forward to position (seconds into the clip). |
void | EncodeMontageEvent | |
bool | DecodeMontageEvent |
Function details
FAnimationNetDriver
C++
FAnimationNetDriver() = default~FAnimationNetDriver
C++
~FAnimationNetDriver() override = defaultInitialize
C++
void Initialize(World* world) overrideShutdown
C++
void Shutdown() overrideUpdate
C++
void Update(float deltaTime) overridePlayMontage
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() constGetMontageEventsApplied
C++
uint32_t GetMontageEventsApplied() constGetMontageRequestsHandled
C++
uint32_t GetMontageRequestsHandled() constSampleFromAnimator
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