GeometyCacheHelpers::WrapAnimationTime

Use this instead of fmod when working with looping animations as fmod gives incorrect results when using negative times.

Windows
MacOS
Linux

References

Module

GeometryCache

Header

/Engine/Plugins/Experimental/GeometryCache/Source/GeometryCache/Public/GeometryCacheHelpers.h

Include

#include "GeometryCacheHelpers.h"

Syntax

static float WrapAnimationTime
(
    float Time,
    float Duration
)

Remarks

Use this instead of fmod when working with looping animations as fmod gives incorrect results when using negative times.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss