Files
UnrealEngineUWP/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionISMPoolActor.h
cedric caillaud a59a81e2b9 Geometry collection : added support for ISMPools, it only works if an ISMPool actor is assigned to the GC instance
Limitations : Currently this requires the GC to be reset to recompute the list of instanciable meshes and their corresponding indices
Mitigation : this can be turned off using the following cvar : p.Chaos.GC.UseISMPool

#rb brice.criswell, Krzysztof.Narkowicz
#preflight 63519a8af92c325024c32137

[CL 22705192 by cedric caillaud in ue5-main branch]
2022-10-21 19:51:57 -04:00

25 lines
680 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFramework/Actor.h"
#include "GeometryCollectionISMPoolActor.generated.h"
class UGeometryCollectionISMPoolComponent;
UCLASS(ConversionRoot, ComponentWrapperClass)
class GEOMETRYCOLLECTIONENGINE_API AGeometryCollectionISMPoolActor : public AActor
{
GENERATED_UCLASS_BODY()
private:
UPROPERTY(Category = ISMPoolActor, VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
TObjectPtr<class UGeometryCollectionISMPoolComponent> ISMPoolComp;
public:
/** Returns ISMPoolComp subobject **/
UGeometryCollectionISMPoolComponent* GetISMPoolComp() const { return ISMPoolComp; }
};