Files
UnrealEngineUWP/Engine/Plugins/Experimental/GeometryCache/Source/GeometryCacheStreamer/Public/GeometryCacheStreamerSettings.h
anousack kitisa aa29f23b38 Streaming GeometryCache:
* Implemented memory limits in streaming GeometryCache from Alembic. There are two settings available under Project Settings > Plugins > Geometry Cache to control the look-ahead buffer and the overall memory limit for all streams.

#jira UETOOL-3881

#rb Johan.Duparc

#preflight 619c0abe3a72199267381885

#ROBOMERGE-AUTHOR: anousack.kitisa
#ROBOMERGE-SOURCE: CL 18269585 in //UE5/Release-5.0/... via CL 18269600
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18269614 by anousack kitisa in ue5-release-engine-test branch]
2021-11-23 09:27:18 -05:00

28 lines
1022 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Engine/DeveloperSettings.h"
#include "UObject/ObjectMacros.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, 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, Category = "Geometry Cache Streamer", meta = (DisplayName = "Maximum Memory Allowed (in MB)", ClampMin = "1.0", ClampMax = "262144.0"))
float MaxMemoryAllowed;
};