EM_Task/UnrealEd/Classes/Commandlets/ListMaterialsUsedWithMeshEmittersCommandlet.h
Boshuang Zhao 5144a49c9b add
2026-02-13 16:18:33 +08:00

24 lines
726 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Commandlets/Commandlet.h"
#include "ListMaterialsUsedWithMeshEmittersCommandlet.generated.h"
class UParticleSystem;
UCLASS()
class UListMaterialsUsedWithMeshEmittersCommandlet: public UCommandlet
{
GENERATED_UCLASS_BODY()
/** Process the given particle system. For mesh emitters, output material paths that don't have bUsedWithParticleSprites flagged.*/
void ProcessParticleSystem(UParticleSystem* ParticleSystem, TArray<FString>& OutMaterials);
//~ Begin UCommandlet Interface
virtual int32 Main(const FString& Params) override;
//~ End UCommandlet Interface
};