
Materials in Unreal Engine 265
Object Bounds: This expression outputs the size of the o bject in each axis.
Example Usa ge: You can u se the X, Y, an d Z values of this expression as the R,
G, and B c olors of an object to change its color based on its size and shape.
Reflection Vector: This expression outputs a three-channel vector value represent-
ing the direction of the reflec tion with respect to the surface.
Example Usa ge: Much like Camera Vector, the Reflection Vector is often
used to fake environment maps by connec ting the Camera Vector to a
Component Mask a nd use the x and y channels of the Reflection Vect or
as texture coordinates.
4.7 SUMMARY ...