set_opacity


Description:

public void set_opacity (uint8 opacity)

Sets the actor's opacity, with zero being completely transparent and 255 (0xff) being fully opaque.

The opacity property is animatable.

Parameters:

this

A Actor

opacity

New opacity value for the actor.