The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:FracturedStaticMeshComponent (UDK)
Object >> Component >> ActorComponent >> PrimitiveComponent >> MeshComponent >> StaticMeshComponent >> FracturedBaseComponent >> FracturedStaticMeshComponent |
- Package:
- Engine
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Properties[edit]
Property group 'FracturedStaticMeshComponent'[edit]
bBottomFragmentsRootNonDestroyable[edit]
Type: bool
Allows per-instance override of chunk support/destroyable flags. Marks chunks at bottom of mesh as 'root' and 'non destroyable'.
bTopFragmentsRootNonDestroyable[edit]
Type: bool
Allows per-instance override of chunk support/destroyable flags. Marks chunks at top of mesh as 'root' and 'non destroyable'.
LoseChunkOutsideMaterialOverride[edit]
Type: MaterialInterface
Allows overriding the LoseChunkOutsideMaterial on a per-instance basis.
TopBottomFragmentDistThreshold[edit]
Type: float
Threshold distance of fragment box from top/bottom of mesh to be considered for bTop/BottomFragmentsRootNonDestroyable
Default value: 0.1
Internal variables[edit]
bUseSkinnedRendering[edit]
Type: bool
Modifiers: protected, const
If true, all fragment visibility and transform information will be forwarded to SkinnedComponent, which will handle rendering.
bUseVisibleVertsForBounds[edit]
Type: bool
If true, the only thing considered when calculating the bounds of this component are the graphics verts current visible. Using this and having simplified collision will cause unpredictable results.
FragmentBoundsMaxZ[edit]
Type: float
Z value of top of fractured piece bounds.
FragmentBoundsMinZ[edit]
Type: float
Z value of bottom of fractured piece bounds.
FragmentNeighborsVisible[edit]
Modifiers: protected, transient, const
Stores non-zero for each fragment whose neighbors are all visible, and 0 otherwise.
SkinnedComponent[edit]
Type: FracturedSkinnedMeshComponent
Modifiers: transient
Component which handles rendering if bUseSkinnedRendering is true.
VisibleBox[edit]
Type: Object.Box
Modifiers: protected, const
Local space bounding box of visible fragments, updated on attach.
Default values[edit]
Property | Value |
---|---|
bUsePrecomputedShadows | True |
OverriddenLightMapResolution | 64 |
Structs[edit]
FragmentGroup[edit]
Modifiers: native
Native functions[edit]
GetBoundaryHiddenFragments[edit]
Return set of fragments that are hidden, but who have at least one visible neighbour.
Parameters:
- AdditionalVisibleFragments - Additional fragments to consider 'visible' when finding fragments. Will not end up in resulting array.
GetCoreFragmentIndex[edit]
Gets the index that is the 'core' of this mesh.
GetFracturedMeshPhysMaterial[edit]
Util for getting the PhysicalMaterial applied to this mesh
GetFragmentAverageExteriorNormal[edit]
Returns average exterior normal of a particular chunk.
GetFragmentBox[edit]
Get the bounding box of a specific chunk, in world space.
GetFragmentGroups[edit]
Based on the hidden state of chunks, groups which are connected.
Parameters:
- IgnoreFragments - Additional fragments to ignore when finding islands. These will not end up in any groups.
IsFragmentDestroyable[edit]
Returns if this fragment is destroyable.
IsNoPhysFragment[edit]
Returns if this fragment should never spawn a physics object.
IsRootFragment[edit]
Returns if this is a supporting 'root' fragment.
RecreatePhysState[edit]
Re-create physics state - needed if hiding parts would change physics collision of the object.
SetVisibleFragments[edit]
Change the set of visible fragments.