This short tutorial covers how to use the Ai User Data Float shader.

The Maya scene can be downloaded here.