User Tools

Site Tools


DzSimpleSceneData

A DzSceneData implementation that allows arbitrary data to be associated with the scene.

More...

Inherits :

Inherited By : DzSimpleSceneScriptData

Constructors

DAZ Script
DzSimpleSceneData ( String name, Boolean persistent=false )

Methods

DAZ Script
DzSettingsgetSettings ()

Detailed Description

Implements a custom data item that allows arbitrary data to be associated with the scene.

See Also:

Constructors


DzSimpleSceneData( String name, Boolean persistent=false )

Default constructor.

Parameter(s):

  • name - The name for this data item. This must be unique for all data items on the scene - a scene cannot have two data items with the same name.
  • persistent - If true, this data item will be saved with the scene. If false (default), this data item will not be saved.

Attention:

  • It is the developer's responsibility to manage the lifetime of this object. This can be accomplished most easily by adding it to the list of data items owned by the scene.

See Also:

Methods


DzSettings : getSettings()

Return Value:

  • The settings owned by this scene data item.