User Tools

Site Tools


DzMeshModifier

Base class of all local space modifiers that are scene assets.

More...

Inherits :

Inherited By : DzConditionalGraftModifier and DzLineTessellationModifier

Properties

Methods

Signals

Detailed Description

Attention:

  • This class will eventually be merged with DzModifier.

Since:

  • 4.9.2.1

Properties


DzAuthor : assetAuthor

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


DzVersion : assetFileRevision

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


String : assetId

Holds the asset id for this property.


Date : assetModifiedDate

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


Boolean : assetNeedSave

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

Since:

  • 4.11.0.249

DzUri : assetSource

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


DzUri : assetUri

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

Methods


Boolean : canLoadFromAutoLocation()

Return Value:

  • true if the asset can be automatically loaded based on its location on disk, otherwise false.

Boolean : modifyAsset()

Marks the asset as being modified.

Return Value:

  • true on success, otherwise false.

Boolean : modifyAsset( DzUri newUri )

Marks the asset as being modified.

Parameter(s):

  • newUri - The new file URI for the asset.

Return Value:

  • true on success, otherwise false.

Signals


void : assetModified()

Signature:“assetModified()”

Emitted when this modifier has been modified.


void : assetWasSaved()

Signature:“assetWasSaved()”

Emitted after this modifier has been saved.