Contents

triangleFillMode

The object that controls how RealityKit draws triangles.

Declaration

var triangleFillMode: PortalMaterial.TriangleFillMode { get set }

Discussion

A value of MaterialParameterTypes.TriangleFillMode.fill causes RealityKit to draw triangles normally, while a value of MaterialParameterTypes.TriangleFillMode.lines turns on wireframe rendering.