Closed lovelle-cardoso closed 1 year ago
I think zIndex
property on Sprite3D
should instead be called renderSortOrder
for two reasons.
Mesh3D
which also uses renderSortOrder
.zIndex
of PixiJS 2D sprite which actually means that something is on top/under something else. In this case (in 3D) it doesn't necessarily mean that something is on top of something else, it just means the order it will be rendered.@jnsmalm K renamed!
Thanks for this update!
The standard pipeline sorts its ProjectionSprites by zIndex, but as far as I can tell, there is no way to set this internal ProjectionSprite zIndex value through Sprite3D.