Files
ReshadePluginsCore/StyxShardsOFDarkness/SDK/ProceduralMeshComponent_classes.hpp

97 lines
5.7 KiB
C++
Raw Normal View History

2026-03-29 19:41:33 +02:00
#pragma once
/*
* SDK generated by Dumper-7
*
* https://github.com/Encryqed/Dumper-7
*/
// Package: ProceduralMeshComponent
#include "Basic.hpp"
#include "CoreUObject_structs.hpp"
#include "ProceduralMeshComponent_structs.hpp"
#include "Engine_structs.hpp"
#include "Engine_classes.hpp"
namespace SDK
{
// Class ProceduralMeshComponent.ProceduralMeshComponent
// 0x0050 (0x0720 - 0x06D0)
class UProceduralMeshComponent : public UMeshComponent
{
public:
uint8 Pad_6C8[0x8]; // 0x06C8(0x0008)(Fixing Size After Last Property [ Dumper-7 ])
bool bUseComplexAsSimpleCollision; // 0x06D0(0x0001)(Edit, BlueprintVisible, BlueprintReadOnly, ZeroConstructor, IsPlainOldData, NoDestructor, NativeAccessSpecifierPublic)
uint8 Pad_6D1[0x7]; // 0x06D1(0x0007)(Fixing Size After Last Property [ Dumper-7 ])
class UBodySetup* ProcMeshBodySetup; // 0x06D8(0x0008)(ExportObject, ZeroConstructor, InstancedReference, IsPlainOldData, NoDestructor, PersistentInstance, HasGetValueTypeHash, NativeAccessSpecifierPublic)
TArray<struct FProcMeshSection> ProcMeshSections; // 0x06E0(0x0010)(ZeroConstructor, NativeAccessSpecifierPrivate)
TArray<struct FKConvexElem> CollisionConvexElems; // 0x06F0(0x0010)(ZeroConstructor, NativeAccessSpecifierPrivate)
struct FBoxSphereBounds LocalBounds; // 0x0700(0x001C)(ZeroConstructor, IsPlainOldData, NoDestructor, NativeAccessSpecifierPrivate)
uint8 Pad_71C[0x4]; // 0x071C(0x0004)(Fixing Struct Size After Last Property [ Dumper-7 ])
public:
void AddCollisionConvexMesh(const TArray<struct FVector>& ConvexVerts);
void ClearAllMeshSections();
void ClearCollisionConvexMeshes();
void ClearMeshSection(int32 SectionIndex);
void CreateMeshSection(int32 SectionIndex, const TArray<struct FVector>& Vertices, const TArray<int32>& Triangles, const TArray<struct FVector>& Normals, const TArray<struct FVector2D>& UV0, const TArray<struct FColor>& VertexColors, const TArray<struct FProcMeshTangent>& Tangents, bool bCreateCollision);
void CreateMeshSection_LinearColor(int32 SectionIndex, const TArray<struct FVector>& Vertices, const TArray<int32>& Triangles, const TArray<struct FVector>& Normals, const TArray<struct FVector2D>& UV0, const TArray<struct FLinearColor>& VertexColors, const TArray<struct FProcMeshTangent>& Tangents, bool bCreateCollision);
void SetMeshSectionVisible(int32 SectionIndex, bool bNewVisibility);
void UpdateMeshSection(int32 SectionIndex, const TArray<struct FVector>& Vertices, const TArray<struct FVector>& Normals, const TArray<struct FVector2D>& UV0, const TArray<struct FColor>& VertexColors, const TArray<struct FProcMeshTangent>& Tangents);
void UpdateMeshSection_LinearColor(int32 SectionIndex, const TArray<struct FVector>& Vertices, const TArray<struct FVector>& Normals, const TArray<struct FVector2D>& UV0, const TArray<struct FLinearColor>& VertexColors, const TArray<struct FProcMeshTangent>& Tangents);
int32 GetNumSections() const;
bool IsMeshSectionVisible(int32 SectionIndex) const;
public:
static class UClass* StaticClass()
{
STATIC_CLASS_IMPL("ProceduralMeshComponent")
}
static const class FName& StaticName()
{
STATIC_NAME_IMPL(L"ProceduralMeshComponent")
}
static class UProceduralMeshComponent* GetDefaultObj()
{
return GetDefaultObjImpl<UProceduralMeshComponent>();
}
};
DUMPER7_ASSERTS_UProceduralMeshComponent;
// Class ProceduralMeshComponent.KismetProceduralMeshLibrary
// 0x0000 (0x0028 - 0x0028)
class UKismetProceduralMeshLibrary final : public UBlueprintFunctionLibrary
{
public:
static void CalculateTangentsForMesh(const TArray<struct FVector>& Vertices, const TArray<int32>& Triangles, const TArray<struct FVector2D>& UVs, TArray<struct FVector>* Normals, TArray<struct FProcMeshTangent>* Tangents);
static void ConvertQuadToTriangles(TArray<int32>& Triangles, int32 Vert0, int32 Vert1, int32 Vert2, int32 Vert3);
static void CopyProceduralMeshFromStaticMeshComponent(class UStaticMeshComponent* StaticMeshComponent, int32 LODIndex, class UProceduralMeshComponent* ProcMeshComponent, bool bCreateCollision);
static void CreateGridMeshTriangles(int32 NumX, int32 NumY, bool bWinding, TArray<int32>* Triangles);
static void GenerateBoxMesh(const struct FVector& BoxRadius, TArray<struct FVector>* Vertices, TArray<int32>* Triangles, TArray<struct FVector>* Normals, TArray<struct FVector2D>* UVs, TArray<struct FProcMeshTangent>* Tangents);
static void GetSectionFromStaticMesh(class UStaticMesh* InMesh, int32 LODIndex, int32 SectionIndex, TArray<struct FVector>* Vertices, TArray<int32>* Triangles, TArray<struct FVector>* Normals, TArray<struct FVector2D>* UVs, TArray<struct FProcMeshTangent>* Tangents);
static void SliceProceduralMesh(class UProceduralMeshComponent* InProcMesh, const struct FVector& PlanePosition, const struct FVector& PlaneNormal, bool bCreateOtherHalf, class UProceduralMeshComponent** OutOtherHalfProcMesh, EProcMeshSliceCapOption CapOption, class UMaterialInterface* CapMaterial);
public:
static class UClass* StaticClass()
{
STATIC_CLASS_IMPL("KismetProceduralMeshLibrary")
}
static const class FName& StaticName()
{
STATIC_NAME_IMPL(L"KismetProceduralMeshLibrary")
}
static class UKismetProceduralMeshLibrary* GetDefaultObj()
{
return GetDefaultObjImpl<UKismetProceduralMeshLibrary>();
}
};
DUMPER7_ASSERTS_UKismetProceduralMeshLibrary;
}