VEX ships with hundreds of built-in functions. This VEX function reference focuses on the ones you use inside Attribute Wrangles, so you can remember an argument order without leaving your comp.
Function categories
The reference groups functions by what they do: Math, Vectors, Interpolation, Geometry, Attributes, Noise, Strings, Parameters and Transforms. Each entry shows the signature and a short description of what it returns.
A few you will use constantly
| Function | Signature | What it does |
|---|---|---|
fit | float fit(v, omin, omax, nmin, nmax) | Remap v from one range to another, clamped. |
fit01 | float fit01(v, nmin, nmax) | Remap v from 0..1 into nmin..nmax. |
fit11 | float fit11(v, nmin, nmax) | Remap v from -1..1 (handy after signed noise). |
clamp | T clamp(v, min, max) | Constrain v to a range. |
lerp | T lerp(a, b, t) | Blend a to b by a 0..1 factor. |
See the fit01 example for how these compose in practice.
Reference, not a replacement for the docs
This is the fast, practical layer on top of the official SideFX VEX documentation, not a substitute for it. When you need every overload or the deep detail of a function, the SideFX docs are authoritative; when you just need a reminder mid-wrangle, look here. Combine it with the snippet library to go from a function name to a working example.
Frequently asked questions
What is the difference between fit and fit01?
fit remaps from an explicit input range to a new range; fit01 assumes the input is already 0..1, so you only pass the new min and max.
Does this cover every VEX function?
No. It focuses on the functions artists use in wrangles, grouped by category. For exhaustive detail, use the official SideFX VEX docs.