NdefPreset:
Filter:
JITLibExtensions/Classes (extension) | Undocumented classes

NdefPreset
ExtensionExtension

storing and morphing between presets for Ndefs

Description

Like ProxyPreset, NdefPreset stores settings and can morph between them.

Class Methods

.all

the global dict for all NdefPreset instances

.proxyClass

the class to be used with NdefPreset: Ndef.

.new

access an existing NdefPreset or make a new one for a Ndef.

Arguments:

key

If key is key of an existing NdefPreset, then that is accessed. If key is a Ndef, then a net NdefPreset with that Ndef's key will be created.

namesToStore

which paramNames to store in the presets. if none given, inferred from the current proxy settings.

settings

provide preset settings for the proxy

specs

provide preset specs for the proxy, mainly for randomizing and morphing. if none given here, and object has a halo of specs, those in halo will be used.

morphFuncs

special functions to provide for morphing between non-numerical settings. not used yet.

Instance Methods

.key

the key under which the NdefPreset is stored in NdefPreset.all

.getFromProxy

get current values for namesToStore from proxy, except those given in <except>

Examples