User Tools

Site Tools


DzImageLayer (deprecated)

A single layer in a multi-layer texture image. (deprecated).

More...

Inherits :

Inherited By : DzImageColorLayer (deprecated) and DzImageFileLayer (deprecated)

Methods

Signals

Detailed Description

Deprecated

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

Methods


DzImageBlend (deprecated) : getBlendMode()

Return Value:

  • The blend mode for this image layer. The layer owns this object.

String : getDescription()

Return Value:

  • A user-readable description of the layer.

DzImageMask (deprecated) : getMask()

Return Value:

  • The mask for this image layer, NULL if the layer is not masked. The layer owns this object.

void : setBlendMode( DzImageBlend (deprecated) mode )

Sets the blending mode for this image layer.

Parameter(s):

  • mode - The new blending mode for the image layer. The layer takes ownership of this object and deletes it when it is no longer used.

void : setMask( DzImageMask (deprecated) mask )

Sets the mask for this image layer.

Parameter(s):

  • mask - A pointer to the new mask for the image layer. The layer takes ownership of this object and deletes it when it is no longer used. To clear the current mask, pass in a NULL pointer.

Signals


void : blendModeChanged( DzImageBlend (deprecated) mode )

Signature:“blendModeChanged(DzImageBlend*)”

Emitted when the blend mode for the layer has been changed.


void : maskChanged( DzImageMask (deprecated) mask )

Signature:“maskChanged(DzImageMask*)”

Emitted when the mask for the layer has been changed.