material.data#opacity¶
Summary¶
material.data#opacity gets or sets the stored opacity scalar and marks uniforms dirty on change. The setter stores values without clamping; uniform packing clamps the value to [0, 1].
Syntax¶
Returns¶
The stored opacity value. This getter can return a value outside [0, 1]; uniform packing applies the clamp.