You've already forked LuckyWorld
Organize some structures and enum
This commit is contained in:
@ -603,4 +603,45 @@ public:
|
||||
, Transform(FTransform::Identity)
|
||||
{
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user