alpha

Accessor

A value from 0.0 (fully-transparent) to 1.0 (fully-opaque) controlling the transparency of surfaces to which this material is applied; or undefined if this material does not override surface transparency.

get: number | undefined


Setter

A value from 0.0 (fully-transparent) to 1.0 (fully-opaque) controlling the transparency of surfaces to which this material is applied; or undefined if this material does not override surface transparency.

set(alpha: number | undefined): void

Parameter Type Description
alpha number | undefined  

Defined in

Last Updated: 08 January, 2020