Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

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.

Properties

TObjectPtr<UCFGlassDefinition> Definition
Category
Crushform