UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRepRootMotionMontage Struct Reference

#include <Character.h>

Public Member Functions

void Clear ()
 
bool HasRootMotion () const
 
UAnimMontageGetAnimMontage () const
 

Public Attributes

TObjectPtr< UAnimSequenceBaseAnimation = nullptr
 
bool bIsActive = false
 
bool bRelativePosition = false
 
bool bRelativeRotation = false
 
float Position = 0.f
 
FVector_NetQuantize100 Location
 
FRotator Rotation = FRotator(0.f)
 
TObjectPtr< UPrimitiveComponent > MovementBase = nullptr
 
FName MovementBaseBoneName
 
FRootMotionSourceGroup AuthoritativeRootMotion
 
FVector_NetQuantize10 Acceleration
 
FVector_NetQuantize10 LinearVelocity
 

Detailed Description

Replicated data when playing a root motion montage.

Member Function Documentation

◆ Clear()

void FRepRootMotionMontage::Clear ( )
inline

Clear root motion sources and root motion montage

◆ GetAnimMontage()

UAnimMontage * FRepRootMotionMontage::GetAnimMontage ( ) const

◆ HasRootMotion()

bool FRepRootMotionMontage::HasRootMotion ( ) const
inline

Is Valid - animation root motion only

Member Data Documentation

◆ Acceleration

FVector_NetQuantize10 FRepRootMotionMontage::Acceleration

Acceleration

◆ Animation

TObjectPtr<UAnimSequenceBase> FRepRootMotionMontage::Animation = nullptr

Animation providing Root Motion

◆ AuthoritativeRootMotion

FRootMotionSourceGroup FRepRootMotionMontage::AuthoritativeRootMotion

State of Root Motion Sources on Authority

◆ bIsActive

bool FRepRootMotionMontage::bIsActive = false

Whether this has useful/active data.

◆ bRelativePosition

bool FRepRootMotionMontage::bRelativePosition = false

Additional replicated flag, if MovementBase can't be resolved on the client. So we don't use wrong data.

◆ bRelativeRotation

bool FRepRootMotionMontage::bRelativeRotation = false

Whether rotation is relative or absolute.

◆ LinearVelocity

FVector_NetQuantize10 FRepRootMotionMontage::LinearVelocity

Velocity

◆ Location

FVector_NetQuantize100 FRepRootMotionMontage::Location

Location

◆ MovementBase

TObjectPtr<UPrimitiveComponent> FRepRootMotionMontage::MovementBase = nullptr

Movement Relative to Base

◆ MovementBaseBoneName

FName FRepRootMotionMontage::MovementBaseBoneName

Bone on the MovementBase, if a skeletal mesh.

◆ Position

float FRepRootMotionMontage::Position = 0.f

Track position of Montage

◆ Rotation

FRotator FRepRootMotionMontage::Rotation = FRotator(0.f)

Rotation


The documentation for this struct was generated from the following files: