FStaticMeshCacheAdapter::ValidForPlayback

Determines whether a cache is able to safely playback on a component.

Windows
MacOS
Linux

Override Hierarchy

FComponentCacheAdapter::ValidForPlayback()

FStaticMeshCacheAdapter::ValidForPlayback()

References

Module

ChaosCaching

Header

/Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/Adapters/StaticMeshComponentCacheAdapter.h

Include

#include "Chaos/Adapters/StaticMeshComponentCacheAdapter.h"

Source

/Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Private/Chaos/Adapters/StaticMeshComponentCacheAdapter.cpp

Syntax

virtual bool ValidForPlayback
(
    UPrimitiveComponent * InComponent,
    UChaosCache * InCache
) const

Remarks

Determines whether a cache is able to safely playback on a component. After the GUID for an adapter is validated this check will be called from the game thread to ensure an adapter is able to safely play back for the provided component.

Parameters

Parameter

Description

InComponent

Target component attempting playback.

InCache

Requested cache to playback.

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