Material Function World Displacement

Hey
I cant find a way for World Displacement to work in a Material Function. Little help please.

http://prntscr.com/o7t7j8

Thanks