⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

RenderSettings.materialVariant

int materialVariant

Description

Specifies which Material variant should be used for rendering. 0 is the normal default material, any others will generally be application-defined by setting up each Material’s Variant with specific shaders. If a Material has no corresponding variant, it will not be drawn.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!