Skip to content

TransparencySort

The algorithm used to sort transparent faces when rendering.

Higher quality produces more accurate overlap but takes more time to compute.

let model = await SketchUpApi.getActiveModel();
await model.updateRenderingOptions({
TransparencySort:
SketchUpApi.TransparencySort.Nicer,
});

Faster: 0

Fast sorting — may produce artifacts with overlapping transparent faces.


Medium: 1

A balance between speed and accuracy.


Nicer: 2

Highest quality sorting — most accurate, but slowest.