Contents

opacityThreshold

A threshold below which RealityKit ignores opacity.

Declaration

var opacityThreshold: Float? { get set }

Discussion

When opacityThreshold is set, RealityKit discards pixels with opacity values less than the opacityThreshold, and renders opacity values greater than or equal to opacityThreshold fully opaque.

See Also

Controlling opacity