UGeometryCacheTrackStreamable::GetChunksForTimeRange

Get the CunksIds that need to be loaded to display any frames falling within the given time range.

Windows
MacOS
Linux

References

Module

GeometryCache

Header

/Engine/Plugins/Experimental/GeometryCache/Source/GeometryCache/Classes/GeometryCacheTrackStreamable.h

Include

#include "GeometryCacheTrackStreamable.h"

Source

/Engine/Plugins/Experimental/GeometryCache/Source/GeometryCache/Private/GeometryCacheTrackStreamable.cpp

Syntax

void GetChunksForTimeRange
(
    float StartTime,
    float EndTime,
    bool Looping,
    TArray< int32 > & OutChunkIndexes
)

Remarks

Get the CunksIds that need to be loaded to display any frames falling within the given time range.

Parameters

Parameter

Description

StartTime

Beginning of the range to return chunks for

EndTime

End of the range to return chunks for

Looping

If the animation playback is looping and thus the interval needs to wrap around based on this track's Duration

OutChunkIndexes

This list will be filled with the needed ChunkIds

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