FStaticMeshCacheAdapter

Windows
MacOS
Linux

Inheritance Hierarchy

IModularFeature

FComponentCacheAdapter

FStaticMeshCacheAdapter

References

Module

ChaosCaching

Header

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

Include

#include "Chaos/Adapters/StaticMeshComponentCacheAdapter.h"

Syntax

class FStaticMeshCacheAdapter : public Chaos::FComponentCacheAdapter

Destructors

Name Description

Public function Virtual

~FStaticMeshCacheAdapter()

Overridden from FComponentCacheAdapter

Name Description

Public function Virtual Const

Chaos::FPhys...

 

GetComponentSolver

(
    UPrimitiveComponent* InCompone...
)

Called to retrieve the solver for a specific component.

Public function Virtual Const

UClass *

 

GetDesiredClass()

Query the class that this adapter wants to drive.

Public function Virtual Const

FGuid

 

GetGuid()

Gets a unique identifier for the adapter

Public function Virtual Const

uint8

 

GetPriority()

Gets the priority for an adapter.

Public function Virtual Const

bool

 

InitializeForPlayback

(
    UPrimitiveComponent* InCompone...,
    UChaosCache* InCache
)

Called from the game thread to initialize a component and cache ready to playback a cache

Public function Virtual Const

bool

 

InitializeForRecord

(
    UPrimitiveComponent* InCompone...,
    UChaosCache* InCache
)

Called from the game thread to initialize a component and cache ready to record a cache

Public function Virtual Const

void

 

Playback_PreSolve

(
    UPrimitiveComponent* InCompone...,
    UChaosCache* InCache,
    Chaos::FReal InTime,
    FPlaybackTickRecord& TickRecord,
    TArray< TPBDRigidParticleHandle< Ch...
)

Called by a cache observer actor when a cache needs to be applied to a component through this adapter.

Public function Virtual Const

void

 

Record_PostSolve

(
    UPrimitiveComponent* InComp,
    const FTransform& InRootTransform,
    FPendingFrameWrite& OutFrame,
    Chaos::FReal InTime
)

Called by a cache observer when a component should be recorded to a cache through this adapter.

Public function Virtual Const

SupportType

 

SupportsComponentClass

(
    UClass* InComponentClass
)

Query whether InComponentClass can be driven by this adapter.

Public function Virtual Const

bool

 

ValidForPlayback

(
    UPrimitiveComponent* InCompone...,
    UChaosCache* InCache
)

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

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