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

PdefPreset
ExtensionExtension

storing and morphing between presets for Pdefs

Description

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

Class Methods

PdefPreset

.all

the global dict for all PdefPreset instances

.proxyClass

the class to be used with PdefPreset: Pdef.

.new

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.

Instance Methods

.key

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

.getFromProxy

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

Examples