User Tools

Site Tools


Size

DAZScript wrapper for QSize.

More...

Inherits :

Properties

Constructors

DAZ Script
Size ()
Size ( Size size )
Size ( Number width, Number height )

Methods

DAZ Script
voidtranslate ()

Detailed Description

This is the DAZScript counterpart to the QSize type used in the DAZ Studio SDK. A Size object is a two dimensional representation of a width and height.

Attention:

  • Inheritance will change to Object in a pending update.

Properties


Number : height

Holds the height of the size.


Number : width

Holds the width of the size.

Constructors


Size()

Default constructor.


Size( Size size )

Copy Constructor.

Parameter(s):

  • size - The Size to copy.

Size( Number width, Number height )

Parameter(s):

  • width - The width for the size.
  • height - The height for the size.

Methods


void : translate()

Swaps the width and height of the size.