unreal.ObservedComponent

class unreal.ObservedComponent

Bases: unreal.StructBase

Observed Component

C++ Source:

  • Plugin: ChaosCaching

  • Module: ChaosCaching

  • File: CacheManagerActor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • cache_mode (CacheMode): [Read-Write] How to use the cache - playback or record

  • cache_name (Name): [Read-Write] Unique name for the cache, used as a key into the cache collection

  • component_ref (ComponentReference): [Read-Write] The component observed by this object for either playback or recording

  • start_mode (StartMode): [Read-Write] How to trigger the cache record or playback, timed will start counting at BeginPlay, Triggered will begin counting from when the owning cache manager is requested to trigger the cache action See: AChaosCacheManager::TriggerObservedComponent

  • timed_duration (float): [Read-Write] The time after BeginPlay or a call to AChaosCacheManager::TriggerObservedComponent to wait before beginning the playback or recording of the component