User Tools

Site Tools


DzElementData

DzCustomData implementation that can be associated with an individual DzElement instance.

More...

Inherits :

Inherited By : DzElementPostLoadFileData, legacyikchains_dz, poseriktargetflag_dz, DzSimpleElementData and DzSourceFileData

Methods

DAZ Script
DzElementDataduplicate ( DzElement owner )
DzElementgetOwner ()

Signals

voidaddedToElement ( DzElement owner )
voidelementDeleting ( DzElement formerOwner )
voidremovedFromElement ( DzElement formerOwner )

Detailed Description

Methods


DzElementData : duplicate( DzElement owner )

Parameter(s):

  • owner - The element to duplicate this data item on.

Return Value:

  • A uplicate of the data item that can be added to the given owner (if any), otherwise NULL.

DzElement : getOwner()

Return Value:

  • The element that this data item is associated with (if any), otherwise NULL.

Signals


void : addedToElement( DzElement owner )

Signature:“addedToElement(DzElement*)”

Emitted when the data item is added to an element.

Parameter(s):

  • owner - The data item's new owner.

Since:

  • 4.12.0.72

void : elementDeleting( DzElement formerOwner )

Signature:“elementDeleting(DzElement*)”

Emitted when the data item's owner is deleting, before the data item itself is deleted.

Parameter(s):

  • formerOwner - The data item's former owner that is being deleted.

Attention:

  • Calling functions defined in DzElement or its subclasses on the formerOwner pointer has undefined behavior, as it is in process of being deleted.

Since:

  • 4.12.0.72

void : removedFromElement( DzElement formerOwner )

Signature:“removedFromElement(DzElement*)”

Emitted when the data item is removed from an element.

Parameter(s):

  • formerOwner - The data item's former owner.

Since:

  • 4.12.0.72