Layer

class wwt_data_formats.layers.Layer(**kwargs)[source]

Bases: wwt_data_formats.LockedXmlTraits

Generic parent class for serializable WWT layers.

Attributes Summary

id

A UUID-format randomized identifier for this layer collection.

layer_type

A textual representation of this layer’s type.

name

A user-facing name for this layer.

opacity

A float trait.

reference_frame

The name of the reference frame relative to which this layer is positioned.

Attributes Documentation

id

A UUID-format randomized identifier for this layer collection.

Data files associated with this layer collection that come in the WWTL cabinet file will be placed in a subdirectory whose name is this ID.

layer_type

A textual representation of this layer’s type.

name

A user-facing name for this layer.

opacity

A float trait.

reference_frame

The name of the reference frame relative to which this layer is positioned.