User Tools

Site Tools


DzOpacityManip (deprecated)

An image manipulator that sets the alpha channel of an entire image layer to a specified value. (deprecated).

More...

Inherits :

Properties

DAZ Script
Numberopacity

Constructors

DAZ Script
DzOpacityManip ( Number opacity=1.0 )

Methods

DAZ Script
NumbergetOpacity ()
voidsetOpacity ( Number opacity )

Detailed Description

Deprecated

Exists only to keep code written prior to 4.6.2.23 working. Do not use in new code. Use DzTextureComponent instead.

Properties


Number : opacity

TODO: Add description.

Constructors


DzOpacityManip( Number opacity=1.0 )

Holds the opacity value.

Default Constructor.

Methods


Number : getOpacity()

Return Value:

  • The opacity value for the image.

void : setOpacity( Number opacity )

Sets the opacity for the image.

Parameter(s):

  • opacity - The new opacity value for the image. This should be in the range 0.0 - 1.0.