You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* 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]
28 lines
1022 B
C++
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;
|
|
};
|