Skip to content
CRUSHFORMV1.1.0
GET IT ON FAB

REFERENCESTRUCTS AND ENUMS

FCFDirtRates

MODULECrushformINCLUDECFSurfaces.h

What one surface does to a body driven over it, in fractions of full cover per second at the reference speed: what it gives of each dirt channel and what of each channel it takes off the body.

Functions

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

What the surface gives, as a vector in channel order: dust, mud, snow, wet.

FVector4f GetShed() const
PUREC++ ONLY

What the surface takes off, as a vector in channel order: dust, mud, snow, wet.

Properties

float Dust = 0.0f

Dry dust settling on the lower body.

Default
0.0f
Category
Dirt
float Mud = 0.0f

Wet mud splashed into the arches and behind the wheels.

Default
0.0f
Category
Dirt
float Snow = 0.0f

Snow thrown up from the surface.

Default
0.0f
Category
Dirt
float Wet = 0.0f

Water spray from a wet surface.

Default
0.0f
Category
Dirt
float DustShed = 0.0f

Dust falling off the whole body.

Default
0.0f
Category
Dirt
float MudShed = 0.0f

Mud falling off the whole body.

Default
0.0f
Category
Dirt
float SnowShed = 0.0f

Snow falling off the whole body.

Default
0.0f
Category
Dirt
float WetShed = 0.0f

Wetness drying off the whole body.

Default
0.0f
Category
Dirt