Home Reference VEX VEX functions 

depthname vex function

Context: cop

Tags: output_plane

Returns the default name of the depth plane (as it appears in the compositor preferences).

  1. string depthname()

Returns the default name of the depth plane (as it appears in the compositor preferences). Using this instead of hardcoding the default makes your code more portable. Default is “Z”.