636 Game Development and Simulation with Unreal Technology
Usage Example: This expression can be used to change the color of a mesh as it
moves across the world, or to apply the same material to different parts of th e
level geometry and have the engine change the color of eac h part according to its
location –i.e., geographically color-coding objects.
OBJECT RADIUS
The Object Radius generates an output value equal to the radius o f a given object
in Unreal units. Scaling is taken into account and the results can be unique for each
individual objec t.
Usage Example: Connecting a network based on this object to the Emissive chan-
nel of a material node will make the mesh on which the material is applied to
brighten up and glow as the mesh gets bigger ...