MCPcopy Create free account
hub / github.com/Voidware-Prohibited/ALSXT / PostUpdate

Method PostUpdate

Source/ALSXT/Private/AlsxtAnimationInstanceProxy.cpp:6–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4FAlsxtAnimationInstanceProxy::FAlsxtAnimationInstanceProxy(UAnimInstance* AnimationInstance): FAnimInstanceProxy{AnimationInstance} {}
5
6void FAlsxtAnimationInstanceProxy::PostUpdate(UAnimInstance* AnimationInstance) const
7{
8 FAnimInstanceProxy::PostUpdate(AnimationInstance);
9
10 // Epic does not allow to override the UAnimInstance::PostUpdateAnimation()
11 // function in child classes, so we have to resort to this workaround.
12
13 auto* ALSXTAnimationInstance{Cast<UAlsxtAnimationInstance>(AnimationInstance)};
14 if (IsValid(ALSXTAnimationInstance))
15 {
16 ALSXTAnimationInstance->NativePostUpdateAnimation();
17 }
18}

Callers

nothing calls this directly

Calls 1

IsValidFunction · 0.85

Tested by

no test coverage detected