Depth - Z Index

Depth - Z Index
0.0 0


How does cocos2dx support perspective display in games. I want to show objects that appear closer to the screen and some that appear farther. I can see setZOrder property for sprites, will it do the job for me?
In the attached image some cars appear closer while the others appear farther away. This is the effect I am aiming to achieve.

sampleDepth.png (174.3 KB)