Contents

order

An integer value that represents when the renderer draws the model relative to other the models in its group.

Declaration

var order: Int32 { get set }

Discussion

The renderer draws models in ascending order, starting with the components with the smallest value. You can tell the renderer that it only needs to order entities by their depths by setting the component’s order property to the sam value for those entities.