Z.LayerMode

enum LayerMode { "overlay", "full_3d", "test_3d" }

A setting that alters display behavior on a per-object basis making it possible for layering to be based on the 3D position of objects relative to the camera, in addition to their ordering in the Hierarchy.

For more information see our Render Order article.

Member List

Member Description
overlay The object will appear over all objects earlier in the hierarchy regardless of their 3D positions in the camera.
full_3d The object will appear over objects earlier in the hierarchy except those with full_3d layering that are positioned closer to the camera.
test_3d The object will appear over objects earlier in the hierarchy except those with full_3d layering that are positioned closer to the camera. The difference between this mode and full_3d is that this object will not affect the display of any later full_3d or test_3d objects.
zapcode branded_zapcode i