EM_Task/UnrealEd/Classes/Commandlets/ListMaterialsUsedWithMeshEmittersCommandlet.h

24 lines
726 B
C
Raw Normal View History

2026-02-13 16:18:33 +08:00
// 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
};