Optimization Help Volume(C++ modification)
Unreal Engine 4 has a lot of features to help you optimize. But some features may be needed to optimize a specific area. In this post, let's create a volume that calculates the sum of the vertices of the Actor contained in itself. Maybe it will help to optimize the building or grassland area. Implementation C ++ code work is required. OptimizationHelpVolume.h // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Volume.h" #include "OptimizationHelpVolume.generated.h" /** * Shows information related to optimization of all actors in the volume. */ UCLASS() class TEST01_API AOptimizationHelpVolume : public AVolume { GENERATED_UCLASS_BODY() public: UPROPERTY(VisibleInstanceOnly, Category = "Optimization" , Transient) int TotalVertexCount; protected: virtual void PostEditMove ( bool bFinished); virtua...