Yeah, truffle oils are the vanilla extracts to whole vanilla beans. Surprisingly close. But noticeably far from the real thing.
Sometimes an 'essence' vs. 'extract' distinction is made, but double-checking that prior to commenting it seems that's not reliable, they're also sometimes considered synonyms.
Vanillin is no substitute for actual vanilla. At least in cream for custard or something - things where it's best used anyway - maybe if the thing already tastes 'flavoured' (I sort of know what I mean by that, but have no idea how to write it.. I realise it sounds silly) then there's no difference, like a sponge cake for example.