Contents

opacityThreshold

A threshold below which RealityKit ignores opacity.

Declaration

var opacityThreshold: Float? { get set }

Mentioned in

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

Specifying opacity