Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

REFERENCESTRUCTS AND ENUMS

FCFDirtValues

MODULECrushformINCLUDECFDirtTypes.h

An amount of each kind of dirt, 0..1 for a coverage.

Functions

AUTHORITY · server, every machineLOCAL · this machinePURE · read only
FVector4f ToVector() const
PUREC++ ONLY

The values as a vector in channel order (X dust, Y mud, Z snow, W wet), the way the atlas texel and the shaders carry them.

FCFDirtValues FromVector(const FVector4f& Values)
C++ ONLY

The values from a vector in channel order (X dust, Y mud, Z snow, W wet).

Properties

float Dust = 0.0f

Amount of dust.

Default
0.0f
Category
Dirt
float Mud = 0.0f

Amount of mud.

Default
0.0f
Category
Dirt
float Snow = 0.0f

Amount of snow.

Default
0.0f
Category
Dirt
float Wet = 0.0f

Amount of wet.

Default
0.0f
Category
Dirt