Skip to content

VfxDistanceBasedTransparencyParams

14.10

Class Documentation

Edit documentation

A distance-keyed alpha ramp for a whole particle system, attached to VfxSystemDefinitionData through its DistanceBasedTransparencyParams property. The four values describe a fade between two distances: AlphaAtClosestDistance applies at and inside ClosestDistance, AlphaAtFarthestDistance at and beyond FarthestDistance.

Typically authored on large ground-plane ability indicators, which cover a big part of the screen.

Properties

AlphaAtClosestDistance

F32 = 1
Edit documentation

Alpha multiplier used at and inside ClosestDistance, where 1 is fully opaque.

AlphaAtFarthestDistance

F32 = 0.10000000149011612
Edit documentation

Alpha multiplier used at and beyond FarthestDistance.

FarthestDistance

F32 = 3.4028234663852886e+38
Edit documentation

Far end of the ramp, in world units. Distances beyond it are treated the same as this one.

Referenced by 1 class · 1 property