layerOrderOf
此内容尚不支持你的语言。
layerOrderOf(
layer,ySortMask,depthMask):LayerOrder
Defined in: render/layerOrder.ts:32
The one answer for
Parameters
Section titled “Parameters”number
ySortMask
Section titled “ySortMask”number
depthMask
Section titled “depthMask”number
Returns
Section titled “Returns”layer, from two masks that are two spellings of the same question. Y-sort is a depth PROJECTED from world Y and depth is the real thing, so a layer declaring both has said two contradictory things: y-sort wins, which is what the engine does, so a project that had it renders as it did. Layers outside 0..31 have no bit and are therefore painter-ordered.