setRenderingOrder method

void setRenderingOrder(
  1. num renderingGroupId, [
  2. num opaqueSortCompareFn(
    1. SubMesh a,
    2. SubMesh b
    ),
  3. num alphaTestSortCompareFn(
    1. SubMesh a,
    2. SubMesh b
    ),
  4. num transparentSortCompareFn(
    1. SubMesh a,
    2. SubMesh b
    ),
])

Implementation

external void setRenderingOrder(num renderingGroupId, [num Function(SubMesh a, SubMesh b) opaqueSortCompareFn, num Function(SubMesh a, SubMesh b) alphaTestSortCompareFn, num Function(SubMesh a, SubMesh b) transparentSortCompareFn]);