Files
daniel coelho 74cd9be0a8 GeometryCache: Expose streamer settings to Python so that we can test things during streaming from automated tests.
#jira UE-186747
#rb Anousack.Kitisa
#preflight 646f33fc1417daba1e551b5e

[CL 25618385 by daniel coelho in ue5-main branch]
2023-05-25 06:42:49 -04:00

27 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Engine/DeveloperSettings.h"
#include "GeometryCacheStreamerSettings.generated.h"
/** Settings for the GeometryCache streamer */
UCLASS(config = Engine, meta = (DisplayName = "Geometry Cache"))
class GEOMETRYCACHESTREAMER_API UGeometryCacheStreamerSettings : public UDeveloperSettings
{
GENERATED_BODY()
public:
UGeometryCacheStreamerSettings();
/** The amount of animation (in seconds) to stream ahead of time (per stream) */
UPROPERTY(config, EditAnywhere, BlueprintReadWrite, Category = "Geometry Cache Streamer", meta = (DisplayName = "Look-Ahead Buffer (in seconds)", ClampMin = "0.01", ClampMax = "3600.0"))
float LookAheadBuffer;
/** The maximum total amount of streamed data allowed in memory (for all streams) */
UPROPERTY(config, EditAnywhere, BlueprintReadWrite, Category = "Geometry Cache Streamer", meta = (DisplayName = "Maximum Memory Allowed (in MB)", ClampMin = "1.0", ClampMax = "262144.0"))
float MaxMemoryAllowed;
};