Contents

scale

The amount of opacity specified as a single value.

Declaration

var scale: Float

Discussion

If texture is nil, RealityKit uses this value for the opacity of the entire material. If texture isn’t nil, RealityKit multiplies the value sampled from texture by this property to calculate the final opacity values.

See Also

Accessing opacity data