Organize some structures and enum

This commit is contained in:
martinluckyrobots 2025-04-08 09:46:48 +08:00
parent 45f1889eaf
commit d28f429762
11 changed files with 42 additions and 1 deletions

View File

@ -604,3 +604,44 @@ public:
{ {
} }
}; };
USTRUCT(BlueprintType)
struct FStretchRobotActuator
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Actuator")
FString Name;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Actuator")
float Min;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Actuator")
float Max;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Actuator")
int32 Index;
};
USTRUCT(BlueprintType)
struct FRandomMaterialTexture
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
TArray<TSoftObjectPtr<UStaticMesh>> Meshs;
UPROPERTY(EditAnywhere, BlueprintReadWrite)
TArray<TSoftObjectPtr<UMaterialInstance>> Materials;
UPROPERTY(EditAnywhere, BlueprintReadWrite)
TArray<TSoftObjectPtr<UTexture>> Textures;
UPROPERTY(EditAnywhere, BlueprintReadWrite)
bool RandomMaterial;
UPROPERTY(EditAnywhere, BlueprintReadWrite)
bool RandomTexture;
};