How To

Mirror Engine API / SORTMODE_FRONT2BACK
Variable: SORTMODE_FRONT2BACK
const SORTMODE_FRONT2BACK: number = 4
Mesh instances are sorted front to back. Depending on GPU and the scene, this option may give better performance than SORTMODE_MATERIALMESH due to reduced overdraw.