UGroomCache::FindSampleIndexesFromTime

Get the frame indices and interpolation factor between them that correspond to the specified time

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

void FindSampleIndexesFromTime
(
    float Time,
    bool bLooping,
    bool bIsPlayingBackwards,
    int32 & OutFrameIndex,
    int32 & OutNextFrameIndex,
    float & InterpolationFactor
)

Remarks

Get the frame indices and interpolation factor between them that correspond to the specified time

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