User Tools

Site Tools


DzScaleManip (deprecated)

An image manipulator that scales an image layer horizontally and/or vertically. (deprecated).

More...

Inherits :

Properties

Constructors

DAZ Script
DzScaleManip ( Number w=1.0, Number h=1.0 )

Methods

DAZ Script
voidsetScale ( Number w, Number h )

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 : heightScale

Holds the scaling of the image across its width.


Number : widthScale

TODO: Add description.

Constructors


DzScaleManip( Number w=1.0, Number h=1.0 )

Holds the scaling of the image across its height.

Default Constructor.

Parameter(s):

  • w - The scaling of the image across its width. 1.0 is equivalent to 100%.
  • h - The scaling of the image across its height. 1.0 is equivalent to 100%.

Methods


void : setScale( Number w, Number h )

Sets the scale for the image.

Parameter(s):

  • w - The scaling of the image across its width. 1.0 is equivalent to 100%.
  • h - The scaling of the image across its height. 1.0 is equivalent to 100%.