Navigation
API > API/Plugins > API/Plugins/ChaosVD
General settings that controls how CVD behaves
| Name | UChaosVDGeneralSettings |
| Type | class |
| Header File | /Engine/Plugins/ChaosVD/Source/ChaosVD/Public/Settings/ChaosVDGeneralSettings.h |
| Include Path | #include "Settings/ChaosVDGeneralSettings.h" |
Syntax
UCLASS (Config=ChaosVD, PerObjectConfig)
class UChaosVDGeneralSettings : public UChaosVDSettingsObjectBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UChaosVDSettingsObjectBase → UChaosVDGeneralSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAutoStartLiveSessionsPlayback | bool | If True, playback will start automatically after a recording started, and we successfully connect to it | Settings/ChaosVDGeneralSettings.h |
|
| bProcessPendingOperationsQueueInWorkerThread | bool | If set to true CVD will process any updates to the streaming accel structure in worker threads, in between streaming updates | Settings/ChaosVDGeneralSettings.h |
|
| bSafeLoadingMode | bool | If true, CVD will skip data whose binary format is not guaranteed to be backwards compatible (e.g. raw-serialized structs such as generic particle extra data). | Settings/ChaosVDGeneralSettings.h |
|
| bSaveRecordingsToDisk | bool | If True, any traces done to memory will also be saved to disk at the same time in the user's document folder (or a user specified folder). | Settings/ChaosVDGeneralSettings.h |
|
| bShowNativeSerializationWarning | bool | If true, shows a warning dialog after loading when native-serialized extra data is present and ParticleExtraDataLoadingMode is LoadAll. | Settings/ChaosVDGeneralSettings.h |
|
| bShowSafeModeSkippedWarning | bool | If true, an informational dialog is shown after loading when data types were skipped because Safe Loading Mode is enabled. | Settings/ChaosVDGeneralSettings.h |
|
| bShowUnsafeDataWarning | bool | If true, a warning dialog is shown after loading when non-backwards-compatible data was processed with Safe Loading Mode disabled. | Settings/ChaosVDGeneralSettings.h |
|
| bStreamingSystemEnabled | bool | If true, CVD will only load collision geometry that is visible | Settings/ChaosVDGeneralSettings.h |
|
| bTrimEmptyFrames | bool | If true, CVD will only load frames that have solver data in them - Only takes effect before loading a file | Settings/ChaosVDGeneralSettings.h |
|
| bUpdateSceneOutlinerDuringPlayback | bool | If set to true CVD will keep the scene outliner up to date as the recording is played. | Settings/ChaosVDGeneralSettings.h |
|
| DefaultSavePathOverride | FFilePath | Custom path where recordings will be saved from. | Settings/ChaosVDGeneralSettings.h |
|
| MaxConnectionRetries | int32 | How many times CVD will attempt to connect to a live trace or load from file session if the first attempt failed | Settings/ChaosVDGeneralSettings.h |
|
| MaxGameThreadFramesToQueueNum | int32 | How many Game thread frames CVD should queue internally before making them available in the visualization and timeline controls - Only takes effect before loading a file | Settings/ChaosVDGeneralSettings.h |
|
| ParticleExtraDataLoadingMode | EChaosVDParticleExtraDataLoadingMode | Controls how particle extra data is loaded. | Settings/ChaosVDGeneralSettings.h |
|
| StreamingBoxExtentSize | float | Extent size of the box used for calculate what should be streamed in | Settings/ChaosVDGeneralSettings.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GameClientDataTransportMode | UE::TraceBasedDebuggers::ETraceTransportMode | [DEBUG Setting] Default Data Transport for Game Clients - Used to change the transport mode for the trace data. | Settings/ChaosVDGeneralSettings.h |
|
| GameServerDataTransportMode | UE::TraceBasedDebuggers::ETraceTransportMode | [DEBUG Setting] Default Data Transport for Game Servers - Used to change the transport mode for the trace data. | Settings/ChaosVDGeneralSettings.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EChaosVDTransportMode GetTransportModeForTarget
(
EBuildTargetType TargetType |
Settings/ChaosVDGeneralSettings.h | ||
UE::TraceBasedDebuggers::ETraceTransportMode GetTransportModeForTargetType
(
EBuildTargetType TargetType |
Returns the configured transport mode for the provided target type | Settings/ChaosVDGeneralSettings.h | |
void SetTransportModeForTarget
(
EBuildTargetType TargetType, |
Settings/ChaosVDGeneralSettings.h | ||
void SetTransportModeForTargetType
(
EBuildTargetType TargetType, |
Sets a specific transport mode for the provided target type | Settings/ChaosVDGeneralSettings.h |