AChaosCacheManager

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

ChaosCaching

Header

/Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/CacheManagerActor.h

Include

#include "Chaos/CacheManagerActor.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Experimental)
class AChaosCacheManager : public AActor

Variables

Name Description

Public variable UProperty Category editinstanceonly

UChaosCacheColl...

 

CacheCollection

The Cache Collection asset to use for this observer.

Constructors

Name Description

Public function

AChaosCacheManager

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

FObservedCom...

 

AddNewObservedComponent

(
    UPrimitiveComponent* InCompone...
)

Protected function

FObservedCom...

 

FindObservedComponent

(
    UPrimitiveComponent* InCompone...
)

Protected function

FObservedCom...

 

FindOrAddObservedComponent

(
    UPrimitiveComponent* InCompone...
)

Protected function

void

 

HandlePostSolve

(
    Chaos::FReal InDt,
    Chaos::FPhysicsSolver* InSolve...
)

Handles physics thread post-solve (record data for components under record)

Protected function

void

 

HandlePreBuffer

(
    Chaos::FReal InDt,
    Chaos::FPhysicsSolver* InSolve...
)

Handles physics thread pre-buffer (mark dirty kinematic particles)

Protected function

void

 

HandlePreSolve

(
    Chaos::FReal InDt,
    Chaos::FPhysicsSolver* InSolve...
)

End AActor interface Handles physics thread pre-solve (push kinematic data for components under playback)

Public function UFunction BlueprintCallable, Category

void

 

ResetAllComponentTransforms()

Resets all components back to the world space transform they had when the cache for them was originally recorded if one is available

Public function UFunction BlueprintCallable, Category

void

 

ResetSingleTransform

(
    int32 InIndex
)

Resets the component at the specified index in the observed list back to the world space transform it had when the cache for it was originally recorded if one is available

Public function

void

 

SelectComponent

(
    int32 InIndex
)

Set the component at the specified index in the observed array to be the selected component in the outliner.

Public function UFunction BlueprintCallable, Category

void

 

SetAllMode

(
    ECacheMode InMode
)

End UObject interface Sets the playback mode of every observed component to the specified mode

Protected function UFunction BlueprintCallable, Category

void

 

TriggerAll()

Triggers the recording or playback of all observed components

Protected function UFunction BlueprintCallable, Category

void

 

TriggerComponent

(
    UPrimitiveComponent* InCompone...
)

Triggers a component to play or record.

Protected function UFunction BlueprintCallable, Category

void

 

TriggerComponentByCache

(
    FName InCacheName
)

Triggers a component to play or record.

Overridden from AActor

Name Description

Protected function Virtual

void

 

BeginPlay()

AActor interface

Protected function Virtual

void

 

EndPlay

(
    const EEndPlayReason::Type EndPlayR...
)

Overridable function called whenever this actor is being removed from a level

Public function Virtual

void

 

TickActor

(
    float DeltaTime,
    enum ELevelTick TickType,
    FActorTickFunction& ThisTickFuncti...
)

AActor interface

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Typedefs

Name

Description

FTickObservedFunction

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