
250 Game Development and Simulation with Unreal Technology
culation.
Hardness Percent: This value spec ifies the transition area size.
Inputs
A: This input takes i n the posi tion of th e point to c h e c k.
B: This input takes in th e center of the sphere.
Example Usa ge: You can connect this expression to control the opacity channel
of a material, when the object becomes farther than a certain distance from
the camera, it will fade away and finally disappear (see Figure 4.79).
FIND ON THE WEBSITE
To find updates to this tutorial and upda te d instructions about its implementa-
tion on othe r UE4 versions, p le ase visit the book’s companion Website at: ...