Navigation
API > API/Plugins > API/Plugins/ChaosCaching > API/Plugins/ChaosCaching/Chaos
References
| Module | ChaosCaching |
| Header | /Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/CacheManagerActor.h |
| Include | #include "Chaos/CacheManagerActor.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FObservedComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHasNotifyBreaks | Capture the state of bNotifyBreaks of the component before cache manager takes control. | |
| bool | bIsSimulating | Capture of the initial state of the component before cache manager takes control. | |
| bool | bPlaybackEnabled | Whether this component is enabled for playback, this allow a cache to hold many component but only replay some of them. | |
| FName | CacheName | Unique name for the cache, used as a key into the cache collection | |
| FSoftComponentReference | SoftComponentRef | The component observed by this object for either playback or recording |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FObservedComponent
(
const FObservedComponent& OtherComponent |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UPrimitiveComponent * | GetComponent
(
AActor* OwningActor |
Gets the component from the internal component ref | |
| UPrimitiveComponent * | GetComponent
(
AActor* OwningActor |
Gets the component from the internal component ref | |
| bool | IsEnabled
(
ECacheMode CacheMode |
Check if the Observed component is enabled for a specific cache mode | |
| void | PostSerialize
(
const FArchive& Ar |
Post serialize function to transfer datas from the deprecated TObjectPtr -> TSoftObjectPtr | |
| void | ResetRuntimeData
(
const EStartMode ManagerStartMode |
Prepare runtime tick data for a new run |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FObservedComponent & | operator=
(
const FObservedComponent& OtherComponent |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FComponentReference | ComponentRef | This property is going to be deleted. Use the SoftComponentRef instead |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| UPrimitiveComponent * | GetComponent () |
Use GetComponent(OwningActor) instead. | |
| UPrimitiveComponent * | GetComponent () |
Use GetComponent(OwningActor) instead. |