PdefPreset:
Filter:
Classes (extension) | Undocumented classes

PdefPreset : ProxyPreset : Object
ExtensionExtension

storing and morphing between presets for Pdefs

Description

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

Class Methods

PdefPreset

PdefPreset.all

the global dict for all PdefPreset instances

PdefPreset.proxyClass

the class to be used with PdefPreset: Pdef.

PdefPreset.new(key, namesToStore, settings, specs, morphFuncs)

access an existing PdefPreset or make a new one for a Pdef.

Arguments:

key

If key is key of an existing PdefPreset, then that is accessed. If key is a Pdef, then a net PdefPreset with that Pdef'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.

Inherited class methods

Instance Methods

.key

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

.getFromProxy(except)

From superclass: ProxyPreset

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

Inherited instance methods

Examples