---@meta

---@class ADynamicMeshActor : AActor
---@field DynamicMeshComponent UDynamicMeshComponent
---@field bEnableComputeMeshPool boolean
---@field DynamicMeshPool UDynamicMeshPool
local ADynamicMeshActor = {}

---@param Mesh UDynamicMesh
---@return boolean
function ADynamicMeshActor:ReleaseComputeMesh(Mesh) end
function ADynamicMeshActor:ReleaseAllComputeMeshes() end
---@return UDynamicMeshComponent
function ADynamicMeshActor:GetDynamicMeshComponent() end
---@return UDynamicMeshPool
function ADynamicMeshActor:GetComputeMeshPool() end
function ADynamicMeshActor:FreeAllComputeMeshes() end
---@return UDynamicMesh
function ADynamicMeshActor:AllocateComputeMesh() end


---@class FDynamicMeshChangeInfo
---@field Type EDynamicMeshChangeType
---@field Flags EDynamicMeshAttributeChangeFlags
---@field bIsRevertChange boolean
local FDynamicMeshChangeInfo = {}



---@class IMeshCommandChangeTarget : IInterface
local IMeshCommandChangeTarget = {}


---@class IMeshReplacementCommandChangeTarget : IInterface
local IMeshReplacementCommandChangeTarget = {}


---@class IMeshVertexCommandChangeTarget : IInterface
local IMeshVertexCommandChangeTarget = {}


---@class UBaseDynamicMeshComponent : UMeshComponent
---@field bExplicitShowWireframe boolean
---@field WireframeColor FLinearColor
---@field ColorMode EDynamicMeshComponentColorOverrideMode
---@field ConstantColor FColor
---@field ColorSpaceMode EDynamicMeshVertexColorTransformMode
---@field bEnableFlatShading boolean
---@field bEnableViewModeOverrides boolean
---@field OverrideRenderMaterial UMaterialInterface
---@field SecondaryRenderMaterial UMaterialInterface
---@field WireframeMaterialOverride UMaterialInterface
---@field SecondaryWireframeMaterialOverride UMaterialInterface
---@field bEnableRayTracing boolean
---@field DrawPath EDynamicMeshDrawPath
---@field DistanceFieldMode EDynamicMeshComponentDistanceFieldMode
---@field BaseMaterials TArray<UMaterialInterface>
local UBaseDynamicMeshComponent = {}

---@param bEnabled boolean
function UBaseDynamicMeshComponent:SetViewModeOverridesEnabled(bEnabled) end
---@param NewMode EDynamicMeshVertexColorTransformMode
function UBaseDynamicMeshComponent:SetVertexColorSpaceTransformMode(NewMode) end
---@param bEnabled boolean
function UBaseDynamicMeshComponent:SetShadowsEnabled(bEnabled) end
---@param Material UMaterialInterface
function UBaseDynamicMeshComponent:SetSecondaryRenderMaterial(Material) end
---@param bSetVisible boolean
function UBaseDynamicMeshComponent:SetSecondaryBuffersVisibility(bSetVisible) end
---@param Material UMaterialInterface
function UBaseDynamicMeshComponent:SetOverrideWireframeRenderMaterial(Material) end
---@param Material UMaterialInterface
function UBaseDynamicMeshComponent:SetOverrideSecondaryWireframeRenderMaterial(Material) end
---@param Material UMaterialInterface
function UBaseDynamicMeshComponent:SetOverrideRenderMaterial(Material) end
---@param NewDrawPath EDynamicMeshDrawPath
function UBaseDynamicMeshComponent:SetMeshDrawPath(NewDrawPath) end
---@param bEnable boolean
function UBaseDynamicMeshComponent:SetEnableWireframeRenderPass(bEnable) end
---@param bSetEnabled boolean
function UBaseDynamicMeshComponent:SetEnableRaytracing(bSetEnabled) end
---@param bEnable boolean
function UBaseDynamicMeshComponent:SetEnableFlatShading(bEnable) end
---@param NewDistFieldMode EDynamicMeshComponentDistanceFieldMode
function UBaseDynamicMeshComponent:SetDistanceFieldMode(NewDistFieldMode) end
---@param NewColor FColor
function UBaseDynamicMeshComponent:SetConstantOverrideColor(NewColor) end
---@param NewMode EDynamicMeshComponentColorOverrideMode
function UBaseDynamicMeshComponent:SetColorOverrideMode(NewMode) end
---@param K int32
---@return boolean
function UBaseDynamicMeshComponent:HasOverrideRenderMaterial(K) end
---@return boolean
function UBaseDynamicMeshComponent:GetViewModeOverridesEnabled() end
---@return EDynamicMeshVertexColorTransformMode
function UBaseDynamicMeshComponent:GetVertexColorSpaceTransformMode() end
---@return boolean
function UBaseDynamicMeshComponent:GetShadowsEnabled() end
---@return UMaterialInterface
function UBaseDynamicMeshComponent:GetSecondaryRenderMaterial() end
---@return boolean
function UBaseDynamicMeshComponent:GetSecondaryBuffersVisibility() end
---@return UMaterialInterface
function UBaseDynamicMeshComponent:GetOverrideWireframeRenderMaterial() end
---@return UMaterialInterface
function UBaseDynamicMeshComponent:GetOverrideSecondaryWireframeRenderMaterial() end
---@param MaterialIndex int32
---@return UMaterialInterface
function UBaseDynamicMeshComponent:GetOverrideRenderMaterial(MaterialIndex) end
---@return EDynamicMeshDrawPath
function UBaseDynamicMeshComponent:GetMeshDrawPath() end
---@return boolean
function UBaseDynamicMeshComponent:GetFlatShadingEnabled() end
---@return boolean
function UBaseDynamicMeshComponent:GetEnableWireframeRenderPass() end
---@return boolean
function UBaseDynamicMeshComponent:GetEnableRaytracing() end
---@return UDynamicMesh
function UBaseDynamicMeshComponent:GetDynamicMesh() end
---@return EDynamicMeshComponentDistanceFieldMode
function UBaseDynamicMeshComponent:GetDistanceFieldMode() end
---@return FColor
function UBaseDynamicMeshComponent:GetConstantOverrideColor() end
---@return EDynamicMeshComponentColorOverrideMode
function UBaseDynamicMeshComponent:GetColorOverrideMode() end
function UBaseDynamicMeshComponent:ClearSecondaryRenderMaterial() end
function UBaseDynamicMeshComponent:ClearOverrideWireframeRenderMaterial() end
function UBaseDynamicMeshComponent:ClearOverrideSecondaryWireframeRenderMaterial() end
function UBaseDynamicMeshComponent:ClearOverrideRenderMaterial() end


