Skip to content

FracturedStaticMeshComponent

Class in Engine · Engine.FracturedStaticMeshComponent · native

Object › Component › ActorComponent › PrimitiveComponent › MeshComponent › StaticMeshComponent › FracturedBaseComponent › FracturedStaticMeshComponent

Using it from Lua
h7.find_all("FracturedStaticMeshComponent")            -- live instances
h7.find_class("Engine.FracturedStaticMeshComponent")   -- the class
h7.hook("Engine.FracturedStaticMeshComponent.GetBoundaryHiddenFragments", fn)

Structs

FragmentGroup

FieldType
FragmentIndicesarray
bGroupIsRootedbool

Properties

NameTypeNotes
bBottomFragmentsRootNonDestroyablebool
bTopFragmentsRootNonDestroyablebool
bUseSkinnedRenderingboolconst, protected
bUseVisibleVertsForBoundsbool
FragmentBoundsMaxZfloat
FragmentBoundsMinZfloat
FragmentNeighborsVisiblearrayconst, transient, protected
LoseChunkOutsideMaterialOverrideMaterialInterface
SkinnedComponentFracturedSkinnedMeshComponenttransient
TopBottomFragmentDistThresholdfloat
VisibleBoxBoxconst, protected

Functions

NameDeclaration
GetBoundaryHiddenFragmentsfinal native function array GetBoundaryHiddenFragments(array AdditionalVisibleFragments)
GetCoreFragmentIndexfinal native function int GetCoreFragmentIndex()
GetFracturedMeshPhysMaterialfinal native function PhysicalMaterial GetFracturedMeshPhysMaterial()
GetFragmentAverageExteriorNormalfinal native function vector GetFragmentAverageExteriorNormal(int FragmentIndex)
GetFragmentBoxfinal native function box GetFragmentBox(int FragmentIndex)
GetFragmentGroupsfinal native function array<FragmentGroup> GetFragmentGroups(array IgnoreFragments, float MinConnectionArea)
IsFragmentDestroyablefinal native function bool IsFragmentDestroyable(INT FragmentIndex)
IsNoPhysFragmentfinal native function bool IsNoPhysFragment(INT FragmentIndex)
IsRootFragmentfinal native function bool IsRootFragment(INT FragmentIndex)
RecreatePhysStatefinal native function RecreatePhysState()
SetVisibleFragmentsfinal native function SetVisibleFragments(array VisibilityFactors)

Default values

OverriddenLightMapResolution=64
OverriddenLightMapRes=64
TopBottomFragmentDistThreshold=0.1
bUsePrecomputedShadows=TRUE

Inherited

FromMembers
FracturedBaseComponent10 properties, 5 functions
StaticMeshComponent23 properties, 4 functions
MeshComponent1 properties, 6 functions
PrimitiveComponent107 properties, 46 functions
ActorComponent7 properties, 4 functions
Component2 properties, 0 functions
Object13 properties, 308 functions