Contents

scale

The specular value for the entire entity or a multiplier for values sampled from the material’s texture.

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 specular values