UGroomCache::GetFrameIndexAtTime

Get the (floored) frame index at the specified time with the index 0 being the start of the animation

Windows
MacOS
Linux

References

Module

HairStrandsCore

Header

/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomCache.h

Include

#include "GroomCache.h"

Source

/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Private/GroomCache.cpp

Syntax

int32 GetFrameIndexAtTime
(
    const float Time,
    bool bLooping
) const

Remarks

Get the (floored) frame index at the specified time with the index 0 being the start of the animation

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