void SetLayerDepth(float layer)/ETHEntity

Sets the layer depth for the entity. If the entity type is not layerable, SetLayerDepth will automatically convert the entity into a entity.

The layer depth is used to apply z-sorting on layerable entities. More about entity types.

layerable