|
|
void | AccumulateAdditiveRootMotionVelocity (float DeltaTime, const ACharacter &Character, const UCharacterMovementComponent &MoveComponent, FVector &InOutVelocity) const |
| | Helper function for accumulating additive velocity into InOutVelocity
|
| |
|
void | AccumulateOverrideRootMotionVelocity (float DeltaTime, const ACharacter &Character, const UCharacterMovementComponent &MoveComponent, FVector &InOutVelocity) const |
| | Helper function for accumulating override velocity into InOutVelocity
|
| |
|
void | AddStructReferencedObjects (class FReferenceCollector &Collector) |
| | Exposes references to GC system
|
| |
| uint16 | ApplyRootMotionSource (TSharedPtr< FRootMotionSource > SourcePtr) |
| | Apply a RootMotionSource to this Group 更多...
|
| |
|
void | ApplyTimeStampReset (float DeltaTime) |
| | Applies a reset to the start time for each root motion when the time stamp is reset
|
| |
|
void | Clear () |
| | Clear the contents to return it to "empty"
|
| |
|
void | CullInvalidSources () |
| | Removes any Sources without a valid ID
|
| |
|
bool | GetOverrideRootMotionRotation (float DeltaTime, const ACharacter &Character, const UCharacterMovementComponent &MoveComponent, FQuat &OutRotation) const |
| | Get rotation output of current override root motion source, returns true if OutRotation was filled
|
| |
|
TSharedPtr< FRootMotionSource > | GetRootMotionSource (FName InstanceName) |
| | Get a RootMotionSource from this Group by name
|
| |
|
TSharedPtr< FRootMotionSource > | GetRootMotionSourceByID (uint16 RootMotionSourceID) |
| | Get a RootMotionSource from this Group by ID
|
| |
| bool | HasActiveRootMotionSources () const |
| |
| bool | HasAdditiveVelocity () const |
| |
| bool | HasOverrideVelocity () const |
| |
| bool | HasOverrideVelocityWithIgnoreZAccumulate () const |
| |
| bool | HasRootMotionToApply () const |
| |
| bool | HasVelocity () const |
| |
|
bool | NeedsSimulatedSmoothing () const |
| | Gets whether any active root motion source has been marked to need NetworkSmoothing as a SimulatedProxy
|
| |
|
bool | NetSerialize (FArchive &Ar, class UPackageMap *Map, bool &bOutSuccess) |
| | Serialize the root motion sources and their states for this group
|
| |
|
bool | operator!= (const FRootMotionSourceGroup &Other) const |
| | Comparison operator
|
| |
|
FRootMotionSourceGroup & | operator= (const FRootMotionSourceGroup &Other) |
| | Copy operator - deep copy so it can be used for archiving/saving off moves
|
| |
|
bool | operator== (const FRootMotionSourceGroup &Other) const |
| | Comparison operator - needs matching Sources along with identical states in those sources
|
| |
| void | PrepareRootMotion (float DeltaTime, const ACharacter &Character, const UCharacterMovementComponent &InMoveComponent, bool bForcePrepareAll=false) |
| | Generates root motion by accumulating transforms through current root motion sources. 更多...
|
| |
|
void | RemoveRootMotionSource (FName InstanceName) |
| | Remove a RootMotionSource from this Group by name
|
| |
|
void | RemoveRootMotionSourceByID (uint16 RootMotionSourceID) |
| | Remove a RootMotionSource from this Group by ID
|
| |
|
void | SetPendingRootMotionSourceMinStartTimes (float NewStartTime) |
| | Sets the StartTime of all pending root motion sources to be at least this time, can be used on servers to match client-side start times
|
| |
| void | UpdateStateFrom (const FRootMotionSourceGroup &GroupToTakeStateFrom, bool bMarkForSimulatedCatchup=false) |
| | Update contained Sources to state in matching sources from other group. 更多...
|
| |
|
|
uint8 | bHasAdditiveSources:1 |
| | Whether this group has additive root motion sources
|
| |
|
uint8 | bHasOverrideSources:1 |
| | Whether this group has override root motion sources
|
| |
|
uint8 | bHasOverrideSourcesWithIgnoreZAccumulate:1 |
| | Whether this group has override root motion sources that have IgnoreZAccumulate flag
|
| |
|
uint8 | bIsAdditiveVelocityApplied:1 |
| | True when we had additive velocity applied last tick, checked to know if we should restore LastPreAdditiveVelocity before a Velocity computation
|
| |
|
FRootMotionSourceSettings | LastAccumulatedSettings |
| | Aggregate Settings of the last group of accumulated sources
|
| |
| FVector_NetQuantize10 | LastPreAdditiveVelocity |
| | Saved off pre-additive-applied Velocity, used for being able to reliably add/remove additive velocity from currently computed Velocity (otherwise we would be removing additive velocity that no longer exists, like if you run into a wall and your Velocity becomes 0 - subtracting the velocity that we added heading into the wall last tick would make you go backwards. 更多...
|
| |
|
TArray< TSharedPtr< FRootMotionSource > > | PendingAddRootMotionSources |
| | Root Motion Sources to be added next frame
|
| |
|
TArray< TSharedPtr< FRootMotionSource > > | RootMotionSources |
| | Root Motion Sources currently applied in this Group
|
| |
Group of Root Motion Sources that are applied