User Tools

Site Tools


DzImageTexture

Class that handles sharing of data for image maps.

More...

Inherits :

Properties

Constructors

DAZ Script
DzImageTexture ( String filename, Number gamma )
DzImageTexture ( String filename, Number gamma, TextureType textureType )

Signals

Detailed Description

TODO: Add detailed description.

Properties


DzAuthor : assetAuthor

Holds the author of the file for this texture. (Read Only)

Since:

  • 4.8.1.21

DzVersion : assetFileRevision

Holds the revision version of the asset file for this texture. (Read Only)

Since:

  • 4.8.1.21

String : assetId

Holds the asset id for this texture.

Since:

  • 4.8.1.18

Date : assetModifiedDate

Holds the modified date of the asset file for this texture. (Read Only)

Since:

  • 4.8.1.21

Boolean : assetNeedSave

Holds whether or not the asset for this texture needs to be saved. (Read Only)

Since:

  • 4.11.0.249

DzUri : assetSource

Holds the URI of the asset source for this texture; only valid when the asset is in an embedded state - i.e. modified. (Read Only)

Since:

  • 4.8.1.21

DzUri : assetUri

Holds the asset URI for this texture. (Read Only)

Since:

  • 4.8.1.18

Constructors


DzImageTexture( String filename, Number gamma )

Constructor.

Parameter(s):

  • filename - The source file name for this texture.
  • gamma - The gamma to set; gamma ⇐ 0 - do best guess of the image gamma; gamma == 1 - no gamma correction needed; gamma > 0 != 1 - the image is at the specified gamma.

DzImageTexture( String filename, Number gamma, TextureType textureType )

Constructor.

Parameter(s):

  • filename - The source file name for this texture.
  • gamma - The gamma to set; gamma ⇐ 0 - do best guess of the image gamma; gamma == 1 - no gamma correction needed; gamma > 0 != 1 - the image is at the specified gamma.
  • textureType - The texture type of this texture.

Signals


void : assetModified()

Signature:“assetModified()”

Emitted when the image texture has been modified.


void : assetWasSaved()

Signature:“assetWasSaved()”

Emitted after the image texture has been saved.