---@class UDynamicMesh : UObject
---@field MeshModifiedBPEvent FDynamicMeshMeshModifiedBPEvent
---@field MeshGenerator UDynamicMeshGenerator
---@field bEnableMeshGenerator boolean
local UDynamicMesh = {}

---@return UDynamicMesh
function UDynamicMesh:ResetToCube() end
---@return UDynamicMesh
function UDynamicMesh:Reset() end
---@return boolean
function UDynamicMesh:IsEmpty() end
---@return int32
function UDynamicMesh:GetTriangleCount() end


---@class UDynamicMeshComponent : UBaseDynamicMeshComponent
---@field MeshObject UDynamicMesh
---@field bAllowsGeometrySelection boolean
---@field TangentsType EDynamicMeshComponentTangentsMode
---@field CollisionType ECollisionTraceFlag
---@field bUseAsyncCooking boolean
---@field bEnableComplexCollision boolean
---@field bDeferCollisionUpdates boolean
---@field bDisableMeshUVHitResults boolean
---@field MeshBodySetup UBodySetup
---@field AggGeom FKAggregateGeom
---@field AsyncBodySetupQueue TArray<UBodySetup>
local UDynamicMeshComponent = {}

---@param bCreateIfMissing boolean
---@param bDeleteExtraSlots boolean
---@return boolean
function UDynamicMeshComponent:ValidateMaterialSlots(bCreateIfMissing, bDeleteExtraSlots) end
---@param bOnlyIfPending boolean
function UDynamicMeshComponent:UpdateCollision(bOnlyIfPending) end
---@param NewTangentsType EDynamicMeshComponentTangentsMode
function UDynamicMeshComponent:SetTangentsType(NewTangentsType) end
---@param NewMesh UDynamicMesh
function UDynamicMeshComponent:SetDynamicMesh(NewMesh) end
---@param bEnabled boolean
---@param bImmediateUpdate boolean
function UDynamicMeshComponent:SetDeferredCollisionUpdatesEnabled(bEnabled, bImmediateUpdate) end
---@param bEnabled boolean
---@param bImmediateUpdate boolean
function UDynamicMeshComponent:SetComplexAsSimpleCollisionEnabled(bEnabled, bImmediateUpdate) end
---@param bInAllowsGeometrySelection boolean
function UDynamicMeshComponent:SetAllowsGeometrySelection(bInAllowsGeometrySelection) end
---@param bPositions boolean
---@param bNormals boolean
---@param bUVs boolean
---@param bColors boolean
function UDynamicMeshComponent:NotifyMeshVertexAttributesModified(bPositions, bNormals, bUVs, bColors) end
function UDynamicMeshComponent:NotifyMeshModified() end
---@return EDynamicMeshComponentTangentsMode
function UDynamicMeshComponent:GetTangentsTypePure() end
---@return EDynamicMeshComponentTangentsMode
function UDynamicMeshComponent:GetTangentsType() end
function UDynamicMeshComponent:EnableComplexAsSimpleCollision() end
---@param NewMaterialSet TArray<UMaterialInterface>
---@param bDeleteExtraSlots boolean
function UDynamicMeshComponent:ConfigureMaterialSet(NewMaterialSet, bDeleteExtraSlots) end
---@return boolean
function UDynamicMeshComponent:AllowsGeometrySelection() end


---@class UDynamicMeshGenerator : UObject
local UDynamicMeshGenerator = {}


---@class UDynamicMeshPool : UObject
---@field CachedMeshes TArray<UDynamicMesh>
---@field AllCreatedMeshes TArray<UDynamicMesh>
local UDynamicMeshPool = {}

---@param Mesh UDynamicMesh
function UDynamicMeshPool:ReturnMesh(Mesh) end
function UDynamicMeshPool:ReturnAllMeshes() end
---@return UDynamicMesh
function UDynamicMeshPool:RequestMesh() end
function UDynamicMeshPool:FreeAllMeshes() end


---@class UDynamicMeshProcessorBlueprint : UObject
local UDynamicMeshProcessorBlueprint = {}

---@param TargetMesh UDynamicMesh
---@param bFailed boolean
function UDynamicMeshProcessorBlueprint:ProcessDynamicMesh(TargetMesh, bFailed) end


