UGeometryCacheTrackStreamable::UpdateBoundsData

UpdateBoundsData

Windows
MacOS
Linux

Override Hierarchy

UGeometryCacheTrack::UpdateBoundsData()

UGeometryCacheTrackStreamable::UpdateBoundsData()

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

virtual const bool UpdateBoundsData
(
    const float Time,
    const bool bLooping,
    const bool bIsPlayingBackward,
    int32 & InOutBoundsSampleIndex,
    FBox & OutBounds
)

Remarks

UpdateBoundsData

Bounds may be sampled at a different rate than the matrixes above so they have separate sample indexes to cache.

Returns

const bool

Parameters

Parameter

Description

Time

(Elapsed)Time to check against

bLooping

Whether or not the animation should be played on a loop

InOutBoundsSampleIndex

Hold the BoundsSampleIndex and will be updated if changed according to the Elapsed Time

OutBounds

Will hold the new bounding box if the SampleIndex changed

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