REFERENCECOMPONENTS
UCFGlassComponent
MODULECrushformINCLUDECFGlassComponent.hPARENTUStaticMeshComponent
A glass pane of a Crushform body: a mesh of the owner that cracks and breaks with the owner's UCFGlassUnitsComponent. It has no collision: shots and thrown things hit the body's collision at the window. A pane attached under another pane is a part of it (the inner sheet of a pair): it hides and cracks with it.
Functions
AUTHORITY · server, every machineLOCAL · this machinePURE · read only
void SetUnit(UCFGlassUnitsComponent* InUnits, int32 InUnitIndex)
C++ ONLY
Binds the pane to its units component and unit index. Called by the units component when it lays the owner's panes out.
FBox GetCrushLinkBox() const
PUREC++ ONLY
CrushLinkBox when it is set and has volume, else an invalid box. This is the box the units component reads.
Properties
TObjectPtr<UCFGlassDefinition> Definition
- Category
- Crushform
FBox CrushLinkBox = FBox(ForceInit)
- Default
- FBox(ForceInit)
- Category
- Crushform