Navigation
API > API/Plugins > API/Plugins/ChaosCaching
| Name | FObservedComponent |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/CacheManagerActor.h |
| Include Path | #include "Chaos/CacheManagerActor.h" |
Syntax
USTRUCT (BlueprintType )
struct FObservedComponent
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Chaos/CacheManagerActor.h | |||
FObservedComponent
(
const FObservedComponent& OtherComponent |
Chaos/CacheManagerActor.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PRAGMA_DISABLE_DEPRECATION_WARNINGS ~FObservedComponent() |
Chaos/CacheManagerActor.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnDestroying | TBaseDelegate_OneParam< void, const FObservedComponent & > | Chaos/CacheManagerActor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasNotifyBreaks | bool | Capture the state of bNotifyBreaks of the component before cache manager takes control. | Chaos/CacheManagerActor.h |
|
| bIsSimulating | bool | Capture of the initial state of the component before cache manager takes control. | Chaos/CacheManagerActor.h |
|
| bPlaybackEnabled | bool | Whether this component is enabled for playback, this allow a cache to hold many component but only replay some of them. | Chaos/CacheManagerActor.h |
|
| CacheName | FName | Unique name for the cache, used as a key into the cache collection | Chaos/CacheManagerActor.h |
|
| ComponentRef | FComponentReference | Deprecated hard object reference. | Chaos/CacheManagerActor.h | |
| SoftComponentRef | FSoftComponentReference | The component observed by this object for either playback or recording | Chaos/CacheManagerActor.h |
|
| USDCacheDirectory | FDirectoryPath | USD cache directory, if supported for this simulated structure type. | Chaos/CacheManagerActor.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AbsoluteTime | Chaos::FReal | Chaos/CacheManagerActor.h | ||
| BestFitAdapter | Chaos::FComponentCacheAdapter * | Chaos/CacheManagerActor.h | ||
| bTriggered | bool | Chaos/CacheManagerActor.h | ||
| Cache | UChaosCache * | Chaos/CacheManagerActor.h | ||
| OnDestroying | FOnDestroying | Chaos/CacheManagerActor.h | ||
| TickRecord | FPlaybackTickRecord | Chaos/CacheManagerActor.h | ||
| TimeSinceTrigger | Chaos::FReal | Chaos/CacheManagerActor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UChaosCache * GetChaosCache() |
Gets the chaos cache from the observed component | Chaos/CacheManagerActor.h | |
| Chaos/CacheManagerActor.h | |||
| Chaos/CacheManagerActor.h | |||
UPrimitiveComponent * GetComponent
(
AActor* OwningActor |
Gets the component from the internal component ref | Chaos/CacheManagerActor.h | |
UPrimitiveComponent * GetComponent
(
AActor* OwningActor |
Chaos/CacheManagerActor.h | ||
bool IsEnabled
(
ECacheMode CacheMode |
Check if the Observed component is enabled for a specific cache mode | Chaos/CacheManagerActor.h | |
void PostSerialize
(
const FArchive& Ar |
Post serialize function to transfer datas from the deprecated TObjectPtr -> TSoftObjectPtr | Chaos/CacheManagerActor.h | |
void ResetRuntimeData
(
const EStartMode ManagerStartMode |
Prepare runtime tick data for a new run | Chaos/CacheManagerActor.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FObservedComponent & operator=
(
const FObservedComponent& OtherComponent |
Chaos/CacheManagerActor.h |